ruby2xlsx 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -47,7 +47,7 @@ module Ruby2xlsx
47
47
 
48
48
  def each_with_index
49
49
  count = 0
50
- if @source.is_a?(::ActiveRecord::Relation)
50
+ if defined?(ActiveRecord) && @source.is_a?(::ActiveRecord::Relation)
51
51
  @klass ||= @source.klass
52
52
 
53
53
  @source.find_each do |item|
@@ -1,3 +1,3 @@
1
1
  module Ruby2xlsx
2
- VERSION = "0.0.2".freeze
2
+ VERSION = "0.0.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby2xlsx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-27 00:00:00.000000000 Z
12
+ date: 2013-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: writeexcel
16
- requirement: &85238090 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 0.6.12
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *85238090
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.6.12
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: activemodel
27
- requirement: &85237880 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *85237880
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: sqlite3
38
- requirement: &85237650 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *85237650
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: capybara
49
- requirement: &85237400 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,7 +69,12 @@ dependencies:
54
69
  version: 1.1.2
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *85237400
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 1.1.2
58
78
  description: Another gem for exporting data to Excel
59
79
  email:
60
80
  - galeta.igor@gmail.com
@@ -62,64 +82,62 @@ executables: []
62
82
  extensions: []
63
83
  extra_rdoc_files: []
64
84
  files:
65
- - lib/ruby2xlsx.rb
66
85
  - lib/tasks/ruby2xlsx_tasks.rake
86
+ - lib/ruby2xlsx/base.rb
87
+ - lib/ruby2xlsx/template.rb
88
+ - lib/ruby2xlsx/document.rb
67
89
  - lib/ruby2xlsx/default.rb
90
+ - lib/ruby2xlsx/version.rb
68
91
  - lib/ruby2xlsx/engine.rb
69
- - lib/ruby2xlsx/document.rb
70
- - lib/ruby2xlsx/base.rb
71
92
  - lib/ruby2xlsx/xrb.rb
72
- - lib/ruby2xlsx/version.rb
73
- - lib/ruby2xlsx/template.rb
93
+ - lib/ruby2xlsx.rb
74
94
  - MIT-LICENSE
75
95
  - Rakefile
76
96
  - README.rdoc
77
- - test/integration/navigation_test.rb
78
- - test/ruby2xlsx_test.rb
97
+ - test/support/integration_case.rb
98
+ - test/test_helper.rb
99
+ - test/dummy/config.ru
100
+ - test/dummy/Rakefile
79
101
  - test/dummy/public/500.html
80
- - test/dummy/public/404.html
81
102
  - test/dummy/public/favicon.ico
103
+ - test/dummy/public/404.html
82
104
  - test/dummy/public/422.html
83
105
  - test/dummy/app/views/layouts/application.html.erb
84
- - test/dummy/app/views/articles/new.html.erb
106
+ - test/dummy/app/views/articles/_form.html.erb
107
+ - test/dummy/app/views/articles/index.html.erb
85
108
  - test/dummy/app/views/articles/another.xlsx.xrb
109
+ - test/dummy/app/views/articles/new.html.erb
86
110
  - test/dummy/app/views/articles/edit.html.erb
87
- - test/dummy/app/views/articles/_form.html.erb
88
111
  - test/dummy/app/views/articles/show.html.erb
89
- - test/dummy/app/views/articles/index.html.erb
90
- - test/dummy/app/helpers/application_helper.rb
91
- - test/dummy/app/helpers/articles_helper.rb
92
112
  - test/dummy/app/models/article.rb
93
113
  - test/dummy/app/assets/stylesheets/articles.css
94
114
  - test/dummy/app/assets/stylesheets/scaffold.css
95
115
  - test/dummy/app/assets/stylesheets/application.css
96
116
  - test/dummy/app/assets/javascripts/articles.js
97
117
  - test/dummy/app/assets/javascripts/application.js
98
- - test/dummy/app/controllers/application_controller.rb
118
+ - test/dummy/app/helpers/application_helper.rb
119
+ - test/dummy/app/helpers/articles_helper.rb
99
120
  - test/dummy/app/controllers/articles_controller.rb
100
- - test/dummy/log/test.log
101
- - test/dummy/Rakefile
102
- - test/dummy/script/rails
121
+ - test/dummy/app/controllers/application_controller.rb
122
+ - test/dummy/config/database.yml
103
123
  - test/dummy/config/routes.rb
