excel-data 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/excel-data.rb +2 -0
- data/lib/excel-data/excel_table.rb +55 -0
- data/lib/excel-data/version.rb +1 -1
- data/test/cor_ext_test.rb +3 -0
- data/test/dummy/app/assets/javascripts/application.js +0 -2
- data/test/dummy/app/controllers/home_controller.rb +5 -0
- data/test/dummy/app/views/home/index.html.erb +7 -0
- data/test/dummy/app/views/layouts/application.html.erb +0 -1
- data/test/dummy/config/initializers/excel_table.rb +1 -0
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/log/development.log +661 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- metadata +21 -2
data/lib/excel-data.rb
CHANGED
@@ -0,0 +1,55 @@
|
|
1
|
+
class ExcelTable
|
2
|
+
attr_accessor :kind
|
3
|
+
def initialize(kind="html")
|
4
|
+
@kind = kind
|
5
|
+
end
|
6
|
+
|
7
|
+
def generate_table(items)
|
8
|
+
begin
|
9
|
+
if items.first.class == Hash
|
10
|
+
table = {header:thead_from_hash(items.first),
|
11
|
+
body: tbody_from_hash(items)
|
12
|
+
}
|
13
|
+
elsif items.first.class == Array
|
14
|
+
table = {
|
15
|
+
header:thead_from_array(items.first),
|
16
|
+
body: tbody_from_array(items)
|
17
|
+
}
|
18
|
+
else
|
19
|
+
raise 'wrong data format'
|
20
|
+
end
|
21
|
+
|
22
|
+
rescue
|
23
|
+
puts 'Sorry, excel-data can only create tables from arrays of arrays or arrays of hashes atm'
|
24
|
+
end
|
25
|
+
return "<table>"+table[:header]+table[:body]+"</table>"
|
26
|
+
end
|
27
|
+
|
28
|
+
def thead_from_hash(hash)
|
29
|
+
array = hash.keys.map {|k| k.to_s.titleize}
|
30
|
+
thead_from_array(array)
|
31
|
+
end
|
32
|
+
def tbody_from_hash(array_of_hashes)
|
33
|
+
|
34
|
+
generate_tbody(array_of_hashes.collect {|k| k.values.flatten })
|
35
|
+
end
|
36
|
+
def tbody_from_array(array_of_arrays)
|
37
|
+
array_of_arrays.delete_at(0)
|
38
|
+
generate_tbody(array_of_arrays)
|
39
|
+
end
|
40
|
+
|
41
|
+
def generate_tbody(array_of_arrays)
|
42
|
+
table_body = array_of_arrays.collect { |row|
|
43
|
+
"<tr>" + (row.collect{|cell|
|
44
|
+
"<td>"+cell.to_s+"</td>"
|
45
|
+
}).join("\n")+"</tr>"
|
46
|
+
}
|
47
|
+
|
48
|
+
"<tbody>\n"+table_body.join("\n")+"</tbody>"
|
49
|
+
end
|
50
|
+
|
51
|
+
def thead_from_array(array)
|
52
|
+
"<thead>\n<tr>\n"+(array.collect {|k| "<th>"+k.to_s.titleize+"</th>" }.join("\n"))+"\n</tr>\n</thead>"
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
data/lib/excel-data/version.rb
CHANGED
data/test/cor_ext_test.rb
CHANGED
@@ -30,4 +30,7 @@ class CoreExtTest < Test::Unit::TestCase
|
|
30
30
|
excel_param = '?&scraper=["scraper","this is which scraper you want:"]&t=["timeframe","Enter default timeframe:"]&p=["profile","Enter default profile:"]&tq=["query","Enter query"]'
|
31
31
|
assert_equal(excel_param,hash.to_excel_param)
|
32
32
|
end
|
33
|
+
def test_to_html_table_from_hash
|
34
|
+
hash = {name:'joe',age:'15'}
|
35
|
+
end
|
33
36
|
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
Hash Table
|
2
|
+
<% items = [{name:'joe',age:13,alter:'batman'},{name:'will',age:14,alter:'batman'}] %>
|
3
|
+
<%= $et.generate_table(items).html_safe %>
|
4
|
+
|
5
|
+
Array Table
|
6
|
+
<% array_items = [["name","age"],["joe",13],["will",15]] %>
|
7
|
+
<%= $et.generate_table(array_items).html_safe %>
|
@@ -0,0 +1 @@
|
|
1
|
+
$et = ExcelTable.new
|
data/test/dummy/config/routes.rb
CHANGED
@@ -48,7 +48,7 @@ Dummy::Application.routes.draw do
|
|
48
48
|
|
49
49
|
# You can have the root of your site routed with "root"
|
50
50
|
# just remember to delete public/index.html.
|
51
|
-
|
51
|
+
root :to => 'home#index'
|
52
52
|
|
53
53
|
# See how all your routes lay out with "rake routes"
|
54
54
|
|
@@ -13,3 +13,664 @@ Connecting to database specified by database.yml
|
|
13
13
|
Connecting to database specified by database.yml
|
14
14
|
Connecting to database specified by database.yml
|
15
15
|
Connecting to database specified by database.yml
|
16
|
+
Connecting to database specified by database.yml
|
17
|
+
Connecting to database specified by database.yml
|
18
|
+
Connecting to database specified by database.yml
|
19
|
+
Connecting to database specified by database.yml
|
20
|
+
Connecting to database specified by database.yml
|
21
|
+
Connecting to database specified by database.yml
|
22
|
+
Connecting to database specified by database.yml
|
23
|
+
Connecting to database specified by database.yml
|
24
|
+
Connecting to database specified by database.yml
|
25
|
+
Connecting to database specified by database.yml
|
26
|
+
|
27
|
+
|
28
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:08:13 -0400
|
29
|
+
|
30
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
31
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
32
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
33
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
34
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
35
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
36
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
37
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
38
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
39
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
40
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
41
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
42
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
43
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
44
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
45
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
46
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
47
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
48
|
+
/Users/nsp2115/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
49
|
+
/Users/nsp2115/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
50
|
+
/Users/nsp2115/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
51
|
+
|
52
|
+
|
53
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.9ms)
|
54
|
+
|
55
|
+
|
56
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:08:57 -0400
|
57
|
+
|
58
|
+
ActionController::RoutingError (uninitialized constant HomeController):
|
59
|
+
activesupport (3.2.13) lib/active_support/inflector/methods.rb:230:in `block in constantize'
|
60
|
+
activesupport (3.2.13) lib/active_support/inflector/methods.rb:229:in `each'
|
61
|
+
activesupport (3.2.13) lib/active_support/inflector/methods.rb:229:in `constantize'
|
62
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
|
63
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:54:in `controller'
|
64
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:32:in `call'
|
65
|
+
journey (1.0.4) lib/journey/router.rb:68:in `block in call'
|
66
|
+
journey (1.0.4) lib/journey/router.rb:56:in `each'
|
67
|
+
journey (1.0.4) lib/journey/router.rb:56:in `call'
|
68
|
+
actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
|
69
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
|
70
|
+
rack (1.4.5) lib/rack/etag.rb:23:in `call'
|
71
|
+
rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
|
72
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
|
73
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
|
74
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
|
75
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
|
76
|
+
rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
|
77
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
|
78
|
+
activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
|
79
|
+
activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
|
80
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
81
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__190914082429903073__call__2493231651314712290__callbacks'
|
82
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
|
83
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
|
84
|
+
activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
85
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
86
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
|
87
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
|
88
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
|
89
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
90
|
+
railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
|
91
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
|
92
|
+
activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
|
93
|
+
railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
|
94
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
95
|
+
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
|
96
|
+
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
|
97
|
+
activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
98
|
+
rack (1.4.5) lib/rack/lock.rb:15:in `call'
|
99
|
+
actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
|
100
|
+
railties (3.2.13) lib/rails/engine.rb:479:in `call'
|
101
|
+
railties (3.2.13) lib/rails/application.rb:223:in `call'
|
102
|
+
rack (1.4.5) lib/rack/content_length.rb:14:in `call'
|
103
|
+
railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
|
104
|
+
rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
|
105
|
+
/Users/nsp2115/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
|
106
|
+
/Users/nsp2115/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
|
107
|
+
/Users/nsp2115/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
|
108
|
+
|
109
|
+
|
110
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
|
111
|
+
|
112
|
+
|
113
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:09:38 -0400
|
114
|
+
Processing by HomeController#index as HTML
|
115
|
+
Rendered home/index.html.erb within layouts/application (0.9ms)
|
116
|
+
Compiled application.css (1ms) (pid 72104)
|
117
|
+
Completed 500 Internal Server Error in 36ms
|
118
|
+
|
119
|
+
ActionView::Template::Error (couldn't find file 'jquery'
|
120
|
+
(in /Users/nsp2115/work/excel-data/test/dummy/app/assets/javascripts/application.js:13)):
|
121
|
+
3: <head>
|
122
|
+
4: <title>Dummy</title>
|
123
|
+
5: <%= stylesheet_link_tag "application", :media => "all" %>
|
124
|
+
6: <%= javascript_include_tag "application" %>
|
125
|
+
7: <%= csrf_meta_tags %>
|
126
|
+
8: </head>
|
127
|
+
9: <body>
|
128
|
+
app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__3383681258664216630_70327169833300'
|
129
|
+
|
130
|
+
|
131
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
132
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
133
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.0ms)
|
134
|
+
|
135
|
+
|
136
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:09:53 -0400
|
137
|
+
Processing by HomeController#index as HTML
|
138
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
139
|
+
Compiled application.js (0ms) (pid 72104)
|
140
|
+
Completed 200 OK in 45ms (Views: 44.8ms | ActiveRecord: 0.0ms)
|
141
|
+
|
142
|
+
|
143
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:09:53 -0400
|
144
|
+
Served asset /application.css - 200 OK (5ms)
|
145
|
+
|
146
|
+
|
147
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:09:53 -0400
|
148
|
+
Served asset /application.js - 200 OK (3ms)
|
149
|
+
|
150
|
+
|
151
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:10:23 -0400
|
152
|
+
Processing by HomeController#index as HTML
|
153
|
+
Rendered home/index.html.erb within layouts/application (0.3ms)
|
154
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
155
|
+
|
156
|
+
|
157
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:10:25 -0400
|
158
|
+
Processing by HomeController#index as HTML
|
159
|
+
Rendered home/index.html.erb within layouts/application (0.3ms)
|
160
|
+
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
|
161
|
+
|
162
|
+
|
163
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:10:25 -0400
|
164
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
165
|
+
|
166
|
+
|
167
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:10:25 -0400
|
168
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
169
|
+
Connecting to database specified by database.yml
|
170
|
+
|
171
|
+
|
172
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:10:37 -0400
|
173
|
+
Processing by HomeController#index as HTML
|
174
|
+
Rendered home/index.html.erb within layouts/application (6.7ms)
|
175
|
+
Completed 500 Internal Server Error in 42ms
|
176
|
+
|
177
|
+
ActionView::Template::Error (can't convert Array into String):
|
178
|
+
1: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
179
|
+
2: <%= $et.generate_table(items).html_safe %>
|
180
|
+
app/views/home/index.html.erb:2:in `_app_views_home_index_html_erb__1116295293952607700_70155576357020'
|
181
|
+
|
182
|
+
|
183
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
184
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
|
185
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.5ms)
|
186
|
+
|
187
|
+
|
188
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:10:40 -0400
|
189
|
+
Processing by HomeController#index as HTML
|
190
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
191
|
+
Completed 500 Internal Server Error in 3ms
|
192
|
+
|
193
|
+
ActionView::Template::Error (can't convert Array into String):
|
194
|
+
1: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
195
|
+
2: <%= $et.generate_table(items).html_safe %>
|
196
|
+
app/views/home/index.html.erb:2:in `_app_views_home_index_html_erb__1116295293952607700_70155576357020'
|
197
|
+
|
198
|
+
|
199
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
200
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
201
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.7ms)
|
202
|
+
|
203
|
+
|
204
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:11:16 -0400
|
205
|
+
Processing by HomeController#index as HTML
|
206
|
+
Rendered home/index.html.erb within layouts/application (0.7ms)
|
207
|
+
Completed 500 Internal Server Error in 2ms
|
208
|
+
|
209
|
+
ActionView::Template::Error (can't convert Array into String):
|
210
|
+
1: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
211
|
+
2: <%= $et.generate_table(items).html_safe %>
|
212
|
+
app/views/home/index.html.erb:2:in `_app_views_home_index_html_erb__1116295293952607700_70155576357020'
|
213
|
+
|
214
|
+
|
215
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
216
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
217
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.6ms)
|
218
|
+
Connecting to database specified by database.yml
|
219
|
+
Connecting to database specified by database.yml
|
220
|
+
|
221
|
+
|
222
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:13:02 -0400
|
223
|
+
Processing by HomeController#index as HTML
|
224
|
+
Rendered home/index.html.erb within layouts/application (2.7ms)
|
225
|
+
Completed 200 OK in 26ms (Views: 25.5ms | ActiveRecord: 0.0ms)
|
226
|
+
|
227
|
+
|
228
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:13:02 -0400
|
229
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
230
|
+
|
231
|
+
|
232
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:13:02 -0400
|
233
|
+
Served asset /application.js - 304 Not Modified (2ms)
|
234
|
+
|
235
|
+
|
236
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:14:17 -0400
|
237
|
+
Processing by HomeController#index as HTML
|
238
|
+
Rendered home/index.html.erb within layouts/application (0.1ms)
|
239
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
240
|
+
|
241
|
+
|
242
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:14:19 -0400
|
243
|
+
Processing by HomeController#index as HTML
|
244
|
+
Rendered home/index.html.erb within layouts/application (0.2ms)
|
245
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
246
|
+
|
247
|
+
|
248
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:14:20 -0400
|
249
|
+
Processing by HomeController#index as HTML
|
250
|
+
Rendered home/index.html.erb within layouts/application (0.2ms)
|
251
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
252
|
+
Connecting to database specified by database.yml
|
253
|
+
|
254
|
+
|
255
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:14:32 -0400
|
256
|
+
Processing by HomeController#index as HTML
|
257
|
+
Rendered home/index.html.erb within layouts/application (2.7ms)
|
258
|
+
Completed 200 OK in 20ms (Views: 19.2ms | ActiveRecord: 0.0ms)
|
259
|
+
|
260
|
+
|
261
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:15:44 -0400
|
262
|
+
Processing by HomeController#index as HTML
|
263
|
+
Rendered home/index.html.erb within layouts/application (1.5ms)
|
264
|
+
Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
265
|
+
|
266
|
+
|
267
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:15:48 -0400
|
268
|
+
Processing by HomeController#index as HTML
|
269
|
+
Rendered home/index.html.erb within layouts/application (0.5ms)
|
270
|
+
Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
271
|
+
|
272
|
+
|
273
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:15:48 -0400
|
274
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
275
|
+
|
276
|
+
|
277
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:15:48 -0400
|
278
|
+
Served asset /application.js - 304 Not Modified (2ms)
|
279
|
+
|
280
|
+
|
281
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:16:02 -0400
|
282
|
+
Processing by HomeController#index as HTML
|
283
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
284
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
285
|
+
|
286
|
+
|
287
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:16:03 -0400
|
288
|
+
Processing by HomeController#index as HTML
|
289
|
+
Rendered home/index.html.erb within layouts/application (0.5ms)
|
290
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
291
|
+
|
292
|
+
|
293
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:16:04 -0400
|
294
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
295
|
+
|
296
|
+
|
297
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:16:04 -0400
|
298
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
299
|
+
|
300
|
+
|
301
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:17:04 -0400
|
302
|
+
Processing by HomeController#index as HTML
|
303
|
+
Rendered home/index.html.erb within layouts/application (1.6ms)
|
304
|
+
Completed 200 OK in 6ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
305
|
+
|
306
|
+
|
307
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:17:04 -0400
|
308
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
309
|
+
|
310
|
+
|
311
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:17:04 -0400
|
312
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
313
|
+
|
314
|
+
|
315
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:17:07 -0400
|
316
|
+
Processing by HomeController#index as HTML
|
317
|
+
Rendered home/index.html.erb within layouts/application (0.5ms)
|
318
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
319
|
+
|
320
|
+
|
321
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:17:07 -0400
|
322
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
323
|
+
|
324
|
+
|
325
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:17:07 -0400
|
326
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
327
|
+
|
328
|
+
|
329
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:17:09 -0400
|
330
|
+
Processing by HomeController#index as HTML
|
331
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
332
|
+
Completed 200 OK in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
333
|
+
|
334
|
+
|
335
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:17:09 -0400
|
336
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
337
|
+
|
338
|
+
|
339
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:17:09 -0400
|
340
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
341
|
+
|
342
|
+
|
343
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:17:10 -0400
|
344
|
+
Processing by HomeController#index as HTML
|
345
|
+
Rendered home/index.html.erb within layouts/application (0.6ms)
|
346
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
347
|
+
|
348
|
+
|
349
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:17:10 -0400
|
350
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
351
|
+
|
352
|
+
|
353
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:17:10 -0400
|
354
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
355
|
+
|
356
|
+
|
357
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:17:10 -0400
|
358
|
+
Processing by HomeController#index as HTML
|
359
|
+
Rendered home/index.html.erb within layouts/application (0.6ms)
|
360
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
361
|
+
|
362
|
+
|
363
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:17:10 -0400
|
364
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
365
|
+
|
366
|
+
|
367
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:17:10 -0400
|
368
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
369
|
+
Connecting to database specified by database.yml
|
370
|
+
|
371
|
+
|
372
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:17:19 -0400
|
373
|
+
Processing by HomeController#index as HTML
|
374
|
+
Rendered home/index.html.erb within layouts/application (2.6ms)
|
375
|
+
Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.0ms)
|
376
|
+
|
377
|
+
|
378
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:17:19 -0400
|
379
|
+
Served asset /application.css - 304 Not Modified (3ms)
|
380
|
+
|
381
|
+
|
382
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:17:19 -0400
|
383
|
+
Served asset /application.js - 304 Not Modified (2ms)
|
384
|
+
|
385
|
+
|
386
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:18:02 -0400
|
387
|
+
Processing by HomeController#index as HTML
|
388
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
389
|
+
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
|
390
|
+
|
391
|
+
|
392
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:19:23 -0400
|
393
|
+
Processing by HomeController#index as HTML
|
394
|
+
Rendered home/index.html.erb within layouts/application (0.5ms)
|
395
|
+
Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
396
|
+
Connecting to database specified by database.yml
|
397
|
+
|
398
|
+
|
399
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:19:32 -0400
|
400
|
+
Processing by HomeController#index as HTML
|
401
|
+
Rendered home/index.html.erb within layouts/application (37.1ms)
|
402
|
+
Completed 500 Internal Server Error in 46ms
|
403
|
+
|
404
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
405
|
+
1: Hash Table
|
406
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
407
|
+
3: <%= $et.generate_table(items).html_safe %>
|
408
|
+
4:
|
409
|
+
5: Array Table
|
410
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
411
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb__1059953067086848400_70337162361580'
|
412
|
+
|
413
|
+
|
414
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
|
415
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
|
416
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.3ms)
|
417
|
+
|
418
|
+
|
419
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:19:34 -0400
|
420
|
+
Processing by HomeController#index as HTML
|
421
|
+
Rendered home/index.html.erb within layouts/application (0.9ms)
|
422
|
+
Completed 500 Internal Server Error in 2ms
|
423
|
+
|
424
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
425
|
+
1: Hash Table
|
426
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
427
|
+
3: <%= $et.generate_table(items).html_safe %>
|
428
|
+
4:
|
429
|
+
5: Array Table
|
430
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
431
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb__1059953067086848400_70337162361580'
|
432
|
+
|
433
|
+
|
434
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
435
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
436
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.0ms)
|
437
|
+
|
438
|
+
|
439
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:21:15 -0400
|
440
|
+
Processing by HomeController#index as HTML
|
441
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
442
|
+
Completed 500 Internal Server Error in 3ms
|
443
|
+
|
444
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
445
|
+
1: Hash Table
|
446
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
447
|
+
3: <%= $et.generate_table(items).html_safe %>
|
448
|
+
4:
|
449
|
+
5: Array Table
|
450
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
451
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb__1059953067086848400_70337162361580'
|
452
|
+
|
453
|
+
|
454
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
455
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
456
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.5ms)
|
457
|
+
Connecting to database specified by database.yml
|
458
|
+
|
459
|
+
|
460
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:21:30 -0400
|
461
|
+
Processing by HomeController#index as HTML
|
462
|
+
Rendered home/index.html.erb within layouts/application (45.1ms)
|
463
|
+
Completed 500 Internal Server Error in 62ms
|
464
|
+
|
465
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
466
|
+
1: Hash Table
|
467
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
468
|
+
3: <%= $et.generate_table(items).html_safe %>
|
469
|
+
4:
|
470
|
+
5: Array Table
|
471
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
472
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb___4016590929436309456_70328647240880'
|
473
|
+
|
474
|
+
|
475
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
|
476
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
477
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)
|
478
|
+
|
479
|
+
|
480
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:21:31 -0400
|
481
|
+
Processing by HomeController#index as HTML
|
482
|
+
Rendered home/index.html.erb within layouts/application (0.9ms)
|
483
|
+
Completed 500 Internal Server Error in 2ms
|
484
|
+
|
485
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
486
|
+
1: Hash Table
|
487
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
488
|
+
3: <%= $et.generate_table(items).html_safe %>
|
489
|
+
4:
|
490
|
+
5: Array Table
|
491
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
492
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb___4016590929436309456_70328647240880'
|
493
|
+
|
494
|
+
|
495
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
496
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
|
497
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.1ms)
|
498
|
+
|
499
|
+
|
500
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:21:31 -0400
|
501
|
+
Processing by HomeController#index as HTML
|
502
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
503
|
+
Completed 500 Internal Server Error in 3ms
|
504
|
+
|
505
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
506
|
+
1: Hash Table
|
507
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
508
|
+
3: <%= $et.generate_table(items).html_safe %>
|
509
|
+
4:
|
510
|
+
5: Array Table
|
511
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
512
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb___4016590929436309456_70328647240880'
|
513
|
+
|
514
|
+
|
515
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
|
516
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
|
517
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.7ms)
|
518
|
+
|
519
|
+
|
520
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:21:31 -0400
|
521
|
+
Processing by HomeController#index as HTML
|
522
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
523
|
+
Completed 500 Internal Server Error in 3ms
|
524
|
+
|
525
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
526
|
+
1: Hash Table
|
527
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
528
|
+
3: <%= $et.generate_table(items).html_safe %>
|
529
|
+
4:
|
530
|
+
5: Array Table
|
531
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
532
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb___4016590929436309456_70328647240880'
|
533
|
+
|
534
|
+
|
535
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
|
536
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
|
537
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.5ms)
|
538
|
+
|
539
|
+
|
540
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:21:33 -0400
|
541
|
+
Processing by HomeController#index as HTML
|
542
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
543
|
+
Completed 500 Internal Server Error in 2ms
|
544
|
+
|
545
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
546
|
+
1: Hash Table
|
547
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
548
|
+
3: <%= $et.generate_table(items).html_safe %>
|
549
|
+
4:
|
550
|
+
5: Array Table
|
551
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
552
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb___4016590929436309456_70328647240880'
|
553
|
+
|
554
|
+
|
555
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
556
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
557
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.0ms)
|
558
|
+
|
559
|
+
|
560
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:21:35 -0400
|
561
|
+
Processing by HomeController#index as HTML
|
562
|
+
Rendered home/index.html.erb within layouts/application (1.3ms)
|
563
|
+
Completed 500 Internal Server Error in 3ms
|
564
|
+
|
565
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
566
|
+
1: Hash Table
|
567
|
+
2: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
568
|
+
3: <%= $et.generate_table(items).html_safe %>
|
569
|
+
4:
|
570
|
+
5: Array Table
|
571
|
+
6: <% array_items = [["name","age"],["joe",13],["will",15]] %>
|
572
|
+
app/views/home/index.html.erb:3:in `_app_views_home_index_html_erb___4016590929436309456_70328647240880'
|
573
|
+
|
574
|
+
|
575
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
576
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
577
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (7.5ms)
|
578
|
+
|
579
|
+
|
580
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:22:12 -0400
|
581
|
+
Processing by HomeController#index as HTML
|
582
|
+
Rendered home/index.html.erb within layouts/application (0.7ms)
|
583
|
+
Completed 500 Internal Server Error in 10ms
|
584
|
+
|
585
|
+
ActionView::Template::Error (undefined method `[]' for nil:NilClass):
|
586
|
+
8: </head>
|
587
|
+
9: <body>
|
588
|
+
10: <% items = [{name:'joe',age:13},{name:'will',age:14}] %>
|
589
|
+
11: <%= $et.generate_table(items).html_safe %>
|
590
|
+
12: <%= yield %>
|
591
|
+
13:
|
592
|
+
14: </body>
|
593
|
+
app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___2201303185305196764_70328647218500'
|
594
|
+
|
595
|
+
|
596
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
|
597
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
|
598
|
+
Rendered /Users/nsp2115/.rvm/gems/ruby-1.9.2-p320/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.5ms)
|
599
|
+
Connecting to database specified by database.yml
|
600
|
+
|
601
|
+
|
602
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:22:42 -0400
|
603
|
+
Processing by HomeController#index as HTML
|
604
|
+
Rendered home/index.html.erb within layouts/application (3.3ms)
|
605
|
+
Completed 200 OK in 45ms (Views: 44.7ms | ActiveRecord: 0.0ms)
|
606
|
+
|
607
|
+
|
608
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:22:43 -0400
|
609
|
+
Served asset /application.js - 304 Not Modified (1ms)
|
610
|
+
|
611
|
+
|
612
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:22:43 -0400
|
613
|
+
Served asset /application.css - 304 Not Modified (1ms)
|
614
|
+
Connecting to database specified by database.yml
|
615
|
+
|
616
|
+
|
617
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:23:08 -0400
|
618
|
+
Processing by HomeController#index as HTML
|
619
|
+
Rendered home/index.html.erb within layouts/application (4.6ms)
|
620
|
+
Completed 200 OK in 25ms (Views: 24.3ms | ActiveRecord: 0.0ms)
|
621
|
+
|
622
|
+
|
623
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:23:08 -0400
|
624
|
+
Served asset /application.css - 304 Not Modified (2ms)
|
625
|
+
|
626
|
+
|
627
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:23:08 -0400
|
628
|
+
Served asset /application.js - 304 Not Modified (1ms)
|
629
|
+
|
630
|
+
|
631
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:23:31 -0400
|
632
|
+
Processing by HomeController#index as HTML
|
633
|
+
Rendered home/index.html.erb within layouts/application (0.7ms)
|
634
|
+
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
635
|
+
|
636
|
+
|
637
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:23:31 -0400
|
638
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
639
|
+
|
640
|
+
|
641
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:23:31 -0400
|
642
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
643
|
+
|
644
|
+
|
645
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:23:44 -0400
|
646
|
+
Processing by HomeController#index as HTML
|
647
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
648
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
649
|
+
|
650
|
+
|
651
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:23:45 -0400
|
652
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
653
|
+
|
654
|
+
|
655
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:23:45 -0400
|
656
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
657
|
+
|
658
|
+
|
659
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:23:56 -0400
|
660
|
+
Processing by HomeController#index as HTML
|
661
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
662
|
+
Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
663
|
+
|
664
|
+
|
665
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-03-26 00:23:57 -0400
|
666
|
+
Served asset /application.js - 304 Not Modified (0ms)
|
667
|
+
|
668
|
+
|
669
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-03-26 00:23:57 -0400
|
670
|
+
Served asset /application.css - 304 Not Modified (0ms)
|
671
|
+
|
672
|
+
|
673
|
+
Started GET "/" for 127.0.0.1 at 2013-03-26 00:24:23 -0400
|
674
|
+
Processing by HomeController#index as HTML
|
675
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
676
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excel-data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -68,6 +68,7 @@ extensions: []
|
|
68
68
|
extra_rdoc_files: []
|
69
69
|
files:
|
70
70
|
- lib/excel-data/cor_ext.rb
|
71
|
+
- lib/excel-data/excel_table.rb
|
71
72
|
- lib/excel-data/iqy.rb
|
72
73
|
- lib/excel-data/version.rb
|
73
74
|
- lib/excel-data.rb
|
@@ -79,7 +80,9 @@ files:
|
|
79
80
|
- test/dummy/app/assets/javascripts/application.js
|
80
81
|
- test/dummy/app/assets/stylesheets/application.css
|
81
82
|
- test/dummy/app/controllers/application_controller.rb
|
83
|
+
- test/dummy/app/controllers/home_controller.rb
|
82
84
|
- test/dummy/app/helpers/application_helper.rb
|
85
|
+
- test/dummy/app/views/home/index.html.erb
|
83
86
|
- test/dummy/app/views/layouts/application.html.erb
|
84
87
|
- test/dummy/config/application.rb
|
85
88
|
- test/dummy/config/boot.rb
|
@@ -89,6 +92,7 @@ files:
|
|
89
92
|
- test/dummy/config/environments/production.rb
|
90
93
|
- test/dummy/config/environments/test.rb
|
91
94
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
95
|
+
- test/dummy/config/initializers/excel_table.rb
|
92
96
|
- test/dummy/config/initializers/inflections.rb
|
93
97
|
- test/dummy/config/initializers/mime_types.rb
|
94
98
|
- test/dummy/config/initializers/secret_token.rb
|
@@ -108,6 +112,12 @@ files:
|
|
108
112
|
- test/dummy/Rakefile
|
109
113
|
- test/dummy/README.rdoc
|
110
114
|
- test/dummy/script/rails
|
115
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
116
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
117
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
118
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
119
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
120
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
111
121
|
- test/excel-data_test.rb
|
112
122
|
- test/iqy_test.rb
|
113
123
|
- test/test_helper.rb
|
@@ -141,7 +151,9 @@ test_files:
|
|
141
151
|
- test/dummy/app/assets/javascripts/application.js
|
142
152
|
- test/dummy/app/assets/stylesheets/application.css
|
143
153
|
- test/dummy/app/controllers/application_controller.rb
|
154
|
+
- test/dummy/app/controllers/home_controller.rb
|
144
155
|
- test/dummy/app/helpers/application_helper.rb
|
156
|
+
- test/dummy/app/views/home/index.html.erb
|
145
157
|
- test/dummy/app/views/layouts/application.html.erb
|
146
158
|
- test/dummy/config/application.rb
|
147
159
|
- test/dummy/config/boot.rb
|
@@ -151,6 +163,7 @@ test_files:
|
|
151
163
|
- test/dummy/config/environments/production.rb
|
152
164
|
- test/dummy/config/environments/test.rb
|
153
165
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
166
|
+
- test/dummy/config/initializers/excel_table.rb
|
154
167
|
- test/dummy/config/initializers/inflections.rb
|
155
168
|
- test/dummy/config/initializers/mime_types.rb
|
156
169
|
- test/dummy/config/initializers/secret_token.rb
|
@@ -170,6 +183,12 @@ test_files:
|
|
170
183
|
- test/dummy/Rakefile
|
171
184
|
- test/dummy/README.rdoc
|
172
185
|
- test/dummy/script/rails
|
186
|
+
- test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
187
|
+
- test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
188
|
+
- test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
|
189
|
+
- test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
190
|
+
- test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
|
191
|
+
- test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
173
192
|
- test/excel-data_test.rb
|
174
193
|
- test/iqy_test.rb
|
175
194
|
- test/test_helper.rb
|