axlsx_rails 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -18,7 +18,7 @@ gem 'axlsx_rails'
18
18
 
19
19
  ##Requirements
20
20
 
21
- * Rails 3.1, tested on 3.1, 3.2, 4.1, and 4.2.0.beta1
21
+ * Rails 3.1, tested on 3.1, 3.2, 4.1, and 4.2.0.beta4
22
22
  * **As of 0.2.0 requires Axlsx 2.0.1, which requires rubyzip 1.0.0**
23
23
  * As of Rails 4.1 you must use `render_to_string` to render a mail attachment.
24
24
 
@@ -69,8 +69,6 @@ render 'buttons'
69
69
  render 'featured/latest'
70
70
  # template and filename of 'buttons'
71
71
  render xlsx: 'buttons'
72
- # template from featured controller, filename of 'latest'
73
- render xlsx: 'featured/latest'
74
72
  # template from another controller, filename of 'latest_buttons'
75
73
  render xlsx: 'latest_buttons', template: 'featured/latest'
76
74
  ```
@@ -124,11 +122,11 @@ User.to_xlsx package: xlsx_package, (other options)
124
122
 
125
123
  Axlsx provides three options for initializing a spreadsheet:
126
124
 
127
- - **:author** (String) - The author of the document
128
- - **:created_at** (Time) - Timestamp in the document properties (defaults to current time)
129
- - **:use_shared_strings** (Boolean) - This is passed to the workbook to specify that shared strings should be used when serializing the package.
125
+ - **:xlsx_author** (String) - The author of the document
126
+ - **:xlsx_created_at** (Time) - Timestamp in the document properties (defaults to current time)
127
+ - **:xlsx_use_shared_strings** (Boolean) - This is passed to the workbook to specify that shared strings should be used when serializing the package.
130
128
 
131
- To pass these to the new package, prefix them with `xlsx_` and pass them to `render :xlsx` _or_ pass them as local variables.
129
+ To pass these to the new package, pass them to `render :xlsx` _or_ pass them as local variables.
132
130
 
133
131
  For example, to set the author name, pass the `:xlsx_author` parameter to `render :xlsx` _or_ as a local variable:
134
132
 
@@ -197,29 +195,27 @@ To generate a template within a script, you need to instantiate an ActionView co
197
195
  * If it says your template is missing, check that its extension is `.xlsx.axlsx`.
198
196
  * If you get the error `uninitialized constant Mime::XSLX` you have used `format.xslx` instead of `format.xlsx`, or something similar.
199
197
 
200
- ### Rails 4.2
198
+ ### Rails 4.2 changes
201
199
 
202
- In Rails 4.2, if you have a controller action that sometimes calls `render xlsx:` with a view from another controller, and at other times a view from the calling controller, you may have to specify full paths for each.
200
+ Before Rails 4.2 you could call:
203
201
 
204
- For example, suppose you have the following code:
202
+ ```ruby
203
+ render xlsx: "users/index"
204
+ ```
205
+
206
+ And axlsx_rails could adjust the paths and make sure the template was loaded from the right directory. This is no longer possible because the paths are cached between requests for a given controller. As a result, to display a template in another directory you must use the `:template` parameter (which is normal Rails behavior anyway):
205
207
 
206
208
  ```ruby