124
+ - test/dummy/config/application.rb
125
+ - test/dummy/config/locales/en.yml
126
+ - test/dummy/config/environment.rb
127
+ - test/dummy/config/boot.rb
104
128
  - test/dummy/config/environments/production.rb
105
129
  - test/dummy/config/environments/test.rb
106
130
  - test/dummy/config/environments/development.rb
107
- - test/dummy/config/boot.rb
108
- - test/dummy/config/application.rb
109
- - test/dummy/config/database.yml
110
- - test/dummy/config/initializers/session_store.rb
131
+ - test/dummy/config/initializers/secret_token.rb
111
132
  - test/dummy/config/initializers/inflections.rb
112
- - test/dummy/config/initializers/mime_types.rb
113
133
  - test/dummy/config/initializers/backtrace_silencers.rb
114
- - test/dummy/config/initializers/secret_token.rb
115
134
  - test/dummy/config/initializers/wrap_parameters.rb
116
- - test/dummy/config/environment.rb
117
- - test/dummy/config/locales/en.yml
135
+ - test/dummy/config/initializers/session_store.rb
136
+ - test/dummy/config/initializers/mime_types.rb
118
137
  - test/dummy/db/migrate/20120116125427_create_articles.rb
119
- - test/dummy/db/test.sqlite3
120
- - test/dummy/config.ru
121
- - test/support/integration_case.rb
122
- - test/test_helper.rb
138
+ - test/dummy/script/rails
139
+ - test/ruby2xlsx_test.rb
140
+ - test/integration/navigation_test.rb
123
141
  homepage: https://github.com/galetahub/ruby2xlsx
124
142
  licenses: []
125
143
  post_install_message:
@@ -140,55 +158,53 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
158
  version: '0'
141
159
  requirements: []
142
160
  rubyforge_project:
143
- rubygems_version: 1.8.10
161
+ rubygems_version: 1.8.25
144
162
  signing_key:
145
163
  specification_version: 3
146
164
  summary: ! 'Export your data to Excel. Provide two ways for export data: template
147
165
  or renderer.'
148
166
  test_files:
149
- - test/integration/navigation_test.rb
150
- - test/ruby2xlsx_test.rb
167
+ - test/support/integration_case.rb
168
+ - test/test_helper.rb
169
+ - test/dummy/config.ru
170
+ - test/dummy/Rakefile
151
171
  - test/dummy/public/500.html
152
- - test/dummy/public/404.html
153
172
  - test/dummy/public/favicon.ico
173
+ - test/dummy/public/404.html
154
174
  - test/dummy/public/422.html
155
175
  - test/dummy/app/views/layouts/application.html.erb
156
- - test/dummy/app/views/articles/new.html.erb
176
+ - test/dummy/app/views/articles/_form.html.erb
177
+ - test/dummy/app/views/articles/index.html.erb
157
178
  - test/dummy/app/views/articles/another.xlsx.xrb
179
+ - test/dummy/app/views/articles/new.html.erb
158
180
  - test/dummy/app/views/articles/edit.html.erb
159
- - test/dummy/app/views/articles/_form.html.erb
160
181
  - test/dummy/app/views/articles/show.html.erb
161
- - test/dummy/app/views/articles/index.html.erb
162
- - test/dummy/app/helpers/application_helper.rb
163
- - test/dummy/app/helpers/articles_helper.rb
164
182
  - test/dummy/app/models/article.rb
165
183
  - test/dummy/app/assets/stylesheets/articles.css
166
184
  - test/dummy/app/assets/stylesheets/scaffold.css
167
185
  - test/dummy/app/assets/stylesheets/application.css
168
186
  - test/dummy/app/assets/javascripts/articles.js
169
187
  - test/dummy/app/assets/javascripts/application.js
170
- - test/dummy/app/controllers/application_controller.rb
188
+ - test/dummy/app/helpers/application_helper.rb
189
+ - test/dummy/app/helpers/articles_helper.rb
171
190
  - test/dummy/app/controllers/articles_controller.rb
172
- - test/dummy/log/test.log
173
- - test/dummy/Rakefile
174
- - test/dummy/script/rails
191
+ - test/dummy/app/controllers/application_controller.rb
192
+ - test/dummy/config/database.yml
175
193
  - test/dummy/config/routes.rb
194
+ - test/dummy/config/application.rb
195
+ - test/dummy/config/locales/en.yml
196
+ - test/dummy/config/environment.rb
197
+ - test/dummy/config/boot.rb
176
198
  - test/dummy/config/environments/production.rb
177
199
  - test/dummy/config/environments/test.rb
