oss_active_record 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oss_active_record.rb +2 -0
- data/lib/oss_active_record/index_instance.rb +90 -0
- data/lib/oss_active_record/search_request.rb +7 -7
- data/lib/oss_active_record/searchable.rb +26 -90
- data/lib/oss_active_record/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1962 -0
- data/test/dummy/test/models/article_test.rb +0 -1
- metadata +4 -5
- data/test/e +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7a0eaf7be8e2cdaaa3e0b20652d69630863a2d8
|
4
|
+
data.tar.gz: ba5d1f0720d7549287ac1e00edfecd1806167964
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88cf52b5f1b8a234add4c11dc49fc82ac8b5acbf4b87130a5911eeee5570b8af3150b062c83c539b3d4dac92f0adf93cc7e4107dce395fe301f6e24aac91315a
|
7
|
+
data.tar.gz: a403921d33618ce236bf684dd421890c9854da9302d2948c67f18e176c55b6c41343347a9b8f283ad5b56fcca148df58e23da461ad80eab712ec74b33673a681
|
data/lib/oss_active_record.rb
CHANGED
@@ -0,0 +1,90 @@
|
|
1
|
+
module OssActiveRecord
|
2
|
+
class IndexInstance
|
3
|
+
|
4
|
+
@@_analyzers = {
|
5
|
+
:text => 'StandardAnalyzer',
|
6
|
+
:integer => 'IntegerAnalyzer',
|
7
|
+
:decimal => 'DecimalAnalyzer'}
|
8
|
+
|
9
|
+
def initialize(index_name)
|
10
|
+
@_index_name ||= index_name
|
11
|
+
@_fields= []
|
12
|
+
@_field_id = nil
|
13
|
+
@_text_fields = {}
|
14
|
+
@_sortable_fields = {}
|
15
|
+
@_all_fields = {}
|
16
|
+
@_index = nil
|
17
|
+
end
|
18
|
+
|
19
|
+
def text_fields
|
20
|
+
@_text_fields
|
21
|
+
end
|
22
|
+
|
23
|
+
def fields
|
24
|
+
@_fields
|
25
|
+
end
|
26
|
+
|
27
|
+
def field_id
|
28
|
+
@_field_id
|
29
|
+
end
|
30
|
+
|
31
|
+
def oss_index
|
32
|
+
if @_index.nil?
|
33
|
+
@_index = Oss::Index.new(@_index_name,
|
34
|
+
Rails.configuration.open_search_server_url,
|
35
|
+
Rails.configuration.open_search_server_login,
|
36
|
+
Rails.configuration.open_search_server_apikey)
|
37
|
+
create_schema!
|
38
|
+
end
|
39
|
+
@_index
|
40
|
+
end
|
41
|
+
|
42
|
+
def find_sortable_name(field_name)
|
43
|
+
field_name == :score ? 'score' : @_sortable_fields[field_name] unless field_name.nil?
|
44
|
+
end
|
45
|
+
|
46
|
+
def find_field_name(field_name)
|
47
|
+
@_all_fields[field_name] unless field_name.nil?
|
48
|
+
end
|
49
|
+
|
50
|
+
def add_field(name, type, block=nil)
|
51
|
+
@_fields<<{:name => name, :type => type,:block => block}
|
52
|
+
end
|
53
|
+
|
54
|
+
def create_schema!
|
55
|
+
@_index.create('EMPTY_INDEX') unless @_index.list.include? @_index_name
|
56
|
+
@_field_id = @_fields.detect {|f| f[:name] == :id }
|
57
|
+
@_field_id = {:name => 'id', :type => 'integer',:block => nil} if @_field_id.nil?
|
58
|
+
@_fields << @_field_id
|
59
|
+
@_fields.each do |field|
|
60
|
+
create_schema_field!(field)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
def create_schema_field!(field)
|
65
|
+
analyzer = @@_analyzers[field[:type]] if field[:name] != :id
|
66
|
+
termVectors = { :text => 'POSITIONS_OFFSETS'}
|
67
|
+
termVector = termVectors[field[:type]] || 'NO'
|
68
|
+
name = "#{field[:name]}|#{field[:type]}"
|
69
|
+
params = {
|
70
|
+
'name' => name,
|
71
|
+
'analyzer' => analyzer,
|
72
|
+
'stored' => 'NO',
|
73
|
+
'indexed' => 'YES',
|
74
|
+
'termVector' => termVector
|
75
|
+
}
|
76
|
+
@_text_fields[field[:name]] = name if field[:type] == :text
|
77
|
+
@_sortable_fields[field[:name]] = name unless field[:type] == :text
|
78
|
+
@_all_fields[field[:name]] = name
|
79
|
+
@_index.set_field(params)
|
80
|
+
@_index.set_field_default_unique(name, name) if field[:name] == :id
|
81
|
+
end
|
82
|
+
|
83
|
+
def index(docs)
|
84
|
+
@_index.documents << docs
|
85
|
+
@_index.index!
|
86
|
+
end
|
87
|
+
|
88
|
+
end
|
89
|
+
|
90
|
+
end
|
@@ -1,9 +1,9 @@
|
|
1
1
|
module OssActiveRecord
|
2
2
|
class SearchRequest
|
3
|
-
def initialize(
|
3
|
+
def initialize(index_instance)
|
4
4
|
@params = {'start' => 0, 'rows' => 10}
|
5
5
|
@filters = []
|
6
|
-
@
|
6
|
+
@index_instance = index_instance
|
7
7
|
@order_by = {}
|
8
8
|
end
|
9
9
|
|
@@ -16,12 +16,12 @@ module OssActiveRecord
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def with(field, value)
|
19
|
-
index_field = @
|
19
|
+
index_field = @index_instance.find_field_name(field)
|
20
20
|
filter index_field, value, false unless index_field.nil?
|
21
21
|
end
|
22
22
|
|
23
23
|
def without(field, value)
|
24
|
-
index_field = @
|
24
|
+
index_field = @index_instance.find_field_name(field)
|
25
25
|
filter index_field, value, true unless index_field.nil?
|
26
26
|
end
|
27
27
|
|
@@ -37,7 +37,7 @@ module OssActiveRecord
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def order_by(field = nil, direction = :asc)
|
40
|
-
index_field = field == :score ? 'score' :@
|
40
|
+
index_field = field == :score ? 'score' :@index_instance.find_sortable_name(field)
|
41
41
|
@order_by[index_field] = direction.to_s.upcase unless index_field.nil?
|
42
42
|
end
|
43
43
|
|
@@ -45,7 +45,7 @@ module OssActiveRecord
|
|
45
45
|
self.instance_eval(&block) unless block.nil?
|
46
46
|
@params['filters'] = @filters unless @filters.length == 0
|
47
47
|
fields = []
|
48
|
-
@
|
48
|
+
@index_instance.text_fields.each do |key, value|
|
49
49
|
fields<<{ "field"=> value,"phrase"=> true,"boost"=> 1.0}
|
50
50
|
end
|
51
51
|
@params['searchFields'] = fields unless fields.length == 0
|
@@ -54,7 +54,7 @@ module OssActiveRecord
|
|
54
54
|
sorts<<{ "field"=> key,"direction"=> value}
|
55
55
|
end
|
56
56
|
@params['sorts'] = sorts unless sorts.length == 0
|
57
|
-
return @
|
57
|
+
return @index_instance.oss_index.search_field(@params)
|
58
58
|
end
|
59
59
|
|
60
60
|
end
|
@@ -1,40 +1,9 @@
|
|
1
1
|
module OssActiveRecord
|
2
2
|
module Searchable
|
3
3
|
extend ActiveSupport::Concern
|
4
|
-
def index
|
5
|
-
doc = self.to_indexable
|
6
|
-
oss_doc = Oss::Document.new
|
7
|
-
doc.each do |name,value|
|
8
|
-
oss_doc.fields << Oss::Field.new(name, value)
|
9
|
-
end
|
10
|
-
self.class.oss_index.documents << oss_doc
|
11
|
-
self.class.oss_index.index!
|
12
|
-
end
|
13
|
-
|
14
4
|
module ClassMethods
|
15
5
|
@@field_types= [:integer, :text, :string, :time] #supported field types
|
16
|
-
@@
|
17
|
-
@@_field_id = nil
|
18
|
-
@@_text_fields = {}
|
19
|
-
@@_sortable_fields = {}
|
20
|
-
@@_all_fields = {}
|
21
|
-
@@index = nil
|
22
|
-
|
23
|
-
def _text_fields
|
24
|
-
@@_text_fields
|
25
|
-
end
|
26
|
-
|
27
|
-
def _fields
|
28
|
-
@@_fields
|
29
|
-
end
|
30
|
-
|
31
|
-
def find_sortable_name(field_name)
|
32
|
-
field == :score ? 'score' : @@_sortable_fields[field_name] unless field_name.nil?
|
33
|
-
end
|
34
|
-
|
35
|
-
def find_field_name(field_name)
|
36
|
-
@@_all_fields[field_name] unless field_name.nil?
|
37
|
-
end
|
6
|
+
@@index_instances = {}
|
38
7
|
|
39
8
|
def searchable(options = {}, &block)
|
40
9
|
yield
|
@@ -43,76 +12,35 @@ module OssActiveRecord
|
|
43
12
|
end
|
44
13
|
end
|
45
14
|
|
46
|
-
def
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
Rails.configuration.open_search_server_login,
|
52
|
-
Rails.configuration.open_search_server_apikey)
|
53
|
-
create_schema!
|
54
|
-
end
|
55
|
-
@@index
|
56
|
-
end
|
57
|
-
|
58
|
-
def add_field(name, type, block=nil)
|
59
|
-
@@_fields<<{:name => name, :type => type,:block => block}
|
60
|
-
end
|
61
|
-
|
62
|
-
def create_schema!
|
63
|
-
@@index.create('EMPTY_INDEX') unless @@index.list.include? @@index_name
|
64
|
-
@@_field_id = @@_fields.detect {|f| f[:name] == :id }
|
65
|
-
@@_field_id = {:name => 'id', :type => 'integer',:block => nil} if @@_field_id.nil?
|
66
|
-
@@_fields << @@_field_id
|
67
|
-
@@_fields.each do |field|
|
68
|
-
create_schema_field!(field)
|
15
|
+
def index_instance
|
16
|
+
idx_inst = @@index_instances[self.name.downcase]
|
17
|
+
if idx_inst.nil?
|
18
|
+
idx_inst = IndexInstance.new(self.name.downcase)
|
19
|
+
@@index_instances[self.name.downcase] = idx_inst
|
69
20
|
end
|
21
|
+
idx_inst
|
70
22
|
end
|
71
23
|
|
72
24
|
def reindex!
|
73
|
-
|
74
|
-
|
75
|
-
|
25
|
+
index_instance.oss_index.delete!
|
26
|
+
index_instance.create_schema!
|
76
27
|
self.all.find_in_batches do |group|
|
77
|
-
group.each { |doc| doc.index }
|
28
|
+
group.each { |doc| doc.index(index_instance) }
|
78
29
|
end
|
79
30
|
end
|
80
31
|
|
81
|
-
def create_schema_field!(field)
|
82
|
-
analyzers = {
|
83
|
-
:text => 'StandardAnalyzer',
|
84
|
-
:integer => 'IntegerAnalyzer',
|
85
|
-
:decimal => 'DecimalAnalyzer'}
|
86
|
-
analyzer = analyzers[field[:type]] if field[:name] != :id
|
87
|
-
termVectors = { :text => 'POSITIONS_OFFSETS'}
|
88
|
-
termVector = termVectors[field[:type]] || 'NO'
|
89
|
-
name = "#{field[:name]}|#{field[:type]}"
|
90
|
-
params = {
|
91
|
-
'name' => name,
|
92
|
-
'analyzer' => analyzer,
|
93
|
-
'stored' => 'NO',
|
94
|
-
'indexed' => 'YES',
|
95
|
-
'termVector' => termVector
|
96
|
-
}
|
97
|
-
@@_text_fields[field[:name]] = name if field[:type] == :text
|
98
|
-
@@_sortable_fields[field[:name]] = name unless field[:type] == :text
|
99
|
-
@@_all_fields[field[:name]] = name
|
100
|
-
self.oss_index.set_field(params)
|
101
|
-
self.oss_index.set_field_default_unique(name, name) if field[:name] == :id
|
102
|
-
end
|
103
|
-
|
104
32
|
def method_missing(method, *args, &block)
|
105
|
-
add_field
|
33
|
+
index_instance.add_field(args[0], method, block) if @@field_types.include? method
|
106
34
|
end
|
107
35
|
|
108
36
|
def search(*args, &block)
|
109
|
-
searchRequest = SearchRequest.new(
|
110
|
-
searchRequest.returns
|
111
|
-
find_results
|
37
|
+
searchRequest = SearchRequest.new(index_instance)
|
38
|
+
searchRequest.returns index_instance.fields.map {|f|"#{f[:name]}|#{f[:type]}"}
|
39
|
+
find_results(searchRequest.execute(&block), index_instance.field_id)
|
112
40
|
end
|
113
41
|
|
114
|
-
def find_results(search_result)
|
115
|
-
id_field_name = "#{
|
42
|
+
def find_results(search_result, field_id)
|
43
|
+
id_field_name = "#{field_id[:name]}|#{field_id[:type]}"
|
116
44
|
results = []
|
117
45
|
search_result['documents'].each do |document|
|
118
46
|
document['fields'].each do |field|
|
@@ -122,12 +50,20 @@ module OssActiveRecord
|
|
122
50
|
end
|
123
51
|
return results
|
124
52
|
end
|
53
|
+
end
|
125
54
|
|
55
|
+
def index(index_instance)
|
56
|
+
doc = self.to_indexable(index_instance.fields)
|
57
|
+
oss_doc = Oss::Document.new
|
58
|
+
doc.each do |name,value|
|
59
|
+
oss_doc.fields << Oss::Field.new(name, value)
|
60
|
+
end
|
61
|
+
index_instance.index(oss_doc)
|
126
62
|
end
|
127
63
|
|
128
|
-
def to_indexable
|
64
|
+
def to_indexable(fields)
|
129
65
|
doc={}
|
130
|
-
|
66
|
+
fields.each do |field|
|
131
67
|
if field[:block].nil?
|
132
68
|
val = self.send(field[:name].to_sym)
|
133
69
|
else
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -11400,3 +11400,1965 @@ DocumentTest: test_the_truth
|
|
11400
11400
|
----------------------------
|
11401
11401
|
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11402
11402
|
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11403
|
+
[1m[36m (9.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11404
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11405
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11406
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11407
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11408
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11409
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11410
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11412
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11413
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 12:31:13')[0m
|
11414
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 12:31:13')
|
11415
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 12:31:13')[0m
|
11416
|
+
[1m[35m (0.5ms)[0m commit transaction
|
11417
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11418
|
+
---------------------------------
|
11419
|
+
ArticleTest: test_Ascending_order
|
11420
|
+
---------------------------------
|
11421
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11422
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11423
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11424
|
+
----------------------------------
|
11425
|
+
ArticleTest: test_Descending_order
|
11426
|
+
----------------------------------
|
11427
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11429
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11430
|
+
----------------------------------
|
11431
|
+
ArticleTest: test_Full_text_search
|
11432
|
+
----------------------------------
|
11433
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11434
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11435
|
+
[1m[35m (0.2ms)[0m begin transaction
|
11436
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11437
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 12:31:16')
|
11438
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 12:31:16')[0m
|
11439
|
+
[1m[35m (0.8ms)[0m commit transaction
|
11440
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11441
|
+
----------------------------------
|
11442
|
+
DocumentTest: test_Search_document
|
11443
|
+
----------------------------------
|
11444
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11445
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11447
|
+
----------------------------
|
11448
|
+
DocumentTest: test_the_truth
|
11449
|
+
----------------------------
|
11450
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11451
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11452
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11453
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11454
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11455
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11456
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11457
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11458
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11459
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11460
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
11461
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11462
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 12:38:51')[0m
|
11463
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 12:38:51')
|
11464
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 12:38:51')[0m
|
11465
|
+
[1m[35m (0.8ms)[0m commit transaction
|
11466
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11467
|
+
---------------------------------
|
11468
|
+
ArticleTest: test_Ascending_order
|
11469
|
+
---------------------------------
|
11470
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11471
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11473
|
+
----------------------------------
|
11474
|
+
ArticleTest: test_Descending_order
|
11475
|
+
----------------------------------
|
11476
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11477
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11479
|
+
----------------------------------
|
11480
|
+
ArticleTest: test_Full_text_search
|
11481
|
+
----------------------------------
|
11482
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11483
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11484
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11485
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11486
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 12:38:52')
|
11487
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 12:38:52')[0m
|
11488
|
+
[1m[35m (0.7ms)[0m commit transaction
|
11489
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11490
|
+
----------------------------------
|
11491
|
+
DocumentTest: test_Search_document
|
11492
|
+
----------------------------------
|
11493
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11494
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11495
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11496
|
+
----------------------------
|
11497
|
+
DocumentTest: test_the_truth
|
11498
|
+
----------------------------
|
11499
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11500
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11501
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11502
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11503
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11504
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11505
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11506
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11507
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11508
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11509
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11510
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11511
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 12:41:19')[0m
|
11512
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 12:41:19')
|
11513
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 12:41:19')[0m
|
11514
|
+
[1m[35m (1.2ms)[0m commit transaction
|
11515
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11516
|
+
---------------------------------
|
11517
|
+
ArticleTest: test_Ascending_order
|
11518
|
+
---------------------------------
|
11519
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11520
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11522
|
+
----------------------------------
|
11523
|
+
ArticleTest: test_Descending_order
|
11524
|
+
----------------------------------
|
11525
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11526
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11527
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11528
|
+
----------------------------------
|
11529
|
+
ArticleTest: test_Full_text_search
|
11530
|
+
----------------------------------
|
11531
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11532
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11533
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11534
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11535
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 12:41:20')
|
11536
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 12:41:20')[0m
|
11537
|
+
[1m[35m (1.1ms)[0m commit transaction
|
11538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11539
|
+
----------------------------------
|
11540
|
+
DocumentTest: test_Search_document
|
11541
|
+
----------------------------------
|
11542
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11543
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11544
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11545
|
+
----------------------------
|
11546
|
+
DocumentTest: test_the_truth
|
11547
|
+
----------------------------
|
11548
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11549
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11550
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11551
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11552
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11553
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11554
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11555
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11556
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11557
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11558
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11559
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11560
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11561
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11562
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11563
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11564
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11565
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11566
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11567
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11568
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11569
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11570
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11571
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11572
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11573
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11574
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11575
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11576
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11577
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11578
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11579
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11580
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11581
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11582
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11583
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11584
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11585
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11586
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11587
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11588
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11589
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11591
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11592
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 12:52:46')[0m
|
11593
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 12:52:46')
|
11594
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 12:52:46')[0m
|
11595
|
+
[1m[35m (1.0ms)[0m commit transaction
|
11596
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11597
|
+
---------------------------------
|
11598
|
+
ArticleTest: test_Ascending_order
|
11599
|
+
---------------------------------
|
11600
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11601
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11602
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11603
|
+
----------------------------------
|
11604
|
+
ArticleTest: test_Descending_order
|
11605
|
+
----------------------------------
|
11606
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11609
|
+
----------------------------------
|
11610
|
+
ArticleTest: test_Full_text_search
|
11611
|
+
----------------------------------
|
11612
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11613
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11614
|
+
[1m[35m (0.2ms)[0m begin transaction
|
11615
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11616
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 12:52:48')
|
11617
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 12:52:48')[0m
|
11618
|
+
[1m[35m (0.7ms)[0m commit transaction
|
11619
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11620
|
+
----------------------------------
|
11621
|
+
DocumentTest: test_Search_document
|
11622
|
+
----------------------------------
|
11623
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11624
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11626
|
+
----------------------------
|
11627
|
+
DocumentTest: test_the_truth
|
11628
|
+
----------------------------
|
11629
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11630
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11631
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11632
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11633
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11634
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11635
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11636
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11637
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11638
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11640
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11641
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 12:53:35')[0m
|
11642
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 12:53:35')
|
11643
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 12:53:35')[0m
|
11644
|
+
[1m[35m (0.9ms)[0m commit transaction
|
11645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11646
|
+
---------------------------------
|
11647
|
+
ArticleTest: test_Ascending_order
|
11648
|
+
---------------------------------
|
11649
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11650
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11651
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11652
|
+
----------------------------------
|
11653
|
+
ArticleTest: test_Descending_order
|
11654
|
+
----------------------------------
|
11655
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11656
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11657
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11658
|
+
----------------------------------
|
11659
|
+
ArticleTest: test_Full_text_search
|
11660
|
+
----------------------------------
|
11661
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11662
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11663
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11664
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11665
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 12:53:36')
|
11666
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 12:53:36')[0m
|
11667
|
+
[1m[35m (0.9ms)[0m commit transaction
|
11668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11669
|
+
----------------------------------
|
11670
|
+
DocumentTest: test_Search_document
|
11671
|
+
----------------------------------
|
11672
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11673
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11674
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11675
|
+
----------------------------
|
11676
|
+
DocumentTest: test_the_truth
|
11677
|
+
----------------------------
|
11678
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11680
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11681
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11682
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11683
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11684
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11685
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11686
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11687
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11688
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11689
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11690
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11691
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11692
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11693
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11694
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11695
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11696
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11697
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11698
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 13:55:33')[0m
|
11699
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 13:55:33')
|
11700
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 13:55:33')[0m
|
11701
|
+
[1m[35m (0.8ms)[0m commit transaction
|
11702
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11703
|
+
---------------------------------
|
11704
|
+
ArticleTest: test_Ascending_order
|
11705
|
+
---------------------------------
|
11706
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11707
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11709
|
+
----------------------------------
|
11710
|
+
ArticleTest: test_Descending_order
|
11711
|
+
----------------------------------
|
11712
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11713
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11714
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11715
|
+
----------------------------------
|
11716
|
+
ArticleTest: test_Full_text_search
|
11717
|
+
----------------------------------
|
11718
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11719
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11720
|
+
[1m[35m (0.2ms)[0m begin transaction
|
11721
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "documents"[0m
|
11722
|
+
[1m[35mFixture Insert (0.3ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 13:55:35')
|
11723
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 13:55:35')[0m
|
11724
|
+
[1m[35m (0.7ms)[0m commit transaction
|
11725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11726
|
+
----------------------------------
|
11727
|
+
DocumentTest: test_Search_document
|
11728
|
+
----------------------------------
|
11729
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11730
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11731
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11732
|
+
----------------------------
|
11733
|
+
DocumentTest: test_the_truth
|
11734
|
+
----------------------------
|
11735
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11736
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11737
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11738
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11739
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11740
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11741
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11742
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11743
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11744
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11745
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11746
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11747
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 13:56:15')[0m
|
11748
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 13:56:15')
|
11749
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 13:56:15')[0m
|
11750
|
+
[1m[35m (0.7ms)[0m commit transaction
|
11751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11752
|
+
---------------------------------
|
11753
|
+
ArticleTest: test_Ascending_order
|
11754
|
+
---------------------------------
|
11755
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11756
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11757
|
+
[1m[35m (0.2ms)[0m begin transaction
|
11758
|
+
----------------------------------
|
11759
|
+
ArticleTest: test_Descending_order
|
11760
|
+
----------------------------------
|
11761
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11762
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11764
|
+
----------------------------------
|
11765
|
+
ArticleTest: test_Full_text_search
|
11766
|
+
----------------------------------
|
11767
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11768
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11769
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11770
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11771
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 13:56:16')
|
11772
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 13:56:16')[0m
|
11773
|
+
[1m[35m (0.8ms)[0m commit transaction
|
11774
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11775
|
+
----------------------------------
|
11776
|
+
DocumentTest: test_Search_document
|
11777
|
+
----------------------------------
|
11778
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11779
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11780
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11781
|
+
----------------------------
|
11782
|
+
DocumentTest: test_the_truth
|
11783
|
+
----------------------------
|
11784
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11785
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11786
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11787
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11788
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11789
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11790
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11791
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11792
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11793
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11794
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11795
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11796
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 13:56:39')[0m
|
11797
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 13:56:39')
|
11798
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 13:56:39')[0m
|
11799
|
+
[1m[35m (1.0ms)[0m commit transaction
|
11800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11801
|
+
---------------------------------
|
11802
|
+
ArticleTest: test_Ascending_order
|
11803
|
+
---------------------------------
|
11804
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11805
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11806
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11807
|
+
----------------------------------
|
11808
|
+
ArticleTest: test_Descending_order
|
11809
|
+
----------------------------------
|
11810
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11811
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11812
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11813
|
+
----------------------------------
|
11814
|
+
ArticleTest: test_Full_text_search
|
11815
|
+
----------------------------------
|
11816
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11817
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11818
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11819
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11820
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 13:56:40')
|
11821
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 13:56:40')[0m
|
11822
|
+
[1m[35m (0.8ms)[0m commit transaction
|
11823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11824
|
+
----------------------------------
|
11825
|
+
DocumentTest: test_Search_document
|
11826
|
+
----------------------------------
|
11827
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11828
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11829
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11830
|
+
----------------------------
|
11831
|
+
DocumentTest: test_the_truth
|
11832
|
+
----------------------------
|
11833
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11834
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
11835
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11836
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11837
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11838
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11839
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11840
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11841
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11842
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11844
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "articles"
|
11845
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 13:57:03')[0m
|
11846
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 13:57:03')
|
11847
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 13:57:03')[0m
|
11848
|
+
[1m[35m (1.2ms)[0m commit transaction
|
11849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11850
|
+
---------------------------------
|
11851
|
+
ArticleTest: test_Ascending_order
|
11852
|
+
---------------------------------
|
11853
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11854
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11855
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11856
|
+
----------------------------------
|
11857
|
+
ArticleTest: test_Descending_order
|
11858
|
+
----------------------------------
|
11859
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11860
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11861
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11862
|
+
----------------------------------
|
11863
|
+
ArticleTest: test_Full_text_search
|
11864
|
+
----------------------------------
|
11865
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11866
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11867
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11868
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11869
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 13:57:04')
|
11870
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 13:57:04')[0m
|
11871
|
+
[1m[35m (0.9ms)[0m commit transaction
|
11872
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11873
|
+
----------------------------------
|
11874
|
+
DocumentTest: test_Search_document
|
11875
|
+
----------------------------------
|
11876
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11877
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
11878
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11879
|
+
----------------------------
|
11880
|
+
DocumentTest: test_the_truth
|
11881
|
+
----------------------------
|
11882
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11883
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11884
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11885
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11886
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11887
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11888
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11889
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11890
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11891
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11893
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
11894
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 13:57:15')[0m
|
11895
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 13:57:15')
|
11896
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 13:57:15')[0m
|
11897
|
+
[1m[35m (0.9ms)[0m commit transaction
|
11898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11899
|
+
---------------------------------
|
11900
|
+
ArticleTest: test_Ascending_order
|
11901
|
+
---------------------------------
|
11902
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11903
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11904
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11905
|
+
----------------------------------
|
11906
|
+
ArticleTest: test_Descending_order
|
11907
|
+
----------------------------------
|
11908
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
11909
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11911
|
+
----------------------------------
|
11912
|
+
ArticleTest: test_Full_text_search
|
11913
|
+
----------------------------------
|
11914
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
11915
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11916
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11917
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
11918
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 13:57:16')
|
11919
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 13:57:16')[0m
|
11920
|
+
[1m[35m (0.9ms)[0m commit transaction
|
11921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11922
|
+
----------------------------------
|
11923
|
+
DocumentTest: test_Search_document
|
11924
|
+
----------------------------------
|
11925
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
11926
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
11927
|
+
[1m[35m (0.1ms)[0m begin transaction
|
11928
|
+
----------------------------
|
11929
|
+
DocumentTest: test_the_truth
|
11930
|
+
----------------------------
|
11931
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
11932
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11933
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11934
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11935
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11936
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11937
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11938
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11939
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11940
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11941
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11942
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11943
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11944
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11945
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11946
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11947
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11948
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11949
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11950
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11951
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11952
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11953
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11954
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11955
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11956
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11957
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11958
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11959
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11960
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11961
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11962
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11963
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11964
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11965
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11966
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11967
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11968
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11969
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11970
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11971
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11972
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11973
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11974
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11975
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11976
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11977
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11978
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11979
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11980
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11981
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11982
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11983
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11984
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11985
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11986
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11987
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11988
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11989
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11990
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11991
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
11992
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
11993
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
11994
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
11995
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
11996
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
11997
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
11998
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
11999
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12000
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12001
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12002
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12003
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12004
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12005
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12006
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12007
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12008
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12009
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12010
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12011
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12012
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12013
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12014
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12015
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12016
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12017
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12018
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12019
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12020
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12021
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12022
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12023
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12024
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12025
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12026
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12027
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12028
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12029
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12030
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12031
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12032
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12033
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12034
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12035
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12036
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12037
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12038
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12039
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12040
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12041
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12042
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12043
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12044
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12045
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12046
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12047
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12048
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12049
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12050
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12051
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12052
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12053
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12054
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12055
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12056
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12057
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12058
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12059
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12060
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12061
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12062
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12063
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12064
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12065
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12066
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12067
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12068
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12069
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12070
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12071
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12072
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12073
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12074
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12075
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12076
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12077
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12078
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12079
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12080
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12081
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12082
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12083
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12084
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12085
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12086
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12087
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12088
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12089
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12090
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12091
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12092
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12093
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12094
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12095
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12096
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12097
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12098
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12099
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12100
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12101
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12102
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12103
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12104
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12105
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12106
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12107
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12108
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12109
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12110
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12111
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12112
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12113
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12114
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12115
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12116
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12117
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12118
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12119
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12120
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12121
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12122
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12123
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12124
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12125
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12126
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12127
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:11:32')[0m
|
12128
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:11:32')
|
12129
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:11:32')[0m
|
12130
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12132
|
+
---------------------------------
|
12133
|
+
ArticleTest: test_Ascending_order
|
12134
|
+
---------------------------------
|
12135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12137
|
+
----------------------------------
|
12138
|
+
ArticleTest: test_Descending_order
|
12139
|
+
----------------------------------
|
12140
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12141
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12142
|
+
----------------------------------
|
12143
|
+
ArticleTest: test_Full_text_search
|
12144
|
+
----------------------------------
|
12145
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12147
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
12148
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:11:32')[0m
|
12149
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:11:32')
|
12150
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
12151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12152
|
+
----------------------------------
|
12153
|
+
DocumentTest: test_Search_document
|
12154
|
+
----------------------------------
|
12155
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12156
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12157
|
+
----------------------------
|
12158
|
+
DocumentTest: test_the_truth
|
12159
|
+
----------------------------
|
12160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12161
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12162
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12163
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12164
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12165
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12166
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12167
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12168
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12169
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12170
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "articles"
|
12171
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:12:02')[0m
|
12172
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:12:02')
|
12173
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:12:02')[0m
|
12174
|
+
[1m[35m (1.1ms)[0m commit transaction
|
12175
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12176
|
+
---------------------------------
|
12177
|
+
ArticleTest: test_Ascending_order
|
12178
|
+
---------------------------------
|
12179
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12181
|
+
----------------------------------
|
12182
|
+
ArticleTest: test_Descending_order
|
12183
|
+
----------------------------------
|
12184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12186
|
+
----------------------------------
|
12187
|
+
ArticleTest: test_Full_text_search
|
12188
|
+
----------------------------------
|
12189
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
12190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12191
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
12192
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:12:02')[0m
|
12193
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:12:02')
|
12194
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
12195
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12196
|
+
----------------------------------
|
12197
|
+
DocumentTest: test_Search_document
|
12198
|
+
----------------------------------
|
12199
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12200
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12201
|
+
----------------------------
|
12202
|
+
DocumentTest: test_the_truth
|
12203
|
+
----------------------------
|
12204
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12205
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12206
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12207
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12208
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12209
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12210
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12211
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12212
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12213
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12214
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "articles"
|
12215
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:19:18')[0m
|
12216
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:19:18')
|
12217
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:19:18')[0m
|
12218
|
+
[1m[35m (0.8ms)[0m commit transaction
|
12219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12220
|
+
---------------------------------
|
12221
|
+
ArticleTest: test_Ascending_order
|
12222
|
+
---------------------------------
|
12223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12224
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12225
|
+
----------------------------------
|
12226
|
+
ArticleTest: test_Descending_order
|
12227
|
+
----------------------------------
|
12228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12230
|
+
----------------------------------
|
12231
|
+
ArticleTest: test_Full_text_search
|
12232
|
+
----------------------------------
|
12233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12234
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12235
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "documents"
|
12236
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:19:18')[0m
|
12237
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:19:18')
|
12238
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
12239
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12240
|
+
----------------------------------
|
12241
|
+
DocumentTest: test_Search_document
|
12242
|
+
----------------------------------
|
12243
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12244
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12245
|
+
----------------------------
|
12246
|
+
DocumentTest: test_the_truth
|
12247
|
+
----------------------------
|
12248
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12249
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12250
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12251
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12252
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12253
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12254
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12255
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12256
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12257
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12258
|
+
[1m[35mFixture Delete (1.4ms)[0m DELETE FROM "articles"
|
12259
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:20:09')[0m
|
12260
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:20:09')
|
12261
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:20:09')[0m
|
12262
|
+
[1m[35m (1.0ms)[0m commit transaction
|
12263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12264
|
+
---------------------------------
|
12265
|
+
ArticleTest: test_Ascending_order
|
12266
|
+
---------------------------------
|
12267
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12268
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12269
|
+
----------------------------------
|
12270
|
+
ArticleTest: test_Descending_order
|
12271
|
+
----------------------------------
|
12272
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12273
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12274
|
+
----------------------------------
|
12275
|
+
ArticleTest: test_Full_text_search
|
12276
|
+
----------------------------------
|
12277
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12279
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
12280
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:20:09')[0m
|
12281
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:20:09')
|
12282
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
12283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12284
|
+
----------------------------------
|
12285
|
+
DocumentTest: test_Search_document
|
12286
|
+
----------------------------------
|
12287
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12289
|
+
----------------------------
|
12290
|
+
DocumentTest: test_the_truth
|
12291
|
+
----------------------------
|
12292
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12293
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12294
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12295
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12296
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12297
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12298
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12299
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12300
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12302
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12303
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:20:24')[0m
|
12304
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:20:24')
|
12305
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:20:24')[0m
|
12306
|
+
[1m[35m (0.9ms)[0m commit transaction
|
12307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12308
|
+
---------------------------------
|
12309
|
+
ArticleTest: test_Ascending_order
|
12310
|
+
---------------------------------
|
12311
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12312
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12313
|
+
----------------------------------
|
12314
|
+
ArticleTest: test_Descending_order
|
12315
|
+
----------------------------------
|
12316
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
12317
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12318
|
+
----------------------------------
|
12319
|
+
ArticleTest: test_Full_text_search
|
12320
|
+
----------------------------------
|
12321
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
12322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12323
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "documents"
|
12324
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:20:24')[0m
|
12325
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:20:24')
|
12326
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
12327
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12328
|
+
----------------------------------
|
12329
|
+
DocumentTest: test_Search_document
|
12330
|
+
----------------------------------
|
12331
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12332
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12333
|
+
----------------------------
|
12334
|
+
DocumentTest: test_the_truth
|
12335
|
+
----------------------------
|
12336
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
12337
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12338
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12339
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12340
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12341
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12342
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12343
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12344
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12345
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12346
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "articles"
|
12347
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:21:39')[0m
|
12348
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:21:39')
|
12349
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:21:39')[0m
|
12350
|
+
[1m[35m (0.8ms)[0m commit transaction
|
12351
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12352
|
+
---------------------------------
|
12353
|
+
ArticleTest: test_Ascending_order
|
12354
|
+
---------------------------------
|
12355
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12356
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12358
|
+
----------------------------------
|
12359
|
+
ArticleTest: test_Descending_order
|
12360
|
+
----------------------------------
|
12361
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12362
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12364
|
+
----------------------------------
|
12365
|
+
ArticleTest: test_Full_text_search
|
12366
|
+
----------------------------------
|
12367
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12368
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12369
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12370
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12371
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:21:40')
|
12372
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:21:40')[0m
|
12373
|
+
[1m[35m (1.2ms)[0m commit transaction
|
12374
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12375
|
+
----------------------------------
|
12376
|
+
DocumentTest: test_Search_document
|
12377
|
+
----------------------------------
|
12378
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12379
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12380
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12381
|
+
----------------------------
|
12382
|
+
DocumentTest: test_the_truth
|
12383
|
+
----------------------------
|
12384
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12385
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12386
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12387
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12388
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12389
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12390
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12391
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12392
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12393
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12394
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12395
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12396
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:25:11')[0m
|
12397
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:25:11')
|
12398
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:25:11')[0m
|
12399
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12400
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12401
|
+
---------------------------------
|
12402
|
+
ArticleTest: test_Ascending_order
|
12403
|
+
---------------------------------
|
12404
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12405
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12406
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12407
|
+
----------------------------------
|
12408
|
+
ArticleTest: test_Descending_order
|
12409
|
+
----------------------------------
|
12410
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12411
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12412
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12413
|
+
----------------------------------
|
12414
|
+
ArticleTest: test_Full_text_search
|
12415
|
+
----------------------------------
|
12416
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12417
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12418
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12419
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12420
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:25:12')
|
12421
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:25:12')[0m
|
12422
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12423
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12424
|
+
----------------------------------
|
12425
|
+
DocumentTest: test_Search_document
|
12426
|
+
----------------------------------
|
12427
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12428
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12429
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12430
|
+
----------------------------
|
12431
|
+
DocumentTest: test_the_truth
|
12432
|
+
----------------------------
|
12433
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12434
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12435
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12436
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12437
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12438
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12439
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12440
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12441
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12442
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12443
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12444
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12445
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:26:00')[0m
|
12446
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:26:00')
|
12447
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:26:00')[0m
|
12448
|
+
[1m[35m (1.1ms)[0m commit transaction
|
12449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12450
|
+
---------------------------------
|
12451
|
+
ArticleTest: test_Ascending_order
|
12452
|
+
---------------------------------
|
12453
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12454
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12455
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12456
|
+
----------------------------------
|
12457
|
+
ArticleTest: test_Descending_order
|
12458
|
+
----------------------------------
|
12459
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12460
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12462
|
+
----------------------------------
|
12463
|
+
ArticleTest: test_Full_text_search
|
12464
|
+
----------------------------------
|
12465
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12466
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12467
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12468
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "documents"[0m
|
12469
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:26:01')
|
12470
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:26:01')[0m
|
12471
|
+
[1m[35m (0.8ms)[0m commit transaction
|
12472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12473
|
+
----------------------------------
|
12474
|
+
DocumentTest: test_Search_document
|
12475
|
+
----------------------------------
|
12476
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12477
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12478
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12479
|
+
----------------------------
|
12480
|
+
DocumentTest: test_the_truth
|
12481
|
+
----------------------------
|
12482
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12483
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12484
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12485
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12486
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12487
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12488
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12489
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12490
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12491
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12492
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12493
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12494
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:26:58')[0m
|
12495
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:26:58')
|
12496
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:26:58')[0m
|
12497
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12498
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12499
|
+
---------------------------------
|
12500
|
+
ArticleTest: test_Ascending_order
|
12501
|
+
---------------------------------
|
12502
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12503
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12504
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12505
|
+
----------------------------------
|
12506
|
+
ArticleTest: test_Descending_order
|
12507
|
+
----------------------------------
|
12508
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12509
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12510
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12511
|
+
----------------------------------
|
12512
|
+
ArticleTest: test_Full_text_search
|
12513
|
+
----------------------------------
|
12514
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12515
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12516
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12517
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12518
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:26:59')
|
12519
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:26:59')[0m
|
12520
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12521
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12522
|
+
----------------------------------
|
12523
|
+
DocumentTest: test_Search_document
|
12524
|
+
----------------------------------
|
12525
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12526
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12527
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12528
|
+
----------------------------
|
12529
|
+
DocumentTest: test_the_truth
|
12530
|
+
----------------------------
|
12531
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12532
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12533
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12534
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12535
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12536
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12537
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12538
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12539
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12540
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12541
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12542
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12543
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:28:58')[0m
|
12544
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:28:58')
|
12545
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:28:58')[0m
|
12546
|
+
[1m[35m (1.2ms)[0m commit transaction
|
12547
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12548
|
+
---------------------------------
|
12549
|
+
ArticleTest: test_Ascending_order
|
12550
|
+
---------------------------------
|
12551
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12552
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12553
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12554
|
+
----------------------------------
|
12555
|
+
ArticleTest: test_Descending_order
|
12556
|
+
----------------------------------
|
12557
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12558
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12559
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12560
|
+
----------------------------------
|
12561
|
+
ArticleTest: test_Full_text_search
|
12562
|
+
----------------------------------
|
12563
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12564
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12565
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12566
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12567
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:28:59')
|
12568
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:28:59')[0m
|
12569
|
+
[1m[35m (1.2ms)[0m commit transaction
|
12570
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12571
|
+
----------------------------------
|
12572
|
+
DocumentTest: test_Search_document
|
12573
|
+
----------------------------------
|
12574
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12575
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12576
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12577
|
+
----------------------------
|
12578
|
+
DocumentTest: test_the_truth
|
12579
|
+
----------------------------
|
12580
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12581
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12582
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12583
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12584
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12585
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12586
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12587
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12588
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12589
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12590
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12591
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12592
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:30:20')[0m
|
12593
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:30:20')
|
12594
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:30:20')[0m
|
12595
|
+
[1m[35m (0.6ms)[0m commit transaction
|
12596
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12597
|
+
---------------------------------
|
12598
|
+
ArticleTest: test_Ascending_order
|
12599
|
+
---------------------------------
|
12600
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12601
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12602
|
+
[1m[35m (0.2ms)[0m begin transaction
|
12603
|
+
----------------------------------
|
12604
|
+
ArticleTest: test_Descending_order
|
12605
|
+
----------------------------------
|
12606
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12607
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12608
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12609
|
+
----------------------------------
|
12610
|
+
ArticleTest: test_Full_text_search
|
12611
|
+
----------------------------------
|
12612
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12613
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12614
|
+
[1m[35m (0.2ms)[0m begin transaction
|
12615
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12616
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:30:21')
|
12617
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:30:21')[0m
|
12618
|
+
[1m[35m (1.1ms)[0m commit transaction
|
12619
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12620
|
+
----------------------------------
|
12621
|
+
DocumentTest: test_Search_document
|
12622
|
+
----------------------------------
|
12623
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12624
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12625
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12626
|
+
----------------------------
|
12627
|
+
DocumentTest: test_the_truth
|
12628
|
+
----------------------------
|
12629
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12630
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12631
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12632
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12633
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12634
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12635
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12636
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12637
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12638
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12640
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12641
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:32:51')[0m
|
12642
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:32:51')
|
12643
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:32:51')[0m
|
12644
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12645
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12646
|
+
---------------------------------
|
12647
|
+
ArticleTest: test_Ascending_order
|
12648
|
+
---------------------------------
|
12649
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12650
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12651
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12652
|
+
----------------------------------
|
12653
|
+
ArticleTest: test_Descending_order
|
12654
|
+
----------------------------------
|
12655
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12656
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
12657
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12658
|
+
----------------------------------
|
12659
|
+
ArticleTest: test_Full_text_search
|
12660
|
+
----------------------------------
|
12661
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12662
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
12663
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12664
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12665
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:32:52')
|
12666
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:32:52')[0m
|
12667
|
+
[1m[35m (1.0ms)[0m commit transaction
|
12668
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12669
|
+
----------------------------------
|
12670
|
+
DocumentTest: test_Search_document
|
12671
|
+
----------------------------------
|
12672
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12673
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12674
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12675
|
+
----------------------------
|
12676
|
+
DocumentTest: test_the_truth
|
12677
|
+
----------------------------
|
12678
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12679
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12680
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12681
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12682
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12683
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12684
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12685
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12686
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12687
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12688
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
12689
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12690
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:33:23')[0m
|
12691
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:33:23')
|
12692
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:33:23')[0m
|
12693
|
+
[1m[35m (0.9ms)[0m commit transaction
|
12694
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12695
|
+
---------------------------------
|
12696
|
+
ArticleTest: test_Ascending_order
|
12697
|
+
---------------------------------
|
12698
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12699
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12701
|
+
----------------------------------
|
12702
|
+
ArticleTest: test_Descending_order
|
12703
|
+
----------------------------------
|
12704
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12705
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12707
|
+
----------------------------------
|
12708
|
+
ArticleTest: test_Full_text_search
|
12709
|
+
----------------------------------
|
12710
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12711
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12712
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12713
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12714
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:33:24')
|
12715
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:33:24')[0m
|
12716
|
+
[1m[35m (0.8ms)[0m commit transaction
|
12717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12718
|
+
----------------------------------
|
12719
|
+
DocumentTest: test_Search_document
|
12720
|
+
----------------------------------
|
12721
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12722
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12724
|
+
----------------------------
|
12725
|
+
DocumentTest: test_the_truth
|
12726
|
+
----------------------------
|
12727
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12728
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12729
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12730
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12731
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12732
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12733
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12734
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12735
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12736
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12737
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12738
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12739
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:34:23')[0m
|
12740
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:34:23')
|
12741
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:34:23')[0m
|
12742
|
+
[1m[35m (1.0ms)[0m commit transaction
|
12743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12744
|
+
---------------------------------
|
12745
|
+
ArticleTest: test_Ascending_order
|
12746
|
+
---------------------------------
|
12747
|
+
[1m[35mArticle Load (0.5ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12748
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12749
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12750
|
+
----------------------------------
|
12751
|
+
ArticleTest: test_Descending_order
|
12752
|
+
----------------------------------
|
12753
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12754
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12755
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12756
|
+
----------------------------------
|
12757
|
+
ArticleTest: test_Full_text_search
|
12758
|
+
----------------------------------
|
12759
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12760
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12761
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12762
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12763
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:34:24')
|
12764
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:34:24')[0m
|
12765
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12767
|
+
----------------------------------
|
12768
|
+
DocumentTest: test_Search_document
|
12769
|
+
----------------------------------
|
12770
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12771
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
12772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12773
|
+
----------------------------
|
12774
|
+
DocumentTest: test_the_truth
|
12775
|
+
----------------------------
|
12776
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12777
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12778
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12779
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12780
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12781
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12782
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12783
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12784
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12785
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12787
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12788
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:34:47')[0m
|
12789
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:34:47')
|
12790
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:34:47')[0m
|
12791
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12792
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12793
|
+
---------------------------------
|
12794
|
+
ArticleTest: test_Ascending_order
|
12795
|
+
---------------------------------
|
12796
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12797
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12798
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12799
|
+
----------------------------------
|
12800
|
+
ArticleTest: test_Descending_order
|
12801
|
+
----------------------------------
|
12802
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12803
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12804
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12805
|
+
----------------------------------
|
12806
|
+
ArticleTest: test_Full_text_search
|
12807
|
+
----------------------------------
|
12808
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12809
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12810
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12811
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "documents"[0m
|
12812
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:34:48')
|
12813
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:34:48')[0m
|
12814
|
+
[1m[35m (0.8ms)[0m commit transaction
|
12815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12816
|
+
----------------------------------
|
12817
|
+
DocumentTest: test_Search_document
|
12818
|
+
----------------------------------
|
12819
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12820
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12821
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12822
|
+
----------------------------
|
12823
|
+
DocumentTest: test_the_truth
|
12824
|
+
----------------------------
|
12825
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12826
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12827
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12828
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12829
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12830
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12831
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12832
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12833
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12834
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12836
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12837
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:35:10')[0m
|
12838
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:35:10')
|
12839
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:35:10')[0m
|
12840
|
+
[1m[35m (1.2ms)[0m commit transaction
|
12841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12842
|
+
---------------------------------
|
12843
|
+
ArticleTest: test_Ascending_order
|
12844
|
+
---------------------------------
|
12845
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12846
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12847
|
+
[1m[35m (0.2ms)[0m begin transaction
|
12848
|
+
----------------------------------
|
12849
|
+
ArticleTest: test_Descending_order
|
12850
|
+
----------------------------------
|
12851
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12852
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12854
|
+
----------------------------------
|
12855
|
+
ArticleTest: test_Full_text_search
|
12856
|
+
----------------------------------
|
12857
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12858
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12859
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12860
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12861
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:35:11')
|
12862
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:35:11')[0m
|
12863
|
+
[1m[35m (1.0ms)[0m commit transaction
|
12864
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12865
|
+
----------------------------------
|
12866
|
+
DocumentTest: test_Search_document
|
12867
|
+
----------------------------------
|
12868
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12869
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12870
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12871
|
+
----------------------------
|
12872
|
+
DocumentTest: test_the_truth
|
12873
|
+
----------------------------
|
12874
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12875
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12876
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12877
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12878
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12879
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12880
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12881
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12882
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12883
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12885
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12886
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:35:34')[0m
|
12887
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:35:34')
|
12888
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:35:34')[0m
|
12889
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12890
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12891
|
+
---------------------------------
|
12892
|
+
ArticleTest: test_Ascending_order
|
12893
|
+
---------------------------------
|
12894
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12895
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12896
|
+
[1m[35m (0.2ms)[0m begin transaction
|
12897
|
+
----------------------------------
|
12898
|
+
ArticleTest: test_Descending_order
|
12899
|
+
----------------------------------
|
12900
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12901
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12902
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12903
|
+
----------------------------------
|
12904
|
+
ArticleTest: test_Full_text_search
|
12905
|
+
----------------------------------
|
12906
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12907
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12908
|
+
[1m[35m (0.2ms)[0m begin transaction
|
12909
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "documents"[0m
|
12910
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:35:35')
|
12911
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:35:35')[0m
|
12912
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12913
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12914
|
+
----------------------------------
|
12915
|
+
DocumentTest: test_Search_document
|
12916
|
+
----------------------------------
|
12917
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12918
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12919
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12920
|
+
----------------------------
|
12921
|
+
DocumentTest: test_the_truth
|
12922
|
+
----------------------------
|
12923
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12924
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12925
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12926
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12927
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12928
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12929
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12930
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12931
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12932
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12934
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "articles"
|
12935
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:37:00')[0m
|
12936
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:37:00')
|
12937
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:37:00')[0m
|
12938
|
+
[1m[35m (0.7ms)[0m commit transaction
|
12939
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12940
|
+
---------------------------------
|
12941
|
+
ArticleTest: test_Ascending_order
|
12942
|
+
---------------------------------
|
12943
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12944
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12946
|
+
----------------------------------
|
12947
|
+
ArticleTest: test_Descending_order
|
12948
|
+
----------------------------------
|
12949
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12950
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12952
|
+
----------------------------------
|
12953
|
+
ArticleTest: test_Full_text_search
|
12954
|
+
----------------------------------
|
12955
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12956
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12957
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12958
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
12959
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:37:01')
|
12960
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:37:01')[0m
|
12961
|
+
[1m[35m (1.1ms)[0m commit transaction
|
12962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12963
|
+
----------------------------------
|
12964
|
+
DocumentTest: test_Search_document
|
12965
|
+
----------------------------------
|
12966
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
12967
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
12968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12969
|
+
----------------------------
|
12970
|
+
DocumentTest: test_the_truth
|
12971
|
+
----------------------------
|
12972
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
12973
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
12974
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
12975
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
12976
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
12977
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
12978
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
12979
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
12980
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
12981
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
12982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12983
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
12984
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:38:46')[0m
|
12985
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:38:46')
|
12986
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:38:46')[0m
|
12987
|
+
[1m[35m (0.8ms)[0m commit transaction
|
12988
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12989
|
+
---------------------------------
|
12990
|
+
ArticleTest: test_Ascending_order
|
12991
|
+
---------------------------------
|
12992
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
12993
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
12994
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12995
|
+
----------------------------------
|
12996
|
+
ArticleTest: test_Descending_order
|
12997
|
+
----------------------------------
|
12998
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000[0m
|
12999
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13000
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13001
|
+
----------------------------------
|
13002
|
+
ArticleTest: test_Full_text_search
|
13003
|
+
----------------------------------
|
13004
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13005
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13006
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13007
|
+
[1m[36mFixture Delete (0.4ms)[0m [1mDELETE FROM "documents"[0m
|
13008
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:38:47')
|
13009
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:38:47')[0m
|
13010
|
+
[1m[35m (0.9ms)[0m commit transaction
|
13011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13012
|
+
----------------------------------
|
13013
|
+
DocumentTest: test_Search_document
|
13014
|
+
----------------------------------
|
13015
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
13016
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13017
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13018
|
+
----------------------------
|
13019
|
+
DocumentTest: test_the_truth
|
13020
|
+
----------------------------
|
13021
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
13022
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13023
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
13024
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
13025
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
13026
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
13027
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
13028
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
13029
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
13030
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
13031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13032
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
13033
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:40:05')[0m
|
13034
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:40:05')
|
13035
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:40:05')[0m
|
13036
|
+
[1m[35m (0.8ms)[0m commit transaction
|
13037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13038
|
+
---------------------------------
|
13039
|
+
ArticleTest: test_Ascending_order
|
13040
|
+
---------------------------------
|
13041
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13042
|
+
[1m[36mArticle Load (0.5ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13043
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13044
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13045
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13046
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13047
|
+
----------------------------------
|
13048
|
+
ArticleTest: test_Descending_order
|
13049
|
+
----------------------------------
|
13050
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13051
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13052
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13053
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13054
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13055
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13056
|
+
----------------------------------
|
13057
|
+
ArticleTest: test_Full_text_search
|
13058
|
+
----------------------------------
|
13059
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13060
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13061
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13062
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
13063
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
13064
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:40:06')[0m
|
13065
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:40:06')
|
13066
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
13067
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13068
|
+
----------------------------------
|
13069
|
+
DocumentTest: test_Search_document
|
13070
|
+
----------------------------------
|
13071
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
13072
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
13073
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 2]]
|
13074
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13075
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13076
|
+
----------------------------
|
13077
|
+
DocumentTest: test_the_truth
|
13078
|
+
----------------------------
|
13079
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
13080
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13081
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
13082
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
13083
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
13084
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
13085
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
13086
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
13087
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
13088
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
13089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13090
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
13091
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:40:36')[0m
|
13092
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:40:36')
|
13093
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:40:36')[0m
|
13094
|
+
[1m[35m (0.8ms)[0m commit transaction
|
13095
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13096
|
+
---------------------------------
|
13097
|
+
ArticleTest: test_Ascending_order
|
13098
|
+
---------------------------------
|
13099
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13100
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13101
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13102
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13103
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13105
|
+
----------------------------------
|
13106
|
+
ArticleTest: test_Descending_order
|
13107
|
+
----------------------------------
|
13108
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13109
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13110
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13111
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13112
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13113
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13114
|
+
----------------------------------
|
13115
|
+
ArticleTest: test_Full_text_search
|
13116
|
+
----------------------------------
|
13117
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13118
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13119
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13121
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
13122
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:40:37')[0m
|
13123
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:40:37')
|
13124
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
13125
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13126
|
+
----------------------------------
|
13127
|
+
DocumentTest: test_Search_document
|
13128
|
+
----------------------------------
|
13129
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
13130
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
13131
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 2]]
|
13132
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13133
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13134
|
+
----------------------------
|
13135
|
+
DocumentTest: test_the_truth
|
13136
|
+
----------------------------
|
13137
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
13138
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13139
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
13140
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
13141
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
13142
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
13143
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
13144
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
13145
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
13146
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
13147
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13148
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
13149
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 15:42:08')[0m
|
13150
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 15:42:08')
|
13151
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 15:42:08')[0m
|
13152
|
+
[1m[35m (1.0ms)[0m commit transaction
|
13153
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13154
|
+
---------------------------------
|
13155
|
+
ArticleTest: test_Ascending_order
|
13156
|
+
---------------------------------
|
13157
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13158
|
+
[1m[36mArticle Load (0.3ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13159
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13160
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13161
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13162
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13163
|
+
----------------------------------
|
13164
|
+
ArticleTest: test_Descending_order
|
13165
|
+
----------------------------------
|
13166
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13167
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13168
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13169
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13170
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13172
|
+
----------------------------------
|
13173
|
+
ArticleTest: test_Full_text_search
|
13174
|
+
----------------------------------
|
13175
|
+
[1m[35mArticle Load (0.4ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13176
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13177
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13179
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
13180
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 15:42:09')[0m
|
13181
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 15:42:09')
|
13182
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
13183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13184
|
+
----------------------------------
|
13185
|
+
DocumentTest: test_Search_document
|
13186
|
+
----------------------------------
|
13187
|
+
[1m[36mDocument Load (0.4ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
13188
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
13189
|
+
[1m[36mDocument Load (0.0ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 2]]
|
13190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13192
|
+
----------------------------
|
13193
|
+
DocumentTest: test_the_truth
|
13194
|
+
----------------------------
|
13195
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
13196
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13197
|
+
[1m[36m (4.6ms)[0m [1mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" varchar(255), "category_id" integer, "updated_at" datetime, "created_at" datetime) [0m
|
13198
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "documents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folder_id" integer, "room_id" integer, "name" varchar(255), "updated_at" datetime, "uuid" integer, "user_id" integer, "file_size" integer, "file_content_type" varchar(255), "state" varchar(255), "created_at" datetime)
|
13199
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
13200
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
13201
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
13202
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130901161100')
|
13203
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130711150619')[0m
|
13204
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
13205
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13206
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "articles"
|
13207
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 16:12:49')[0m
|
13208
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 16:12:49')
|
13209
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 16:12:49')[0m
|
13210
|
+
[1m[35m (0.9ms)[0m commit transaction
|
13211
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13212
|
+
---------------------------------
|
13213
|
+
ArticleTest: test_Ascending_order
|
13214
|
+
---------------------------------
|
13215
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13216
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13217
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13218
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13219
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13220
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13221
|
+
----------------------------------
|
13222
|
+
ArticleTest: test_Descending_order
|
13223
|
+
----------------------------------
|
13224
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13225
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13226
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13227
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13230
|
+
----------------------------------
|
13231
|
+
ArticleTest: test_Full_text_search
|
13232
|
+
----------------------------------
|
13233
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13234
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13235
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13236
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
13237
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
13238
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 16:12:50')[0m
|
13239
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 16:12:50')
|
13240
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
13241
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13242
|
+
----------------------------------
|
13243
|
+
DocumentTest: test_Search_document
|
13244
|
+
----------------------------------
|
13245
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
13246
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
13247
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 2]]
|
13248
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13249
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13250
|
+
----------------------------
|
13251
|
+
DocumentTest: test_the_truth
|
13252
|
+
----------------------------
|
13253
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
13254
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13255
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
13256
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "articles"
|
13257
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 16:13:05')[0m
|
13258
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 16:13:05')
|
13259
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 16:13:05')[0m
|
13260
|
+
[1m[35m (0.7ms)[0m commit transaction
|
13261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13262
|
+
---------------------------------
|
13263
|
+
ArticleTest: test_Ascending_order
|
13264
|
+
---------------------------------
|
13265
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13266
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13267
|
+
[1m[35mArticle Load (0.1ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13268
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13269
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13270
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
13271
|
+
----------------------------------
|
13272
|
+
ArticleTest: test_Descending_order
|
13273
|
+
----------------------------------
|
13274
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13275
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13276
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13277
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13278
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
13279
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13280
|
+
----------------------------------
|
13281
|
+
ArticleTest: test_Full_text_search
|
13282
|
+
----------------------------------
|
13283
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13284
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13285
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13286
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
13287
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "documents"
|
13288
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 16:13:06')[0m
|
13289
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 16:13:06')
|
13290
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
13291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13292
|
+
----------------------------------
|
13293
|
+
DocumentTest: test_Search_document
|
13294
|
+
----------------------------------
|
13295
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
13296
|
+
[1m[35mDocument Load (0.5ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
13297
|
+
[1m[36mDocument Load (0.0ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 2]]
|
13298
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13299
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13300
|
+
----------------------------
|
13301
|
+
DocumentTest: test_the_truth
|
13302
|
+
----------------------------
|
13303
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
13304
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13305
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13306
|
+
-----------------------------------------------------
|
13307
|
+
OssActiveRecordTest: test_OssActiveRecord_is_a_module
|
13308
|
+
-----------------------------------------------------
|
13309
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13310
|
+
[1m[36m (3.2ms)[0m [1mbegin transaction[0m
|
13311
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "articles"
|
13312
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (1, 'Weather report', 'Sunny weather today', 1, '2013-07-11 17:06:19.000000', '2013-09-12 16:15:41')[0m
|
13313
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (2, 'Active record rocks', 'Using OpenSearchServer with active record is simple', 2, '2013-07-11 17:06:19.000000', '2013-09-12 16:15:41')
|
13314
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "articles" ("id", "title", "content", "category_id", "updated_at", "created_at") VALUES (3, 'Breaking news', 'A new version should be available soon', 1000, '2013-07-11 17:06:19.000000', '2013-09-12 16:15:41')[0m
|
13315
|
+
[1m[35m (0.7ms)[0m commit transaction
|
13316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13317
|
+
---------------------------------
|
13318
|
+
ArticleTest: test_Ascending_order
|
13319
|
+
---------------------------------
|
13320
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13321
|
+
[1m[36mArticle Load (0.4ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13322
|
+
[1m[35mArticle Load (0.2ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13323
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13324
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
13325
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
13326
|
+
----------------------------------
|
13327
|
+
ArticleTest: test_Descending_order
|
13328
|
+
----------------------------------
|
13329
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13330
|
+
[1m[36mArticle Load (0.1ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 3]]
|
13331
|
+
[1m[35mArticle Load (0.0ms)[0m SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1 [["id", 2]]
|
13332
|
+
[1m[36mArticle Load (0.0ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13333
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13335
|
+
----------------------------------
|
13336
|
+
ArticleTest: test_Full_text_search
|
13337
|
+
----------------------------------
|
13338
|
+
[1m[35mArticle Load (0.3ms)[0m SELECT "articles".* FROM "articles" ORDER BY "articles"."id" ASC LIMIT 1000
|
13339
|
+
[1m[36mArticle Load (0.2ms)[0m [1mSELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT 1[0m [["id", 1]]
|
13340
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13341
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
13342
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "documents"
|
13343
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (1, 1, 1, 'my wonderful document', '2013-07-11 17:06:19.000000', 1, 1, 1, 'application/pdf', 'MyString', '2013-09-12 16:15:42')[0m
|
13344
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "folder_id", "room_id", "name", "updated_at", "uuid", "user_id", "file_size", "file_content_type", "state", "created_at") VALUES (2, 2, 2, 'another amazing document', '2013-07-11 17:06:19.000000', 1, 2, 2, 'application/xml', 'MyString', '2013-09-12 16:15:42')
|
13345
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
13346
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13347
|
+
----------------------------------
|
13348
|
+
DocumentTest: test_Search_document
|
13349
|
+
----------------------------------
|
13350
|
+
[1m[36mDocument Load (0.3ms)[0m [1mSELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000[0m
|
13351
|
+
[1m[35mDocument Load (0.4ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", 1]]
|
13352
|
+
[1m[36mDocument Load (0.2ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", 2]]
|
13353
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13354
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13355
|
+
----------------------------
|
13356
|
+
DocumentTest: test_the_truth
|
13357
|
+
----------------------------
|
13358
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" ORDER BY "documents"."id" ASC LIMIT 1000
|
13359
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13360
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13361
|
+
-----------------------------------------------------
|
13362
|
+
OssActiveRecordTest: test_OssActiveRecord_is_a_module
|
13363
|
+
-----------------------------------------------------
|
13364
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|