207
- class HomeController < ApplicationController
208
- def index
209
- if params[:some_condition]
210
- render xlsx: "users/index"
211
- else
212
- render xlsx: "index"
213
- end
214
- end
215
- end
209
+ render xlsx: "index", template: "users/index"
216
210
  ```
217
211
 
218
- In this case, for 4.2 you would need to change the second call to "home/index"
212
+ If the request format matches you should be able to call:
219
213
 
220
- Rails uses an array of strings, called `prefixes`, which contains the names of subdirectories to look inside when resolving a template. E.g. an action inside a Users controller would typically have `["users","application"]` as its prefix array. `axlsx_rails` adds to the prefixes array when you pass in a string with a slash so Rails can find your template. Rails 4.2.0.beta1 appears to cache the prefixes array between requests, so in the above example the `index` render is found inside the `users` folder instead of the `home` folder. To solve this, use absolute paths for each render call.
214
+ ```ruby
215
+ render "users/index"
216
+ ```
221
217
 
222
- When Rails 4.2 is released I will address this issue and come up with a solution.
218
+ This is a breaking change if you have the old syntax!
223
219
 
224
220
  ###What to do
225
221
 
@@ -244,10 +240,16 @@ Many thanks to [contributors](https://github.com/straydogstudio/axlsx_rails/grap
244
240
  * [engwan](https://github.com/engwan)
245
241
  * [maxd](https://github.com/maxd)
246
242
  * [firien](https://github.com/firien)
243
+ * [kaluzny](https://github.com/kaluznyo)
247
244
 
248
245
 
249
246
  ##Change log
250
247
 
248
+ **November 20th, 2014**: 0.3.0 release
249
+
250
+ - Support for Rails 4.2.beta4.
251
+ - **Removal of shorthand template syntax** (`render xlsx: 'another/directory'`)
252
+
251
253
  **September 4, 2014**: 0.2.1 release
252
254
 
253
255
  - Rails 4.2.beta1 no longer includes responder. This release checks for the existence of responder before configuring a default responder.
@@ -8,20 +8,11 @@ ActionController::Renderers.add :xlsx do |filename, options|
8
8
  formats[0] = :xlsx
9
9
  end
10
10
 
11
- #
12
- # The following code lets you call a separate view without
13
- # specifying a template:
14
- #
15
- # def called_action
16
- # render pdf: 'diff_action'
17
- # # or
18
- # render pdf: 'controller/diff_action'
19
- # end
20
11
  #
21
12
  # You can always specify a template:
22
13
  #
23
14
  # def called_action
24
- # render pdf: 'filename', template: 'controller/diff_action'
15
+ # render xlsx: 'filename', template: 'controller/diff_action'
25
16
  # end
26
17
  #
27
18
  # And the normal use case works:
@@ -33,13 +24,7 @@ ActionController::Renderers.add :xlsx do |filename, options|
33
24
  # end
34
25
  #
35
26
  if options[:template] == action_name
36
- if filename =~ /^([^\/]+)\/(.+)$/
37
- options[:prefixes] ||= []
38
- options[:prefixes].unshift $1
39
- options[:template] = $2
40
- else
41
- options[:template] = filename
42
- end
27
+ options[:template] = filename.gsub(/^.*\//,'')
43
28
  end
44
29
 
45
30
  # disposition / filename
@@ -64,7 +49,7 @@ end
64
49
  # For respond_to default
65
50
  begin
66
51
  ActionController::Responder
67
- rescue LoadError
52
+ rescue
68
53
  else
69
54
  class ActionController::Responder
70
55
  def to_xlsx
@@ -1,3 +1,3 @@
1
1
  module AxlsxRails
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -100,7 +100,7 @@ describe 'Axlsx request', :type => :request do
100
100
  @user = User.create name: 'Bugs', last_name: 'Bunny', address: '1234 Left Turn, Albuquerque NM 22222', email: 'bugs@bunny.com'
101
101
  visit "/users/#{@user.id}/render_elsewhere.xlsx"
102
102
  page.response_headers['Content-Type'].should == Mime::XLSX.to_s
103
- [[1,false],[2,false],[3,true],[4,true],[5,false]].reverse.each do |s|
103
+ [[1,false],[3,true],[4,true],[5,false]].reverse.each do |s|
104
104
  visit "/home/render_elsewhere.xlsx?type=#{s[0]}"
105
105
  page.response_headers['Content-Type'].should == Mime::XLSX.to_s +
106
106
  (s[1] ? "; charset=utf-8" : '')
@@ -23,7 +23,7 @@ class HomeController < ApplicationController
23
23
  when '1'
24
24
  render :xlsx => "home/index", :template => 'users/index'
25
25
  when '2'
26
- render :xlsx => "users/index"
26
+ render :xlsx => "users/index", :template => 'users/index'
27
27
  when '3'
28
28
  render template: "users/index"
29
29
  when '4'
@@ -13,6 +13,6 @@ class LikesController < ApplicationController
13
13
 
14
14
  def render_elsewhere
15
15
  @user = User.find(params[:user_id])
16
- render :xlsx => "users/index"
16
+ render :xlsx => "index", :template => 'users/index'
17
17
  end
18
18
  end
Binary file
@@ -1984,3 +1984,1237 @@ Completed 200 OK in 18.4ms (Views: 18.1ms | ActiveRecord: 0.0ms)
1984
1984
  Started GET "/" for 127.0.0.1 at 2014-09-04 12:20:26 -0700
1985
1985
  Processing by HomeController#index as HTML
1986
1986
  Completed 200 OK in 5.9ms (Views: 5.5ms | ActiveRecord: 0.0ms)
1987
+ Connecting to database specified by database.yml
1988
+  (0.1ms) select sqlite_version(*)
1989
+  (13.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1990
+  (16.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1991
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1992
+ Migrating to CreateUsers (20120717192452)
1993
+  (0.0ms) begin transaction
1994
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "address" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1995
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120717192452')
1996
+  (15.2ms) commit transaction
1997
+ Migrating to CreateLikes (20121206210955)
1998
+  (0.1ms) begin transaction
1999
+  (0.3ms) CREATE TABLE "likes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2000
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121206210955')
2001
+  (27.0ms) commit transaction
2002
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2003
+ Connecting to database specified by database.yml
2004
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2005
+  (0.0ms) begin transaction
2006
+ SQL (2.8ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00]]
2007
+  (13.6ms) commit transaction
2008
+  (0.0ms) begin transaction
2009
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00]]
2010
+  (20.1ms) commit transaction
2011
+ Started GET "/users.xlsx" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2012
+ Processing by UsersController#index as XLSX
2013
+ User Load (0.1ms) SELECT "users".* FROM "users"
2014
+ CACHE (0.0ms) SELECT "users".* FROM "users" 
2015
+ Rendered users/index.xlsx.axlsx (4.5ms)
2016
+ Completed 200 OK in 9.6ms (Views: 8.4ms | ActiveRecord: 0.1ms)
2017
+ Started GET "/useheader.xlsx?set_direct=true" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2018
+ Processing by HomeController#useheader as XLSX
2019
+ Parameters: {"set_direct"=>"true"}
2020
+ Completed 200 OK in 5.0ms (Views: 4.7ms | ActiveRecord: 0.0ms)
2021
+ Started GET "/another" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2022
+ Processing by HomeController#another as HTML
2023
+ Sent data filename_test.xlsx (0.7ms)
2024
+ Completed 200 OK in 5.8ms (Views: 5.6ms | ActiveRecord: 0.0ms)
2025
+ User Load (0.1ms) SELECT "users".* FROM "users"
2026
+  (0.0ms) begin transaction
2027
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
2028
+  (12.6ms) commit transaction
2029
+  (0.0ms) begin transaction
2030
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
2031
+  (11.4ms) commit transaction
2032
+  (0.0ms) begin transaction
2033
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00]]
2034
+  (17.3ms) commit transaction
2035
+ Started GET "/users/3/render_elsewhere.xlsx" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2036
+ Processing by LikesController#render_elsewhere as XLSX
2037
+ Parameters: {"user_id"=>"3"}
2038
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "3"]]
2039
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2040
+ Sent data index.xlsx (0.2ms)
2041
+ Completed 200 OK in 9.0ms (Views: 7.2ms | ActiveRecord: 0.2ms)
2042
+ Started GET "/home/render_elsewhere.xlsx?type=5" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2043
+ Processing by HomeController#render_elsewhere as XLSX
2044
+ Parameters: {"type"=>"5"}
2045
+ Sent data index.xlsx (0.2ms)
2046
+ Completed 200 OK in 4.7ms (Views: 4.5ms | ActiveRecord: 0.0ms)
2047
+ Started GET "/home/render_elsewhere.xlsx?type=4" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2048
+ Processing by HomeController#render_elsewhere as XLSX
2049
+ Parameters: {"type"=>"4"}
2050
+ User Load (0.1ms) SELECT "users".* FROM "users"
2051
+ Completed 200 OK in 10.7ms (Views: 10.5ms | ActiveRecord: 0.1ms)
2052
+ Started GET "/home/render_elsewhere.xlsx?type=3" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2053
+ Processing by HomeController#render_elsewhere as XLSX
2054
+ Parameters: {"type"=>"3"}
2055
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2056
+ Completed 200 OK in 4.7ms (Views: 4.5ms | ActiveRecord: 0.1ms)
2057
+ Started GET "/home/render_elsewhere.xlsx?type=2" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2058
+ Processing by HomeController#render_elsewhere as XLSX
2059
+ Parameters: {"type"=>"2"}
2060
+ User Load (0.1ms) SELECT "users".* FROM "users"
2061
+ Sent data index.xlsx (0.2ms)
2062
+ Completed 200 OK in 5.0ms (Views: 4.9ms | ActiveRecord: 0.0ms)
2063
+ Started GET "/home/render_elsewhere.xlsx?type=1" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2064
+ Processing by HomeController#render_elsewhere as XLSX
2065
+ Parameters: {"type"=>"1"}
2066
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2067
+ Sent data index.xlsx (0.2ms)
2068
+ Completed 200 OK in 5.2ms (Views: 5.1ms | ActiveRecord: 0.0ms)
2069
+  (0.0ms) begin transaction
2070
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00]]
2071
+  (15.9ms) commit transaction
2072
+ Started GET "/" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2073
+ Processing by HomeController#index as HTML
2074
+ Completed 200 OK in 2.9ms (Views: 2.6ms | ActiveRecord: 0.0ms)
2075
+ Started GET "/another.xlsx" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2076
+ Processing by HomeController#another as XLSX
2077
+ Sent data filename_test.xlsx (0.2ms)
2078
+ Completed 200 OK in 5.0ms (Views: 4.9ms | ActiveRecord: 0.0ms)
2079
+ Started GET "/withpartial.xlsx" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2080
+ Processing by HomeController#withpartial as XLSX
2081
+ Rendered home/_cover_sheet.xlsx.axlsx (3.4ms)
2082
+ Completed 200 OK in 10.7ms (Views: 10.4ms | ActiveRecord: 0.0ms)
2083
+ Started GET "/useheader.xlsx" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2084
+ Processing by HomeController#useheader as XLSX
2085
+ Sent data filename_test.xlsx (0.2ms)
2086
+ Completed 200 OK in 19.3ms (Views: 19.1ms | ActiveRecord: 0.0ms)
2087
+ Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2088
+ Processing by HomeController#index as XLSX
2089
+ Completed 200 OK in 4.8ms (Views: 4.7ms | ActiveRecord: 0.0ms)
2090
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2091
+  (0.0ms) begin transaction
2092
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
2093
+  (21.3ms) commit transaction
2094
+  (0.0ms) begin transaction
2095
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
2096
+  (19.8ms) commit transaction
2097
+  (0.0ms) begin transaction
2098
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Right Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Responder"], ["updated_at", Thu, 20 Nov 2014 22:46:05 UTC +00:00]]
2099
+  (18.5ms) commit transaction
2100
+ Started GET "/users/5.xlsx" for 127.0.0.1 at 2014-11-20 14:46:05 -0800
2101
+ Processing by UsersController#show as XLSX
2102
+ Parameters: {"id"=>"5"}
2103
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "5"]]
2104
+ Completed 200 OK in 7.7ms (Views: 6.6ms | ActiveRecord: 0.1ms)
2105
+ User Load (0.1ms) SELECT "users".* FROM "users"
2106
+  (0.0ms) begin transaction
2107
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
2108
+  (17.9ms) commit transaction
2109
+  (0.0ms) begin transaction
2110
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00]]
2111
+  (19.2ms) commit transaction
2112
+  (0.0ms) begin transaction
2113
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00], ["name", "Carrots"], ["updated_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00], ["user_id", 6]]
2114
+  (13.3ms) commit transaction
2115
+  (0.0ms) begin transaction
2116
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00], ["name", "Celery"], ["updated_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00], ["user_id", 6]]
2117
+  (21.0ms) commit transaction
2118
+ Started GET "/users/6/likes.xlsx" for 127.0.0.1 at 2014-11-20 14:46:06 -0800
2119
+ Processing by LikesController#index as XLSX
2120
+ Parameters: {"user_id"=>"6"}
2121
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "6"]]
2122
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = 6
2123
+ Completed 200 OK in 6.2ms (Views: 5.3ms | ActiveRecord: 0.2ms)
2124
+  (0.0ms) begin transaction
2125
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 20 Nov 2014 22:46:06 UTC +00:00]]
2126
+  (20.4ms) commit transaction
2127
+ Started GET "/users/7/send_instructions" for 127.0.0.1 at 2014-11-20 14:46:06 -0800
2128
+ Processing by UsersController#send_instructions as HTML
2129
+ Parameters: {"user_id"=>"7"}
2130
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "7"]]
2131
+
2132
+ Sent mail to elmer@fudd.com (5.0ms)
2133
+ Date: Thu, 20 Nov 2014 14:46:06 -0800
2134
+ From: noreply@company.com
2135
+ To: elmer@fudd.com
2136
+ Message-ID: <546e6f2e1ecc4_6a71c5b32c1558b@edoras.mail>
2137
+ Subject: Instructions
2138
+ Mime-Version: 1.0
2139
+ Content-Type: multipart/mixed;
2140
+ charset=UTF-8
2141
+ Content-Transfer-Encoding: 7bit
2142
+
2143
+
2144
+ --
2145
+ Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
2146
+ charset=UTF-8
2147
+ Content-Transfer-Encoding: base64
2148
+ Content-Disposition: attachment;
2149
+ filename=user_7.xlsx
2150
+ Content-ID: <546e6f2e1d042_6a71c5b32c1548b@edoras.mail>
2151
+
2152
+ UEsDBBQAAAAIAACAn+tjOGvU2QAAAEECAAALAAAAX3JlbHMvLnJlbHOtksFO
2153
+ wzAMhu88ReT7mm5ICKFluyCk3RAqD2ASt43axJEToLw9gQNiaAgOO1r2//3f
2154
+ wdv9Emb1QpI9RwPrpgVF0bLzcTDw2N2trmG/2z7QjKVe5NGnrGokZgNjKelG
2155
+ 62xHCpgbThTrpmcJWOoog05oJxxIb9r2Sst3BhwzVYcyUDGwzPqVZXpinpoK
2156
+ A9W9JfpPFfe9t3TL9jlQLCcaf1yAOjgDcnBr0L+4OLb3wjVpWejcNoEKOiz4
2157
+ CV+l2kNSPOUvr83fXpjSubVoKRQduVNGlx9G+ugVdhfvUEsDBBQAAAAIAACA
2158
+ n+vvyqPEyAEAAAkFAAANAAAAeGwvc3R5bGVzLnhtbKVU22rcMBB971cIfUBl
2159
+ bZpAF8tQAoZCEwrJQ1+1a3lt0MVIcrDz9RlJri1DQ5bUD6vR2XPOjEZjl87P
2160
+ Ujx1Qng0Kakdw533w5EQd+6E4u6rGYSGf1pjFfewtRfiBit444JISXIoijui
2161
+ eK9xVepR1co7dDaj9gwfVgil5WfDMC0KjJLdvWkEwzM8RCnSNBiRfwroewLU
2162
+ dUeljs5FJVnSV2Vr9FYFxQkAa64EeuGS4R+25xKDxr0mgNKwa7nq5bwgASBJ
2163
+ GJfg20u5O10AqnLg3gura9igJX6eB6hUGy2ARTJCMIvLB9KL5TM93L6njgtU
2164
+ dDK2EXZXU4IQcFKUIVK0HsUrZ9h38crORhqL7OXEcF0X8UnNDNyqtP2lu1oS
2165
+ yVXpzXCtAqihPO+NulaS2NnplgCacRZSPgWXP+3u9qcWJU4YJ7DZZiuOol5D
2166
+ 6OkSgu3Uwk9umRJk3jef857afZKdBf1/i10V9NuHHnwY5Pw4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AAABAAAApIHbCAAAeGwvd29ya3No
2232
+ ZWV0cy9zaGVldDEueG1sUEsFBgAAAAAJAAkATgIAANELAAAAAA==
2233
+
2234
+ ----
2235
+
2236
+ Completed 200 OK in 22.9ms (Views: 0.3ms | ActiveRecord: 0.1ms)
2237
+  (0.0ms) select sqlite_version(*)
2238
+  (24.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2239
+  (0.1ms) PRAGMA index_list("schema_migrations")
2240
+  (15.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2241
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2242
+ Migrating to CreateUsers (20120717192452)
2243
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "address" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime)
2244
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120717192452')
2245
+ Migrating to CreateLikes (20121206210955)
2246
+  (0.3ms) CREATE TABLE "likes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
2247
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121206210955')
2248
+  (0.2ms) select sqlite_version(*)
2249
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2250
+  (0.0ms) PRAGMA index_list("likes")
2251
+  (0.1ms) PRAGMA index_list("users")
2252
+ SQL (2.8ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 20 Nov 2014 22:47:57 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 20 Nov 2014 22:47:57 UTC +00:00]]
2253
+
2254
+
2255
+ Started GET "/users/1/send_instructions" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2256
+ Processing by UsersController#send_instructions as HTML
2257
+ Parameters: {"user_id"=>"1"}
2258
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2259
+ Rendered users/mailers/instructions.xlsx.axlsx (4.4ms)
2260
+
2261
+ Sent mail to elmer@fudd.com (6ms)
2262
+ Date: Thu, 20 Nov 2014 14:47:57 -0800
2263
+ From: noreply@company.com
2264
+ To: elmer@fudd.com
2265
+ Message-ID: <546e6f9dccd82_6b7eb93318210a6@edoras.mail>
2266
+ Subject: Instructions
2267
+ Mime-Version: 1.0
2268
+ Content-Type: multipart/mixed;
2269
+ charset=UTF-8
2270
+ Content-Transfer-Encoding: 7bit
2271
+
2272
+
2273
+
2274
+ --
2275
+ Date: Thu, 20 Nov 2014 14:47:57 -0800
2276
+ Mime-Version: 1.0
2277
+ Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
2278
+ charset=UTF-8
2279
+ Content-Transfer-Encoding: base64
2280
+ Content-Disposition: attachment;
2281
+ filename=user_1.xlsx
2282
+ Content-ID: <546e6f9dc9e1a_6b7eb93318209bf@edoras.mail>
2283
+
2284
+ UEsDBBQAAAAIAACAn+tjOGvU2QAAAEECAAALAAAAX3JlbHMvLnJlbHOtksFO
2285
+ wzAMhu88ReT7mm5ICKFluyCk3RAqD2ASt43axJEToLw9gQNiaAgOO1r2//3f
2286
+ wdv9Emb1QpI9RwPrpgVF0bLzcTDw2N2trmG/2z7QjKVe5NGnrGokZgNjKelG
2287
+ 62xHCpgbThTrpmcJWOoog05oJxxIb9r2Sst3BhwzVYcyUDGwzPqVZXpinpoK
2288
+ A9W9JfpPFfe9t3TL9jlQLCcaf1yAOjgDcnBr0L+4OLb3wjVpWejcNoEKOiz4
2289
+ CV+l2kNSPOUvr83fXpjSubVoKRQduVNGlx9G+ugVdhfvUEsDBBQAAAAIAACA
2290
+ n+vvyqPE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ApIH1AgAAZG9jUHJvcHMv
2355
+ Y29yZS54bWxQSwECNAMUAAAACAAAgJ/r0L5Pp44AAADiAAAAEAAAAAAAAAAB
2356
+ AAAApIEyBAAAZG9jUHJvcHMvYXBwLnhtbFBLAQI0AxQAAAAIAACAn+v4HK0l
2357
+ ugAAAJcBAAAaAAAAAAAAAAEAAACkge4EAAB4bC9fcmVscy93b3JrYm9vay54
2358
+ bWwucmVsc1BLAQI0AxQAAAAIAACAn+sxz6hmIwEAAIUDAAATAAAAAAAAAAEA
2359
+ AACkgeAFAABbQ29udGVudF9UeXBlc10ueG1sUEsBAjQDFAAAAAgAAICf62uS
2360
+ Pf7GAAAALwEAAA8AAAAAAAAAAQAAAKSBNAcAAHhsL3dvcmtib29rLnhtbFBL
2361
+ AQI0AxQAAAAIAACAn+vaKINqcwAAAIsAAAAjAAAAAAAAAAEAAACkgScIAAB4
2362
+ bC93b3Jrc2hlZXRzL19yZWxzL3NoZWV0MS54bWwucmVsc1BLAQI0AxQAAAAI
2363
+ AACAn+siPo8wvwIAAJEGAAAYAAAAAAAAAAEAAACkgdsIAAB4bC93b3Jrc2hl
2364
+ ZXRzL3NoZWV0MS54bWxQSwUGAAAAAAkACQBOAgAA0AsAAAAA
2365
+
2366
+
2367
+ ----
2368
+ Rendered text template (0.0ms)
2369
+ Completed 200 OK in 35ms (Views: 2.4ms | ActiveRecord: 0.1ms)
2370
+
2371
+
2372
+ Started GET "/withpartial.xlsx" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2373
+ Processing by HomeController#withpartial as XLSX
2374
+ Rendered home/_cover_sheet.xlsx.axlsx (3.9ms)
2375
+ Completed 200 OK in 13ms (Views: 12.8ms | ActiveRecord: 0.0ms)
2376
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2377
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
2378
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:47:57 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 20 Nov 2014 22:47:57 UTC +00:00]]
2379
+
2380
+
2381
+ Started GET "/users/2/render_elsewhere.xlsx" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2382
+ Processing by LikesController#render_elsewhere as XLSX
2383
+ Parameters: {"user_id"=>"2"}
2384
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2385
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2386
+ Sent data index.xlsx (0.3ms)
2387
+ Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.1ms)
2388
+
2389
+
2390
+ Started GET "/home/render_elsewhere.xlsx?type=5" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2391
+ Processing by HomeController#render_elsewhere as XLSX
2392
+ Parameters: {"type"=>"5"}
2393
+ Sent data index.xlsx (0.2ms)
2394
+ Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)
2395
+
2396
+
2397
+ Started GET "/home/render_elsewhere.xlsx?type=4" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2398
+ Processing by HomeController#render_elsewhere as XLSX
2399
+ Parameters: {"type"=>"4"}
2400
+ User Load (0.1ms) SELECT "users".* FROM "users"
2401
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.1ms)
2402
+
2403
+
2404
+ Started GET "/home/render_elsewhere.xlsx?type=3" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2405
+ Processing by HomeController#render_elsewhere as XLSX
2406
+ Parameters: {"type"=>"3"}
2407
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2408
+ Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.1ms)
2409
+
2410
+
2411
+ Started GET "/home/render_elsewhere.xlsx?type=2" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2412
+ Processing by HomeController#render_elsewhere as XLSX
2413
+ Parameters: {"type"=>"2"}
2414
+ User Load (0.1ms) SELECT "users".* FROM "users"
2415
+ Sent data index.xlsx (0.2ms)
2416
+ Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
2417
+
2418
+
2419
+ Started GET "/home/render_elsewhere.xlsx?type=1" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2420
+ Processing by HomeController#render_elsewhere as XLSX
2421
+ Parameters: {"type"=>"1"}
2422
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2423
+ Sent data index.xlsx (0.2ms)
2424
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
2425
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 20 Nov 2014 22:47:57 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 20 Nov 2014 22:47:57 UTC +00:00]]
2426
+
2427
+
2428
+ Started GET "/" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2429
+ Processing by HomeController#index as HTML
2430
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
2431
+
2432
+
2433
+ Started GET "/useheader.xlsx?set_direct=true" for 127.0.0.1 at 2014-11-20 14:47:57 -0800
2434
+ Processing by HomeController#useheader as XLSX
2435
+ Parameters: {"set_direct"=>"true"}
2436
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
2437
+
2438
+
2439
+ Started GET "/another.xlsx" for 127.0.0.1 at 2014-11-20 14:47:58 -0800
2440
+ Processing by HomeController#another as XLSX
2441
+ Sent data filename_test.xlsx (0.2ms)
2442
+ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
2443
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2444
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
2445
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
2446
+ SQL (0.6ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00]]
2447
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00]]
2448
+
2449
+
2450
+ Started GET "/users.xlsx" for 127.0.0.1 at 2014-11-20 14:47:58 -0800
2451
+ Processing by UsersController#index as XLSX
2452
+ User Load (0.2ms) SELECT "users".* FROM "users"
2453
+ CACHE (0.0ms) SELECT "users".* FROM "users" 
2454
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms)
2455
+ User Load (0.1ms) SELECT "users".* FROM "users"
2456
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
2457
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
2458
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00]]
2459
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["name", "Carrots"], ["updated_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["user_id", 6]]
2460
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["name", "Celery"], ["updated_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["user_id", 6]]
2461
+
2462
+
2463
+ Started GET "/users/6/likes.xlsx" for 127.0.0.1 at 2014-11-20 14:47:58 -0800
2464
+ Processing by LikesController#index as XLSX
2465
+ Parameters: {"user_id"=>"6"}
2466
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "6"]]
2467
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = 6
2468
+ Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.2ms)
2469
+
2470
+
2471
+ Started GET "/useheader.xlsx" for 127.0.0.1 at 2014-11-20 14:47:58 -0800
2472
+ Processing by HomeController#useheader as XLSX
2473
+ Sent data filename_test.xlsx (0.2ms)
2474
+ Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
2475
+
2476
+
2477
+ Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 14:47:58 -0800
2478
+ Processing by HomeController#index as XLSX
2479
+ Completed 200 OK in 26ms (Views: 25.7ms | ActiveRecord: 0.0ms)
2480
+ User Load (0.1ms) SELECT "users".* FROM "users"
2481
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
2482
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Right Turn, Albuquerque NM 22222"], ["created_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Responder"], ["updated_at", Thu, 20 Nov 2014 22:47:58 UTC +00:00]]
2483
+
2484
+
2485
+ Started GET "/users/7.xlsx" for 127.0.0.1 at 2014-11-20 14:47:58 -0800
2486
+ Processing by UsersController#show as XLSX
2487
+ Parameters: {"id"=>"7"}
2488
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "7"]]
2489
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
2490
+  (0.0ms) select sqlite_version(*)
2491
+  (20.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2492
+  (0.1ms) PRAGMA index_list("schema_migrations")
2493
+  (23.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2494
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2495
+ Migrating to CreateUsers (20120717192452)
2496
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "address" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime)
2497
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120717192452')
2498
+ Migrating to CreateLikes (20121206210955)
2499
+  (0.4ms) CREATE TABLE "likes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
2500
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121206210955')
2501
+  (0.2ms) select sqlite_version(*)
2502
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2503
+  (0.1ms) PRAGMA index_list("likes")
2504
+  (0.1ms) PRAGMA index_list("users")
2505
+ SQL (2.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00]]
2506
+
2507
+
2508
+ Started GET "/users/1/send_instructions" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2509
+ Processing by UsersController#send_instructions as HTML
2510
+ Parameters: {"user_id"=>"1"}
2511
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2512
+ Rendered users/mailers/instructions.xlsx.axlsx (3.8ms)
2513
+
2514
+ Sent mail to elmer@fudd.com (5ms)
2515
+ Date: Thu, 20 Nov 2014 16:21:16 -0800
2516
+ From: noreply@company.com
2517
+ To: elmer@fudd.com
2518
+ Message-ID: <546e857c609e7_531d83333035848@edoras.mail>
2519
+ Subject: Instructions
2520
+ Mime-Version: 1.0
2521
+ Content-Type: multipart/mixed;
2522
+ charset=UTF-8
2523
+ Content-Transfer-Encoding: 7bit
2524
+
2525
+
2526
+
2527
+ --
2528
+ Date: Thu, 20 Nov 2014 16:21:16 -0800
2529
+ Mime-Version: 1.0
2530
+ Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
2531
+ charset=UTF-8
2532
+ Content-Transfer-Encoding: base64
2533
+ Content-Disposition: attachment;
2534
+ filename=user_1.xlsx
2535
+ Content-ID: <546e857c5df44_531d8333303575c@edoras.mail>
2536
+
2537
+ UEsDBBQAAAAIAACAn+tjOGvU2QAAAEECAAALAAAAX3JlbHMvLnJlbHOtksFO
2538
+ wzAMhu88ReT7mm5ICKFluyCk3RAqD2ASt43axJEToLw9gQNiaAgOO1r2//3f
2539
+ wdv9Emb1QpI9RwPrpgVF0bLzcTDw2N2trmG/2z7QjKVe5NGnrGokZgNjKelG
2540
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2605
+ AAAApIEAAAAAX3JlbHMvLnJlbHNQSwECNAMUAAAACAAAgJ/r78qjxMgBAAAJ
2606
+ BQAADQAAAAAAAAABAAAApIECAQAAeGwvc3R5bGVzLnhtbFBLAQI0AxQAAAAI
2607
+ AACAn+thQpqxDQEAAOYBAAARAAAAAAAAAAEAAACkgfUCAABkb2NQcm9wcy9j
2608
+ b3JlLnhtbFBLAQI0AxQAAAAIAACAn+vQvk+njgAAAOIAAAAQAAAAAAAAAAEA
2609
+ AACkgTEEAABkb2NQcm9wcy9hcHAueG1sUEsBAjQDFAAAAAgAAICf6/gcrSW6
2610
+ AAAAlwEAABoAAAAAAAAAAQAAAKSB7QQAAHhsL19yZWxzL3dvcmtib29rLnht
2611
+ bC5yZWxzUEsBAjQDFAAAAAgAAICf6zHPqGYjAQAAhQMAABMAAAAAAAAAAQAA
2612
+ AKSB3wUAAFtDb250ZW50X1R5cGVzXS54bWxQSwECNAMUAAAACAAAgJ/ra5I9
2613
+ /sYAAAAvAQAADwAAAAAAAAABAAAApIEzBwAAeGwvd29ya2Jvb2sueG1sUEsB
2614
+ AjQDFAAAAAgAAICf69oog2pzAAAAiwAAACMAAAAAAAAAAQAAAKSBJggAAHhs
2615
+ L3dvcmtzaGVldHMvX3JlbHMvc2hlZXQxLnhtbC5yZWxzUEsBAjQDFAAAAAgA
2616
+ AICf6yI+jzC/AgAAkQYAABgAAAAAAAAAAQAAAKSB2ggAAHhsL3dvcmtzaGVl
2617
+ dHMvc2hlZXQxLnhtbFBLBQYAAAAACQAJAE4CAADPCwAAAAA=
2618
+
2619
+
2620
+ ----
2621
+ Rendered text template (0.0ms)
2622
+ Completed 200 OK in 60ms (Views: 2.4ms | ActiveRecord: 0.2ms)
2623
+
2624
+
2625
+ Started GET "/useheader.xlsx?set_direct=true" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2626
+ Processing by HomeController#useheader as XLSX
2627
+ Parameters: {"set_direct"=>"true"}
2628
+ Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
2629
+
2630
+
2631
+ Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2632
+ Processing by HomeController#index as XLSX
2633
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
2634
+
2635
+
2636
+ Started GET "/another.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2637
+ Processing by HomeController#another as XLSX
2638
+ prefixes: ["home", "application"]
2639
+ Sent data filename_test.xlsx (0.2ms)
2640
+ Completed 200 OK in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms)
2641
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2642
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
2643
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00]]
2644
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00]]
2645
+
2646
+
2647
+ Started GET "/users.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2648
+ Processing by UsersController#index as XLSX
2649
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2650
+ CACHE (0.0ms) SELECT "users".* FROM "users"
2651
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.1ms)
2652
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00]]
2653
+
2654
+
2655
+ Started GET "/" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2656
+ Processing by HomeController#index as HTML
2657
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
2658
+
2659
+
2660
+ Started GET "/useheader.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2661
+ Processing by HomeController#useheader as XLSX
2662
+ prefixes: ["home", "application"]
2663
+ Sent data filename_test.xlsx (0.2ms)
2664
+ Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
2665
+ User Load (0.1ms) SELECT "users".* FROM "users"
2666
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
2667
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
2668
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
2669
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Right Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Responder"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00]]
2670
+
2671
+
2672
+ Started GET "/users/5.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2673
+ Processing by UsersController#show as XLSX
2674
+ Parameters: {"id"=>"5"}
2675
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "5"]]
2676
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)
2677
+
2678
+
2679
+ Started GET "/withpartial.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2680
+ Processing by HomeController#withpartial as XLSX
2681
+ Rendered home/_cover_sheet.xlsx.axlsx (20.8ms)
2682
+ Completed 200 OK in 29ms (Views: 28.3ms | ActiveRecord: 0.0ms)
2683
+ User Load (0.1ms) SELECT "users".* FROM "users"
2684
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
2685
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00]]
2686
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["name", "Carrots"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["user_id", 6]]
2687
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["name", "Celery"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["user_id", 6]]
2688
+
2689
+
2690
+ Started GET "/users/6/likes.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2691
+ Processing by LikesController#index as XLSX
2692
+ Parameters: {"user_id"=>"6"}
2693
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "6"]]
2694
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = 6
2695
+ Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.2ms)
2696
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2697
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 6]]
2698
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:21:16 UTC +00:00]]
2699
+
2700
+
2701
+ Started GET "/users/7/render_elsewhere.xlsx" for 127.0.0.1 at 2014-11-20 16:21:16 -0800
2702
+ Processing by LikesController#render_elsewhere as XLSX
2703
+ Parameters: {"user_id"=>"7"}
2704
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "7"]]
2705
+ prefixes: ["likes", "application"]
2706
+ Completed 500 Internal Server Error in 3ms
2707
+  (0.0ms) select sqlite_version(*)
2708
+  (21.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2709
+  (0.1ms) PRAGMA index_list("schema_migrations")
2710
+  (16.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2711
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2712
+ Migrating to CreateUsers (20120717192452)
2713
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "address" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime)
2714
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120717192452')
2715
+ Migrating to CreateLikes (20121206210955)
2716
+  (0.2ms) CREATE TABLE "likes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime)
2717
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121206210955')
2718
+  (0.1ms) select sqlite_version(*)
2719
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2720
+  (0.0ms) PRAGMA index_list("likes")
2721
+  (0.0ms) PRAGMA index_list("users")
2722
+ SQL (2.1ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00]]
2723
+
2724
+
2725
+ Started GET "/users/1/send_instructions" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2726
+ Processing by UsersController#send_instructions as HTML
2727
+ Parameters: {"user_id"=>"1"}
2728
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "1"]]
2729
+ Rendered users/mailers/instructions.xlsx.axlsx (4.9ms)
2730
+
2731
+ Sent mail to elmer@fudd.com (5ms)
2732
+ Date: Thu, 20 Nov 2014 16:22:14 -0800
2733
+ From: noreply@company.com
2734
+ To: elmer@fudd.com
2735
+ Message-ID: <546e85b6999b7_535b41b338423d0@edoras.mail>
2736
+ Subject: Instructions
2737
+ Mime-Version: 1.0
2738
+ Content-Type: multipart/mixed;
2739
+ charset=UTF-8
2740
+ Content-Transfer-Encoding: 7bit
2741
+
2742
+
2743
+
2744
+ --
2745
+ Date: Thu, 20 Nov 2014 16:22:14 -0800
2746
+ Mime-Version: 1.0
2747
+ Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
2748
+ charset=UTF-8
2749
+ Content-Transfer-Encoding: base64
2750
+ Content-Disposition: attachment;
2751
+ filename=user_1.xlsx
2752
+ Content-ID: <546e85b696f97_535b41b338422cc@edoras.mail>
2753
+
2754
+ UEsD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cCnYA204bcWcziCozjXJUPF3lOaYijacrvj+ZGz2+70/f/Y+/mBqwymK
2820
+ qlek37s89z3hLktNr9HQeDWfB4NFQ6VIF09Zo/M6XMsE7eEtC8vUyoWzt+vc
2821
+ 5YltPy/Rp79QSwECNAMUAAAACAAAgJ/rYzhr1NkAAABBAgAACwAAAAAAAAAB
2822
+ AAAApIEAAAAAX3JlbHMvLnJlbHNQSwECNAMUAAAACAAAgJ/r78qjxMgBAAAJ
2823
+ BQAADQAAAAAAAAABAAAApIECAQAAeGwvc3R5bGVzLnhtbFBLAQI0AxQAAAAI
2824
+ AACAn+slTo3pDQEAAOYBAAARAAAAAAAAAAEAAACkgfUCAABkb2NQcm9wcy9j
2825
+ b3JlLnhtbFBLAQI0AxQAAAAIAACAn+vQvk+njgAAAOIAAAAQAAAAAAAAAAEA
2826
+ AACkgTEEAABkb2NQcm9wcy9hcHAueG1sUEsBAjQDFAAAAAgAAICf6/gcrSW6
2827
+ AAAAlwEAABoAAAAAAAAAAQAAAKSB7QQAAHhsL19yZWxzL3dvcmtib29rLnht
2828
+ bC5yZWxzUEsBAjQDFAAAAAgAAICf6zHPqGYjAQAAhQMAABMAAAAAAAAAAQAA
2829
+ AKSB3wUAAFtDb250ZW50X1R5cGVzXS54bWxQSwECNAMUAAAACAAAgJ/ra5I9
2830
+ /sYAAAAvAQAADwAAAAAAAAABAAAApIEzBwAAeGwvd29ya2Jvb2sueG1sUEsB
2831
+ AjQDFAAAAAgAAICf69oog2pzAAAAiwAAACMAAAAAAAAAAQAAAKSBJggAAHhs
2832
+ L3dvcmtzaGVldHMvX3JlbHMvc2hlZXQxLnhtbC5yZWxzUEsBAjQDFAAAAAgA
2833
+ AICf6yI+jzC/AgAAkQYAABgAAAAAAAAAAQAAAKSB2ggAAHhsL3dvcmtzaGVl
2834
+ dHMvc2hlZXQxLnhtbFBLBQYAAAAACQAJAE4CAADPCwAAAAA=
2835
+
2836
+
2837
+ ----
2838
+ Rendered text template (0.0ms)
2839
+ Completed 200 OK in 34ms (Views: 2.6ms | ActiveRecord: 0.2ms)
2840
+
2841
+
2842
+ Started GET "/withpartial.xlsx" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2843
+ Processing by HomeController#withpartial as XLSX
2844
+ Rendered home/_cover_sheet.xlsx.axlsx (3.1ms)
2845
+ Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
2846
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2847
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
2848
+ SQL (0.7ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00]]
2849
+
2850
+
2851
+ Started GET "/users/2/render_elsewhere.xlsx" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2852
+ Processing by LikesController#render_elsewhere as XLSX
2853
+ Parameters: {"user_id"=>"2"}
2854
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "2"]]
2855
+ prefixes: nil
2856
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2857
+ Sent data index.xlsx (0.3ms)
2858
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.1ms)
2859
+
2860
+
2861
+ Started GET "/home/render_elsewhere.xlsx?type=5" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2862
+ Processing by HomeController#render_elsewhere as XLSX
2863
+ Parameters: {"type"=>"5"}
2864
+ prefixes: ["home", "application"]
2865
+ Sent data index.xlsx (0.2ms)
2866
+ Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
2867
+
2868
+
2869
+ Started GET "/home/render_elsewhere.xlsx?type=4" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2870
+ Processing by HomeController#render_elsewhere as XLSX
2871
+ Parameters: {"type"=>"4"}
2872
+ User Load (0.1ms) SELECT "users".* FROM "users"
2873
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.1ms)
2874
+
2875
+
2876
+ Started GET "/home/render_elsewhere.xlsx?type=3" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2877
+ Processing by HomeController#render_elsewhere as XLSX
2878
+ Parameters: {"type"=>"3"}
2879
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2880
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.1ms)
2881
+
2882
+
2883
+ Started GET "/home/render_elsewhere.xlsx?type=2" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2884
+ Processing by HomeController#render_elsewhere as XLSX
2885
+ Parameters: {"type"=>"2"}
2886
+ prefixes: nil
2887
+ User Load (0.1ms) SELECT "users".* FROM "users"
2888
+ Sent data index.xlsx (0.2ms)
2889
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
2890
+
2891
+
2892
+ Started GET "/home/render_elsewhere.xlsx?type=1" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2893
+ Processing by HomeController#render_elsewhere as XLSX
2894
+ Parameters: {"type"=>"1"}
2895
+ prefixes: nil
2896
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2897
+ Sent data index.xlsx (0.2ms)
2898
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
2899
+ User Load (0.1ms) SELECT "users".* FROM "users"
2900
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
2901
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00]]
2902
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["name", "Carrots"], ["updated_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["user_id", 3]]
2903
+ SQL (0.2ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["name", "Celery"], ["updated_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["user_id", 3]]
2904
+
2905
+
2906
+ Started GET "/users/3/likes.xlsx" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2907
+ Processing by LikesController#index as XLSX
2908
+ Parameters: {"user_id"=>"3"}
2909
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "3"]]
2910
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = 3
2911
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.2ms)
2912
+
2913
+
2914
+ Started GET "/useheader.xlsx" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2915
+ Processing by HomeController#useheader as XLSX
2916
+ prefixes: ["home", "application"]
2917
+ Sent data filename_test.xlsx (0.2ms)
2918
+ Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)
2919
+
2920
+
2921
+ Started GET "/another.xlsx" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2922
+ Processing by HomeController#another as XLSX
2923
+ prefixes: ["home", "application"]
2924
+ Sent data filename_test.xlsx (0.2ms)
2925
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
2926
+
2927
+
2928
+ Started GET "/useheader.xlsx?set_direct=true" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2929
+ Processing by HomeController#useheader as XLSX
2930
+ Parameters: {"set_direct"=>"true"}
2931
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
2932
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2933
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
2934
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Right Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Responder"], ["updated_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00]]
2935
+
2936
+
2937
+ Started GET "/users/4.xlsx" for 127.0.0.1 at 2014-11-20 16:22:14 -0800
2938
+ Processing by UsersController#show as XLSX
2939
+ Parameters: {"id"=>"4"}
2940
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "4"]]
2941
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.1ms)
2942
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2943
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
2944
+ SQL (0.5ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:22:14 UTC +00:00]]
2945
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:15 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:22:15 UTC +00:00]]
2946
+
2947
+
2948
+ Started GET "/users.xlsx" for 127.0.0.1 at 2014-11-20 16:22:15 -0800
2949
+ Processing by UsersController#index as XLSX
2950
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2951
+ CACHE (0.0ms) SELECT "users".* FROM "users"
2952
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.1ms)
2953
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:22:15 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:22:15 UTC +00:00]]
2954
+
2955
+
2956
+ Started GET "/" for 127.0.0.1 at 2014-11-20 16:22:15 -0800
2957
+ Processing by HomeController#index as HTML
2958
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
2959
+
2960
+
2961
+ Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 16:22:15 -0800
2962
+ Processing by HomeController#index as XLSX
2963
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
2964
+ Connecting to database specified by database.yml
2965
+  (0.1ms) select sqlite_version(*)
2966
+  (14.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2967
+  (17.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2968
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
2969
+ Migrating to CreateUsers (20120717192452)
2970
+  (0.0ms) begin transaction
2971
+  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "address" varchar(255), "email" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2972
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120717192452')
2973
+  (24.1ms) commit transaction
2974
+ Migrating to CreateLikes (20121206210955)
2975
+  (0.1ms) begin transaction
2976
+  (0.6ms) CREATE TABLE "likes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2977
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121206210955')
2978
+  (23.2ms) commit transaction
2979
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2980
+ Connecting to database specified by database.yml
2981
+ Started GET "/useheader.xlsx?set_direct=true" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
2982
+ Processing by HomeController#useheader as XLSX
2983
+ Parameters: {"set_direct"=>"true"}
2984
+ Rendered home/useheader.xlsx.axlsx (5.8ms)
2985
+ Completed 200 OK in 9.9ms (Views: 9.6ms | ActiveRecord: 0.0ms)
2986
+ Started GET "/another.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
2987
+ Processing by HomeController#another as XLSX
2988
+ prefixes: ["home", "application"]
2989
+ Sent data filename_test.xlsx (1.0ms)
2990
+ Completed 200 OK in 6.3ms (Views: 6.1ms | ActiveRecord: 0.0ms)
2991
+ Started GET "/withpartial.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
2992
+ Processing by HomeController#withpartial as XLSX
2993
+ Rendered home/_cover_sheet.xlsx.axlsx (3.3ms)
2994
+ Completed 200 OK in 10.4ms (Views: 10.1ms | ActiveRecord: 0.0ms)
2995
+ User Load (0.1ms) SELECT "users".* FROM "users" 
2996
+  (0.1ms) begin transaction
2997
+ SQL (2.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00]]
2998
+  (23.5ms) commit transaction
2999
+  (0.1ms) begin transaction
3000
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00]]
3001
+  (14.7ms) commit transaction
3002
+ Started GET "/users.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3003
+ Processing by UsersController#index as XLSX
3004
+ User Load (0.1ms) SELECT "users".* FROM "users"
3005
+ CACHE (0.0ms) SELECT "users".* FROM "users" 
3006
+ Completed 200 OK in 7.2ms (Views: 6.2ms | ActiveRecord: 0.1ms)
3007
+ User Load (0.1ms) SELECT "users".* FROM "users"
3008
+  (0.0ms) begin transaction
3009
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
3010
+  (13.7ms) commit transaction
3011
+  (0.0ms) begin transaction
3012
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 2]]
3013
+  (23.6ms) commit transaction
3014
+  (0.0ms) begin transaction
3015
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Right Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Responder"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00]]
3016
+  (16.8ms) commit transaction
3017
+ Started GET "/users/3.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3018
+ Processing by UsersController#show as XLSX
3019
+ Parameters: {"id"=>"3"}
3020
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "3"]]
3021
+ Completed 200 OK in 15.0ms (Views: 13.2ms | ActiveRecord: 0.2ms)
3022
+ Started GET "/useheader.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3023
+ Processing by HomeController#useheader as XLSX
3024
+ prefixes: ["home", "application"]
3025
+ Sent data filename_test.xlsx (0.2ms)
3026
+ Completed 200 OK in 5.2ms (Views: 5.1ms | ActiveRecord: 0.0ms)
3027
+  (0.1ms) begin transaction
3028
+ SQL (0.4ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00]]
3029
+  (18.7ms) commit transaction
3030
+ Started GET "/" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3031
+ Processing by HomeController#index as HTML
3032
+ Completed 200 OK in 2.9ms (Views: 2.5ms | ActiveRecord: 0.0ms)
3033
+ Started GET "/another" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3034
+ Processing by HomeController#another as HTML
3035
+ prefixes: ["home", "application"]
3036
+ Sent data filename_test.xlsx (0.2ms)
3037
+ Completed 200 OK in 4.7ms (Views: 4.7ms | ActiveRecord: 0.0ms)
3038
+ Started GET "/home.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3039
+ Processing by HomeController#index as XLSX
3040
+ Completed 200 OK in 4.6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
3041
+ User Load (0.1ms) SELECT "users".* FROM "users"
3042
+  (0.0ms) begin transaction
3043
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 3]]
3044
+  (15.8ms) commit transaction
3045
+  (0.0ms) begin transaction
3046
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 4]]
3047
+  (19.2ms) commit transaction
3048
+  (0.0ms) begin transaction
3049
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00]]
3050
+  (33.2ms) commit transaction
3051
+ Started GET "/users/5/render_elsewhere.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3052
+ Processing by LikesController#render_elsewhere as XLSX
3053
+ Parameters: {"user_id"=>"5"}
3054
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "5"]]
3055
+ prefixes: nil
3056
+ User Load (0.1ms) SELECT "users".* FROM "users" 
3057
+ Sent data index.xlsx (0.2ms)
3058
+ Completed 200 OK in 7.1ms (Views: 6.2ms | ActiveRecord: 0.1ms)
3059
+ Started GET "/home/render_elsewhere.xlsx?type=5" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3060
+ Processing by HomeController#render_elsewhere as XLSX
3061
+ Parameters: {"type"=>"5"}
3062
+ prefixes: ["home", "application"]
3063
+ Sent data index.xlsx (0.2ms)
3064
+ Completed 200 OK in 4.4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
3065
+ Started GET "/home/render_elsewhere.xlsx?type=4" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3066
+ Processing by HomeController#render_elsewhere as XLSX
3067
+ Parameters: {"type"=>"4"}
3068
+ User Load (0.1ms) SELECT "users".* FROM "users"
3069
+ Completed 200 OK in 4.6ms (Views: 4.4ms | ActiveRecord: 0.1ms)
3070
+ Started GET "/home/render_elsewhere.xlsx?type=3" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3071
+ Processing by HomeController#render_elsewhere as XLSX
3072
+ Parameters: {"type"=>"3"}
3073
+ User Load (0.1ms) SELECT "users".* FROM "users" 
3074
+ Completed 200 OK in 4.5ms (Views: 4.3ms | ActiveRecord: 0.1ms)
3075
+ Started GET "/home/render_elsewhere.xlsx?type=2" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3076
+ Processing by HomeController#render_elsewhere as XLSX
3077
+ Parameters: {"type"=>"2"}
3078
+ prefixes: nil
3079
+ User Load (0.1ms) SELECT "users".* FROM "users"
3080
+ Sent data index.xlsx (0.2ms)
3081
+ Completed 200 OK in 21.5ms (Views: 21.4ms | ActiveRecord: 0.0ms)
3082
+ Started GET "/home/render_elsewhere.xlsx?type=1" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3083
+ Processing by HomeController#render_elsewhere as XLSX
3084
+ Parameters: {"type"=>"1"}
3085
+ prefixes: nil
3086
+ User Load (0.1ms) SELECT "users".* FROM "users" 
3087
+ Sent data index.xlsx (0.2ms)
3088
+ Completed 200 OK in 5.0ms (Views: 4.9ms | ActiveRecord: 0.0ms)
3089
+ User Load (0.1ms) SELECT "users".* FROM "users"
3090
+  (0.0ms) begin transaction
3091
+ SQL (0.2ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 5]]
3092
+  (20.6ms) commit transaction
3093
+  (0.0ms) begin transaction
3094
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Left Turn, Albuquerque NM 22222"], ["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["email", "bugs@bunny.com"], ["last_name", "Bunny"], ["name", "Bugs"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00]]
3095
+  (16.4ms) commit transaction
3096
+  (0.0ms) begin transaction
3097
+ SQL (0.4ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["name", "Carrots"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["user_id", 6]]
3098
+  (16.3ms) commit transaction
3099
+  (0.0ms) begin transaction
3100
+ SQL (0.3ms) INSERT INTO "likes" ("created_at", "name", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["name", "Celery"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["user_id", 6]]
3101
+  (15.2ms) commit transaction
3102
+ Started GET "/users/6/likes.xlsx" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3103
+ Processing by LikesController#index as XLSX
3104
+ Parameters: {"user_id"=>"6"}
3105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "6"]]
3106
+ Like Load (0.1ms) SELECT "likes".* FROM "likes" WHERE "likes"."user_id" = 6
3107
+ Completed 200 OK in 6.2ms (Views: 5.2ms | ActiveRecord: 0.2ms)
3108
+  (0.0ms) begin transaction
3109
+ SQL (0.3ms) INSERT INTO "users" ("address", "created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address", "1234 Somewhere, Over NY 11111"], ["created_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00], ["email", "elmer@fudd.com"], ["last_name", "Fudd"], ["name", "Elmer"], ["updated_at", Fri, 21 Nov 2014 00:22:22 UTC +00:00]]
3110
+  (16.5ms) commit transaction
3111
+ Started GET "/users/7/send_instructions" for 127.0.0.1 at 2014-11-20 16:22:22 -0800
3112
+ Processing by UsersController#send_instructions as HTML
3113
+ Parameters: {"user_id"=>"7"}
3114
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", "7"]]
3115
+
3116
+ Sent mail to elmer@fudd.com (5.4ms)
3117
+ Date: Thu, 20 Nov 2014 16:22:22 -0800
3118
+ From: noreply@company.com
3119
+ To: elmer@fudd.com
3120
+ Message-ID: <546e85bee5fe0_5393a69334469c5@edoras.mail>
3121
+ Subject: Instructions
3122
+ Mime-Version: 1.0
3123
+ Content-Type: multipart/mixed;
3124
+ charset=UTF-8
3125
+ Content-Transfer-Encoding: 7bit
3126
+
3127
+
3128
+ --
3129
+ Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
3130
+ charset=UTF-8
3131
+ Content-Transfer-Encoding: base64
3132
+ Content-Disposition: attachment;
3133
+ filename=user_7.xlsx
3134
+ Content-ID: <546e85bee3dbb_5393a69334468f4@edoras.mail>
3135
+
3136
+ UEsDBBQAAAAIAACAn+tjOGvU2QAAAEECAAALAAAAX3JlbHMvLnJlbHOtksFO
3137
+ wzAMhu88ReT7mm5ICKFluyCk3RAqD2ASt43axJEToLw9gQNiaAgOO1r2//3f
3138
+ wdv9Emb1QpI9RwPrpgVF0bLzcTDw2N2trmG/2z7QjKVe5NGnrGokZgNjKelG
3139
+ 62xHCpgbThTrpmcJWOoog05oJxxIb9r2Sst3BhwzVYcyUDGwzPqVZXpinpoK
3140
+ A9W9JfpPFfe9t3TL9jlQLCcaf1yAOjgDcnBr0L+4OLb3wjVpWejcNoEKOiz4
3141
+ CV+l2kNSPOUvr83fXpjSubVoKRQduVNGlx9G+ugVdhfvUEsDBBQAAAAIAACA
3142
+ n+vvyqPEyAEAAAkFAAANAAAAeGwvc3R5bGVzLnhtbKVU22rcMBB971cIfUBl
3143
+ bZpAF8tQAoZCEwrJQ1+1a3lt0MVIcrDz9RlJri1DQ5bUD6vR2XPOjEZjl87P
3144
+ Ujx1Qng0Kakdw533w5EQd+6E4u6rGYSGf1pjFfewtRfiBit444JISXIoijui
3145
+ eK9xVepR1co7dDaj9gwfVgil5WfDMC0KjJLdvWkEwzM8RCnSNBiRfwroewLU
3146
+ dUeljs5FJVnSV2Vr9FYFxQkAa64EeuGS4R+25xKDxr0mg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QI0AxQAAAAIAACAn+tr
3212
+ kj3+xgAAAC8BAAAPAAAAAAAAAAEAAACkgTQHAAB4bC93b3JrYm9vay54bWxQ
3213
+ SwECNAMUAAAACAAAgJ/r2iiDanMAAACLAAAAIwAAAAAAAAABAAAApIEnCAAA
3214
+ eGwvd29ya3NoZWV0cy9fcmVscy9zaGVldDEueG1sLnJlbHNQSwECNAMUAAAA
3215
+ CAAAgJ/rk7VUtsACAACRBgAAGAAAAAAAAAABAAAApIHbCAAAeGwvd29ya3No
3216
+ ZWV0cy9zaGVldDEueG1sUEsFBgAAAAAJAAkATgIAANELAAAAAA==
3217
+
3218
+ ----
3219
+
3220
+ Completed 200 OK in 22.9ms (Views: 0.2ms | ActiveRecord: 0.1ms)