178
200
  - test/dummy/config/environments/development.rb
179
- - test/dummy/config/boot.rb
180
- - test/dummy/config/application.rb
181
- - test/dummy/config/database.yml
182
- - test/dummy/config/initializers/session_store.rb
201
+ - test/dummy/config/initializers/secret_token.rb
183
202
  - test/dummy/config/initializers/inflections.rb
184
- - test/dummy/config/initializers/mime_types.rb
185
203
  - test/dummy/config/initializers/backtrace_silencers.rb
186
- - test/dummy/config/initializers/secret_token.rb
187
204
  - test/dummy/config/initializers/wrap_parameters.rb
188
- - test/dummy/config/environment.rb
189
- - test/dummy/config/locales/en.yml
205
+ - test/dummy/config/initializers/session_store.rb
206
+ - test/dummy/config/initializers/mime_types.rb
190
207
  - test/dummy/db/migrate/20120116125427_create_articles.rb
191
- - test/dummy/db/test.sqlite3
192
- - test/dummy/config.ru
193
- - test/support/integration_case.rb
194
- - test/test_helper.rb
208
+ - test/dummy/script/rails
209
+ - test/ruby2xlsx_test.rb
210
+ - test/integration/navigation_test.rb
Binary file
@@ -1,309 +0,0 @@
1
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2
- Migrating to CreateArticles (20120116125427)
3
-  (0.1ms) SAVEPOINT active_record_1
4
- SQL (50.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
5
-  (0.1ms) RELEASE SAVEPOINT active_record_1
6
-  (0.0ms) SAVEPOINT active_record_1
7
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
8
-  (0.0ms) RELEASE SAVEPOINT active_record_1
9
-  (0.1ms) SAVEPOINT active_record_1
10
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
11
-  (0.0ms) RELEASE SAVEPOINT active_record_1
12
-  (0.0ms) SAVEPOINT active_record_1
13
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
14
-  (0.0ms) RELEASE SAVEPOINT active_record_1
15
-  (0.1ms) SAVEPOINT active_record_1
16
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
17
-  (0.1ms) RELEASE SAVEPOINT active_record_1
18
-  (0.0ms) SAVEPOINT active_record_1
19
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
20
-  (0.0ms) RELEASE SAVEPOINT active_record_1
21
-  (0.0ms) SAVEPOINT active_record_1
22
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
23
-  (0.0ms) RELEASE SAVEPOINT active_record_1
24
-  (0.0ms) SAVEPOINT active_record_1
25
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
26
-  (0.0ms) RELEASE SAVEPOINT active_record_1
27
-  (0.0ms) SAVEPOINT active_record_1
28
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
29
-  (0.0ms) RELEASE SAVEPOINT active_record_1
30
-  (0.0ms) SAVEPOINT active_record_1
31
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:14:38 UTC +00:00]]
32
-  (0.0ms) RELEASE SAVEPOINT active_record_1
33
-
34
-
35
- Started GET "/another.xlsx" for 127.0.0.1 at 2012-03-27 12:14:39 +0300
36
- Processing by ArticlesController#another as XLSX
37
- Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY id DESC
38
- Rendered text template (0.0ms)
39
- Sent data another.xls (19.1ms)
40
- Rendered articles/another.xlsx.xrb (355.3ms)
41
- Completed 200 OK in 446ms (Views: 445.8ms | ActiveRecord: 0.0ms)
42
-  (0.0ms) SAVEPOINT active_record_1
43
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00]]
44
-  (0.0ms) RELEASE SAVEPOINT active_record_1
45
-  (0.0ms) SAVEPOINT active_record_1
46
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00]]
47
-  (0.0ms) RELEASE SAVEPOINT active_record_1
48
-  (0.0ms) SAVEPOINT active_record_1
49
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00]]
50
-  (0.0ms) RELEASE SAVEPOINT active_record_1
51
-  (0.0ms) SAVEPOINT active_record_1
52
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00]]
53
-  (0.0ms) RELEASE SAVEPOINT active_record_1
54
-  (0.0ms) SAVEPOINT active_record_1
55
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:14:39 UTC +00:00]]
56
-  (0.0ms) RELEASE SAVEPOINT active_record_1
57
-
58
-
59
- Started GET "/articles" for 127.0.0.1 at 2012-03-27 12:14:39 +0300
60
- Processing by ArticlesController#index as HTML
61
- Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY id DESC
62
- Rendered articles/index.html.erb within layouts/application (71.9ms)
63
- Completed 200 OK in 131ms (Views: 130.6ms | ActiveRecord: 0.2ms)
64
-
65
-
66
- Started GET "/articles.xlsx" for 127.0.0.1 at 2012-03-27 12:14:40 +0300
67
- Processing by ArticlesController#index as XLSX
68
- Scoped order and limit are ignored, it's forced to be batch order and batch size
69
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE ("articles"."id" >= 0) ORDER BY "articles"."id" ASC LIMIT 1000
70
- Rendered text template (0.0ms)
71
- Sent data articles.xls (0.5ms)
72
- Completed 200 OK in 41ms (Views: 41.1ms | ActiveRecord: 0.0ms)
73
-  (0.0ms) SAVEPOINT active_record_1
74
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00]]
75
-  (0.0ms) RELEASE SAVEPOINT active_record_1
76
-  (0.0ms) SAVEPOINT active_record_1
77
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00]]
78
-  (0.0ms) RELEASE SAVEPOINT active_record_1
79
-  (0.0ms) SAVEPOINT active_record_1
80
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00]]
81
-  (0.0ms) RELEASE SAVEPOINT active_record_1
82
-  (0.0ms) SAVEPOINT active_record_1
83
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00]]
84
-  (0.0ms) RELEASE SAVEPOINT active_record_1
85
-  (0.0ms) SAVEPOINT active_record_1
86
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:14:40 UTC +00:00]]
87
-  (0.0ms) RELEASE SAVEPOINT active_record_1
88
-
89
-
90
- Started GET "/empty.xlsx" for 127.0.0.1 at 2012-03-27 12:14:40 +0300
91
- Processing by ArticlesController#empty as XLSX
92
- Rendered text template (0.0ms)
93
- Sent data ruby2xlsx_defaults.xls (0.6ms)
94
- Completed 200 OK in 29ms (Views: 28.2ms | ActiveRecord: 0.0ms)
95
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
96
- Migrating to CreateArticles (20120116125427)
97
-  (0.1ms) SAVEPOINT active_record_1
98
- SQL (4.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
99
-  (0.1ms) RELEASE SAVEPOINT active_record_1
100
-  (0.0ms) SAVEPOINT active_record_1
101
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
102
-  (0.0ms) RELEASE SAVEPOINT active_record_1
103
-  (0.0ms) SAVEPOINT active_record_1
104
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
105
-  (0.0ms) RELEASE SAVEPOINT active_record_1
106
-  (0.0ms) SAVEPOINT active_record_1
107
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
108
-  (0.0ms) RELEASE SAVEPOINT active_record_1
109
-  (0.0ms) SAVEPOINT active_record_1
110
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
111
-  (0.0ms) RELEASE SAVEPOINT active_record_1
112
-  (0.0ms) SAVEPOINT active_record_1
113
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
114
-  (0.0ms) RELEASE SAVEPOINT active_record_1
115
-  (0.0ms) SAVEPOINT active_record_1
116
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
117
-  (0.0ms) RELEASE SAVEPOINT active_record_1
118
-  (0.0ms) SAVEPOINT active_record_1
119
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
120
-  (0.0ms) RELEASE SAVEPOINT active_record_1
121
-  (0.0ms) SAVEPOINT active_record_1
122
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
123
-  (0.0ms) RELEASE SAVEPOINT active_record_1
124
-  (0.0ms) SAVEPOINT active_record_1
125
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
126
-  (0.0ms) RELEASE SAVEPOINT active_record_1
127
-
128
-
129
- Started GET "/another.xlsx" for 127.0.0.1 at 2012-03-27 12:17:09 +0300
130
- Processing by ArticlesController#another as XLSX
131
- Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY id DESC
132
- Rendered text template (0.0ms)
133
- Sent data another.xls (2.0ms)
134
- Rendered articles/another.xlsx.xrb (208.0ms)
135
- Completed 200 OK in 247ms (Views: 246.8ms | ActiveRecord: 0.0ms)
136
-  (0.0ms) SAVEPOINT active_record_1
137
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
138
-  (0.0ms) RELEASE SAVEPOINT active_record_1
139
-  (0.0ms) SAVEPOINT active_record_1
140
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
141
-  (0.0ms) RELEASE SAVEPOINT active_record_1
142
-  (0.0ms) SAVEPOINT active_record_1
143
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
144
-  (0.0ms) RELEASE SAVEPOINT active_record_1
145
-  (0.0ms) SAVEPOINT active_record_1
146
- SQL (1.0ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
147
-  (0.0ms) RELEASE SAVEPOINT active_record_1
148
-  (0.0ms) SAVEPOINT active_record_1
149
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:17:09 UTC +00:00]]
150
-  (0.0ms) RELEASE SAVEPOINT active_record_1
151
-
152
-
153
- Started GET "/articles" for 127.0.0.1 at 2012-03-27 12:17:09 +0300
154
- Processing by ArticlesController#index as HTML
155
- Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY id DESC
156
- Rendered articles/index.html.erb within layouts/application (44.0ms)
157
- Completed 200 OK in 47ms (Views: 46.2ms | ActiveRecord: 0.2ms)
158
-
159
-
160
- Started GET "/articles.xlsx" for 127.0.0.1 at 2012-03-27 12:17:10 +0300
161
- Processing by ArticlesController#index as XLSX
162
- Scoped order and limit are ignored, it's forced to be batch order and batch size
163
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE ("articles"."id" >= 0) ORDER BY "articles"."id" ASC LIMIT 1000
164
- Rendered text template (0.0ms)
165
- Sent data articles.xls (0.5ms)
166
- Completed 200 OK in 41ms (Views: 41.2ms | ActiveRecord: 0.0ms)
167
-  (0.0ms) SAVEPOINT active_record_1
168
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00]]
169
-  (0.0ms) RELEASE SAVEPOINT active_record_1
170
-  (0.0ms) SAVEPOINT active_record_1
171
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00]]
172
-  (0.0ms) RELEASE SAVEPOINT active_record_1
173
-  (0.0ms) SAVEPOINT active_record_1
174
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00]]
175
-  (0.0ms) RELEASE SAVEPOINT active_record_1
176
-  (0.0ms) SAVEPOINT active_record_1
177
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00]]
178
-  (0.0ms) RELEASE SAVEPOINT active_record_1
179
-  (0.0ms) SAVEPOINT active_record_1
180
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:17:10 UTC +00:00]]
181
-  (0.0ms) RELEASE SAVEPOINT active_record_1
182
-
183
-
184
- Started GET "/empty.xlsx" for 127.0.0.1 at 2012-03-27 12:17:10 +0300
185
- Processing by ArticlesController#empty as XLSX
186
- Rendered text template (0.0ms)
187
- Sent data ruby2xlsx_defaults.xls (0.5ms)
188
- Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)
189
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
190
- Migrating to CreateArticles (20120116125427)
191
-  (0.1ms) SAVEPOINT active_record_1
192
- SQL (4.5ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00]]
193
-  (0.1ms) RELEASE SAVEPOINT active_record_1
194
-  (0.0ms) SAVEPOINT active_record_1
195
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00]]
196
-  (0.0ms) RELEASE SAVEPOINT active_record_1
197
-  (0.0ms) SAVEPOINT active_record_1
198
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00]]
199
-  (0.0ms) RELEASE SAVEPOINT active_record_1
200
-  (0.0ms) SAVEPOINT active_record_1
201
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00]]
202
-  (0.0ms) RELEASE SAVEPOINT active_record_1
203
-  (0.0ms) SAVEPOINT active_record_1
204
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00]]
205
-  (0.1ms) RELEASE SAVEPOINT active_record_1
206
-  (0.0ms) SAVEPOINT active_record_1
207
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00], ["title", "(\")\")"], ["updated_at", Tue, 27 Mar 2012 09:20:03 UTC +00:00]]
208
-  (0.1ms) RELEASE SAVEPOINT active_record_1
209
-
210
-
211
- Started GET "/articles.xlsx" for 127.0.0.1 at 2012-03-27 12:20:04 +0300
212
- Processing by ArticlesController#index as XLSX
213
- Scoped order and limit are ignored, it's forced to be batch order and batch size
214
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE ("articles"."id" >= 0) ORDER BY "articles"."id" ASC LIMIT 1000
215
- Rendered text template (0.0ms)
216
- Sent data articles.xls (39.3ms)
217
- Completed 200 OK in 239ms (Views: 238.5ms | ActiveRecord: 0.0ms)
218
-  (0.0ms) SAVEPOINT active_record_1
219
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
220
-  (0.0ms) RELEASE SAVEPOINT active_record_1
221
-  (0.0ms) SAVEPOINT active_record_1
222
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
223
-  (0.0ms) RELEASE SAVEPOINT active_record_1
224
-  (0.0ms) SAVEPOINT active_record_1
225
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
226
-  (0.0ms) RELEASE SAVEPOINT active_record_1
227
-  (0.0ms) SAVEPOINT active_record_1
228
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
229
-  (0.0ms) RELEASE SAVEPOINT active_record_1
230
-  (0.0ms) SAVEPOINT active_record_1
231
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
232
-  (0.0ms) RELEASE SAVEPOINT active_record_1
233
-  (0.0ms) SAVEPOINT active_record_1
234
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
235
-  (0.0ms) RELEASE SAVEPOINT active_record_1
236
-  (0.0ms) SAVEPOINT active_record_1
237
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
238
-  (0.0ms) RELEASE SAVEPOINT active_record_1
239
-  (0.0ms) SAVEPOINT active_record_1
240
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
241
-  (0.0ms) RELEASE SAVEPOINT active_record_1
242
-  (0.0ms) SAVEPOINT active_record_1
243
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
244
-  (0.0ms) RELEASE SAVEPOINT active_record_1
245
-  (0.0ms) SAVEPOINT active_record_1
246
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
247
-  (0.0ms) RELEASE SAVEPOINT active_record_1
248
-
249
-
250
- Started GET "/another.xlsx" for 127.0.0.1 at 2012-03-27 12:20:04 +0300
251
- Processing by ArticlesController#another as XLSX
252
- Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY id DESC
253
- Rendered text template (0.0ms)
254
- Sent data another.xls (0.6ms)
255
- Rendered articles/another.xlsx.xrb (46.0ms)
256
- Completed 200 OK in 47ms (Views: 46.8ms | ActiveRecord: 0.0ms)
257
-  (0.0ms) SAVEPOINT active_record_1
258
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
259
-  (0.0ms) RELEASE SAVEPOINT active_record_1
260
-  (0.0ms) SAVEPOINT active_record_1
261
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
262
-  (0.0ms) RELEASE SAVEPOINT active_record_1
263
-  (0.0ms) SAVEPOINT active_record_1
264
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
265
-  (0.0ms) RELEASE SAVEPOINT active_record_1
266
-  (0.0ms) SAVEPOINT active_record_1
267
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
268
-  (0.0ms) RELEASE SAVEPOINT active_record_1
269
-  (0.0ms) SAVEPOINT active_record_1
270
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
271
-  (0.0ms) RELEASE SAVEPOINT active_record_1
272
-
273
-
274
- Started GET "/articles" for 127.0.0.1 at 2012-03-27 12:20:04 +0300
275
- Processing by ArticlesController#index as HTML
276
- Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY id DESC
277
- Rendered articles/index.html.erb within layouts/application (12.3ms)
278
- Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.2ms)
279
-
280
-
281
- Started GET "/articles.xlsx" for 127.0.0.1 at 2012-03-27 12:20:04 +0300
282
- Processing by ArticlesController#index as XLSX
283
- Scoped order and limit are ignored, it's forced to be batch order and batch size
284
- Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE ("articles"."id" >= 0) ORDER BY "articles"."id" ASC LIMIT 1000
285
- Rendered text template (0.0ms)
286
- Sent data articles.xls (0.5ms)
287
- Completed 200 OK in 9ms (Views: 9.1ms | ActiveRecord: 0.0ms)
288
-  (0.0ms) SAVEPOINT active_record_1
289
- SQL (0.4ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 1"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
290
-  (0.0ms) RELEASE SAVEPOINT active_record_1
291
-  (0.0ms) SAVEPOINT active_record_1
292
- SQL (0.3ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 2"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
293
-  (0.0ms) RELEASE SAVEPOINT active_record_1
294
-  (0.0ms) SAVEPOINT active_record_1
295
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 3"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
296
-  (0.0ms) RELEASE SAVEPOINT active_record_1
297
-  (0.0ms) SAVEPOINT active_record_1
298
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 4"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
299
-  (0.0ms) RELEASE SAVEPOINT active_record_1
300
-  (0.0ms) SAVEPOINT active_record_1
301
- SQL (0.2ms) INSERT INTO "articles" ("content", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00], ["title", "Some article 5"], ["updated_at", Tue, 27 Mar 2012 09:20:04 UTC +00:00]]
302
-  (0.0ms) RELEASE SAVEPOINT active_record_1
303
-
304
-
305
- Started GET "/empty.xlsx" for 127.0.0.1 at 2012-03-27 12:20:04 +0300
306
- Processing by ArticlesController#empty as XLSX
307
- Rendered text template (0.0ms)
308
- Sent data ruby2xlsx_defaults.xls (0.6ms)
309
- Completed 200 OK in 38ms (Views: 38.0ms | ActiveRecord: 0.0ms)