payable 0.0.1

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.
Files changed (86) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/javascripts/payable/application.js +15 -0
  5. data/app/assets/stylesheets/payable/application.css +13 -0
  6. data/app/controllers/payable/application_controller.rb +4 -0
  7. data/app/controllers/payable/welcome_controller.rb +25 -0
  8. data/app/helpers/payable/application_helper.rb +4 -0
  9. data/app/models/payable/gateway_payment.rb +115 -0
  10. data/app/views/layouts/payable/application.html.erb +14 -0
  11. data/app/views/payable/welcome/index.html.erb +10 -0
  12. data/app/views/payable/welcome/json_form.html.erb +44 -0
  13. data/config/routes.rb +7 -0
  14. data/db/migrate/20120607044142_create_payable_gateway_payments.rb +20 -0
  15. data/lib/model_extensions.rb +97 -0
  16. data/lib/payable/engine.rb +5 -0
  17. data/lib/payable/version.rb +3 -0
  18. data/lib/payable.rb +6 -0
  19. data/lib/tasks/payable_tasks.rake +4 -0
  20. data/test/dummy/README.rdoc +261 -0
  21. data/test/dummy/Rakefile +7 -0
  22. data/test/dummy/app/assets/javascripts/application.js +15 -0
  23. data/test/dummy/app/assets/javascripts/welcome.js +2 -0
  24. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  25. data/test/dummy/app/assets/stylesheets/welcome.css +4 -0
  26. data/test/dummy/app/controllers/application_controller.rb +3 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/helpers/welcome_helper.rb +2 -0
  29. data/test/dummy/app/models/order.rb +16 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +18 -0
  31. data/test/dummy/config/application.rb +59 -0
  32. data/test/dummy/config/boot.rb +10 -0
  33. data/test/dummy/config/database.yml +25 -0
  34. data/test/dummy/config/environment.rb +5 -0
  35. data/test/dummy/config/environments/development.rb +37 -0
  36. data/test/dummy/config/environments/production.rb +67 -0
  37. data/test/dummy/config/environments/test.rb +37 -0
  38. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  39. data/test/dummy/config/initializers/inflections.rb +15 -0
  40. data/test/dummy/config/initializers/mime_types.rb +5 -0
  41. data/test/dummy/config/initializers/secret_token.rb +7 -0
  42. data/test/dummy/config/initializers/session_store.rb +8 -0
  43. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/test/dummy/config/locales/en.yml +5 -0
  45. data/test/dummy/config/routes.rb +4 -0
  46. data/test/dummy/config.ru +4 -0
  47. data/test/dummy/db/development.sqlite3 +0 -0
  48. data/test/dummy/db/migrate/20120608040630_create_orders.rb +10 -0
  49. data/test/dummy/db/schema.rb +33 -0
  50. data/test/dummy/log/development.log +3476 -0
  51. data/test/dummy/public/404.html +26 -0
  52. data/test/dummy/public/422.html +26 -0
  53. data/test/dummy/public/500.html +25 -0
  54. data/test/dummy/public/favicon.ico +0 -0
  55. data/test/dummy/script/rails +6 -0
  56. data/test/dummy/test/fixtures/orders.yml +7 -0
  57. data/test/dummy/test/functional/welcome_controller_test.rb +9 -0
  58. data/test/dummy/test/unit/helpers/welcome_helper_test.rb +4 -0
  59. data/test/dummy/test/unit/order_test.rb +7 -0
  60. data/test/dummy/teste.rb +11 -0
  61. data/test/dummy/tmp/cache/assets/C7B/190/sprockets%2F37b103f4623089af1456b90830fe941c +0 -0
  62. data/test/dummy/tmp/cache/assets/CD5/140/sprockets%2Fa21a126d87fb83916bd0862280727aca +0 -0
  63. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  64. data/test/dummy/tmp/cache/assets/D02/7C0/sprockets%2F5a91dd113f57ac4a330b9800376ed1e6 +0 -0
  65. data/test/dummy/tmp/cache/assets/D0D/4C0/sprockets%2F3e934303399d3f2cc7a8cf4c450ad254 +0 -0
  66. data/test/dummy/tmp/cache/assets/D13/C60/sprockets%2F2dedb8177c20286c4259c1d58c5646cc +0 -0
  67. data/test/dummy/tmp/cache/assets/D21/5D0/sprockets%2Fe2c4f946939f2d7d0b42d86383755cae +0 -0
  68. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  69. data/test/dummy/tmp/cache/assets/D35/E90/sprockets%2F7447bd893b001d61304c5ac3fe2bb88d +0 -0
  70. data/test/dummy/tmp/cache/assets/D3E/F40/sprockets%2F25a167c7563d6fe8ec6b13ec1ac09274 +0 -0
  71. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  72. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  73. data/test/dummy/tmp/cache/assets/D9B/F30/sprockets%2F661d4c52d1a8ccb7b4788bdc8a42ad63 +0 -0
  74. data/test/dummy/tmp/cache/assets/DAF/2C0/sprockets%2Fcab45e548fe8052c62e467fde4dfe368 +0 -0
  75. data/test/dummy/tmp/cache/assets/DBB/8C0/sprockets%2F32852d4d3d7bffa878dba0ac1e311b1b +0 -0
  76. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  77. data/test/dummy/tmp/cache/assets/E01/970/sprockets%2F299518aedad3aebe0edf5660d5ee57c2 +0 -0
  78. data/test/dummy/tmp/cache/assets/E03/DD0/sprockets%2Fc0b56c43d65acbf25696aced895cde6a +0 -0
  79. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  80. data/test/dummy/tmp/cache/assets/E54/0A0/sprockets%2F0c12aa3768b3dcccdeec7f29ed0b15ff +0 -0
  81. data/test/fixtures/payable/gateway_payments.yml +11 -0
  82. data/test/integration/navigation_test.rb +10 -0
  83. data/test/payable_test.rb +7 -0
  84. data/test/test_helper.rb +15 -0
  85. data/test/unit/payable/gateway_payment_test.rb +9 -0
  86. metadata +227 -0
@@ -0,0 +1,3476 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+  (0.2ms) select sqlite_version(*)
6
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
7
+  (0.1ms) PRAGMA index_list("schema_migrations")
8
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
10
+ Migrating to CreateOrders (20120608040630)
11
+  (0.1ms) begin transaction
12
+  (0.4ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
13
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120608040630')
14
+  (1.2ms) commit transaction
15
+  (0.3ms) select sqlite_version(*)
16
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
17
+  (0.0ms) PRAGMA index_list("orders")
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
+
22
+
23
+ Started GET "/assets/rails.png" for 127.0.0.1 at 2012-06-08 02:08:42 -0300
24
+ Served asset /rails.png - 404 Not Found (3ms)
25
+
26
+ ActionController::RoutingError (No route matches [GET] "/assets/rails.png"):
27
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
28
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
29
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
30
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
31
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
32
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
33
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
34
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
35
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
36
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
37
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
38
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
39
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
40
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
41
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
42
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
43
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
44
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
45
+
46
+
47
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (10.7ms)
48
+
49
+
50
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:09:05 -0300
51
+
52
+ ActionController::RoutingError (No route matches [GET] "/"):
53
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
54
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
55
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
56
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
57
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
58
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
59
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
60
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
61
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
62
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
63
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
64
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
65
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
66
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
67
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
68
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
69
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
70
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
71
+
72
+
73
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
74
+
75
+
76
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:09:08 -0300
77
+
78
+ ActionController::RoutingError (No route matches [GET] "/"):
79
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
80
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
81
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
82
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
83
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
84
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
85
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
86
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
87
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
88
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
89
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
90
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
91
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
92
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
93
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
94
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
95
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
96
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
97
+
98
+
99
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
100
+
101
+
102
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:09:10 -0300
103
+
104
+ ActionController::RoutingError (No route matches [GET] "/"):
105
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
106
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
107
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
108
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
109
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
110
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
111
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
112
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
113
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
114
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
115
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
116
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
117
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
118
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
119
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
120
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
121
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
122
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
123
+
124
+
125
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
126
+
127
+
128
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:09:11 -0300
129
+
130
+ ActionController::RoutingError (No route matches [GET] "/"):
131
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
132
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
133
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
134
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
135
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
136
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
137
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
138
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
139
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
140
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
141
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
142
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
143
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
144
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
145
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
146
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
147
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
148
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
149
+
150
+
151
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
152
+ Connecting to database specified by database.yml
153
+ Connecting to database specified by database.yml
154
+
155
+
156
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:10:16 -0300
157
+ Processing by WelcomeController#index as HTML
158
+ Rendered welcome/index.html.erb within layouts/application (9.3ms)
159
+ Compiled welcome.css (0ms) (pid 2427)
160
+ Compiled application.css (9ms) (pid 2427)
161
+ Compiled jquery.js (30ms) (pid 2427)
162
+ Compiled jquery_ujs.js (0ms) (pid 2427)
163
+ Compiled welcome.js (0ms) (pid 2427)
164
+ Compiled application.js (90ms) (pid 2427)
165
+ Completed 200 OK in 250ms (Views: 249.8ms | ActiveRecord: 0.0ms)
166
+
167
+
168
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:10:16 -0300
169
+ Served asset /welcome.css - 200 OK (2ms)
170
+
171
+
172
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:16 -0300
173
+ Served asset /welcome.js - 200 OK (2ms)
174
+
175
+
176
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:10:16 -0300
177
+ Served asset /application.css - 200 OK (5ms)
178
+
179
+
180
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:16 -0300
181
+ Served asset /application.js - 200 OK (6ms)
182
+
183
+
184
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:16 -0300
185
+ Served asset /jquery.js - 200 OK (2ms)
186
+
187
+
188
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:16 -0300
189
+ Served asset /jquery_ujs.js - 200 OK (2ms)
190
+
191
+
192
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:10:21 -0300
193
+ Processing by WelcomeController#index as HTML
194
+ Rendered welcome/index.html.erb within layouts/application (0.0ms)
195
+ Completed 200 OK in 8ms (Views: 8.0ms | ActiveRecord: 0.0ms)
196
+
197
+
198
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:10:21 -0300
199
+ Served asset /application.css - 304 Not Modified (0ms)
200
+
201
+
202
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:10:21 -0300
203
+ Served asset /welcome.css - 304 Not Modified (0ms)
204
+
205
+
206
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:21 -0300
207
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
208
+
209
+
210
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:21 -0300
211
+ Served asset /jquery.js - 304 Not Modified (0ms)
212
+
213
+
214
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:21 -0300
215
+ Served asset /welcome.js - 304 Not Modified (0ms)
216
+
217
+
218
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:10:21 -0300
219
+ Served asset /application.js - 304 Not Modified (0ms)
220
+ Connecting to database specified by database.yml
221
+
222
+
223
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:38:57 -0300
224
+ Processing by WelcomeController#index as HTML
225
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
226
+ SQLite3::SQLException: no such column: bill_status: SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
227
+ Completed 500 Internal Server Error in 109ms
228
+
229
+ ActiveRecord::StatementInvalid (SQLite3::SQLException: no such column: bill_status: SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')):
230
+ app/controllers/welcome_controller.rb:4:in `index'
231
+
232
+
233
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms)
234
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
235
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.9ms)
236
+ Connecting to database specified by database.yml
237
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
238
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
239
+ Migrating to CreateOrders (20120608040630)
240
+  (0.0ms) select sqlite_version(*)
241
+  (0.0ms) begin transaction
242
+  (0.6ms) DROP TABLE "orders"
243
+  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120608040630'
244
+  (2.2ms) commit transaction
245
+  (0.2ms) select sqlite_version(*)
246
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
247
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
248
+ Migrating to CreateOrders (20120608040630)
249
+  (0.0ms) begin transaction
250
+  (0.4ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" decimal, "bill_status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
251
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120608040630')
252
+  (1.9ms) commit transaction
253
+  (0.2ms) select sqlite_version(*)
254
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
255
+  (0.0ms) PRAGMA index_list("orders")
256
+ Connecting to database specified by database.yml
257
+
258
+
259
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:39:50 -0300
260
+ Processing by WelcomeController#index as HTML
261
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
262
+  (0.1ms) begin transaction
263
+  (0.0ms) rollback transaction
264
+ Completed 500 Internal Server Error in 169ms
265
+
266
+ ActiveRecord::StatementInvalid (Could not find table 'payable_gateway_payments'):
267
+ app/controllers/welcome_controller.rb:4:in `index'
268
+
269
+
270
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.3ms)
271
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
272
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (54.1ms)
273
+ Connecting to database specified by database.yml
274
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
275
+ Migrating to CreatePayableGatewayPayments (20120607044142)
276
+  (0.0ms) select sqlite_version(*)
277
+  (0.0ms) begin transaction
278
+  (0.5ms) CREATE TABLE "payable_gateway_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "payable_type" varchar(255), "payable_id" integer, "expires_at" datetime, "status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
279
+  (0.2ms) CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
280
+ SQLite3::SQLException: near "USING": syntax error: CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
281
+  (0.5ms) rollback transaction
282
+ Connecting to database specified by database.yml
283
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
284
+ Migrating to CreatePayableGatewayPayments (20120607044142)
285
+  (0.0ms) select sqlite_version(*)
286
+  (0.0ms) begin transaction
287
+  (0.5ms) CREATE TABLE "payable_gateway_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "payable_type" varchar(255), "payable_id" integer, "expires_at" datetime, "status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
288
+  (0.2ms) CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
289
+ SQLite3::SQLException: near "USING": syntax error: CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
290
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120607044142')
291
+  (2.6ms) commit transaction
292
+ Migrating to CreateOrders (20120608040630)
293
+  (0.3ms) select sqlite_version(*)
294
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
295
+  (0.0ms) PRAGMA index_list("orders")
296
+  (0.0ms) PRAGMA index_list("payable_gateway_payments")
297
+ Connecting to database specified by database.yml
298
+
299
+
300
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:46:57 -0300
301
+ Processing by WelcomeController#index as HTML
302
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
303
+  (0.1ms) begin transaction
304
+ SQL (14.8ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", nil], ["created_at", Fri, 08 Jun 2012 05:46:57 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 05:46:57 UTC +00:00], ["value", #<BigDecimal:1019540f0,'0.9378399999 999999E2',27(27)>]]
305
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 05:46:57 UTC +00:00], ["expires_at", nil], ["payable_id", 1], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 05:46:57 UTC +00:00]]
306
+  (2.6ms) commit transaction
307
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
308
+ Rendered welcome/index.html.erb within layouts/application (62.0ms)
309
+ Completed 500 Internal Server Error in 340ms
310
+
311
+ ActionView::Template::Error (undefined method `human_bill_status' for #<Order:0x00000104471bc0>):
312
+ 1: <h1>Welcome</h1>
313
+ 2: <% @orders.each do |order| %>
314
+ 3: <p>
315
+ 4: Pedido #<%= order.id %>, R$ <%= order.value %> - <%= order.human_bill_status %>
316
+ 5: </p>
317
+ 6: <% end %>
318
+ app/views/welcome/index.html.erb:4:in `block in _app_views_welcome_index_html_erb__772637832314385074_2184802780'
319
+ app/views/welcome/index.html.erb:2:in `each'
320
+ app/views/welcome/index.html.erb:2:in `_app_views_welcome_index_html_erb__772637832314385074_2184802780'
321
+
322
+
323
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
324
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
325
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.5ms)
326
+ Connecting to database specified by database.yml
327
+ Connecting to database specified by database.yml
328
+
329
+
330
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:48:58 -0300
331
+ Processing by WelcomeController#index as HTML
332
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
333
+  (0.1ms) begin transaction
334
+ SQL (14.5ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", nil], ["created_at", Fri, 08 Jun 2012 05:48:58 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 05:48:58 UTC +00:00], ["value", #<BigDecimal:101b514e8,'0.17276E2',18(18)>]]
335
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 05:48:58 UTC +00:00], ["expires_at", nil], ["payable_id", 2], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 05:48:58 UTC +00:00]]
336
+  (2.5ms) commit transaction
337
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
338
+ Rendered welcome/index.html.erb within layouts/application (11.4ms)
339
+ Completed 200 OK in 319ms (Views: 102.7ms | ActiveRecord: 26.6ms)
340
+
341
+
342
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:48:58 -0300
343
+ Served asset /welcome.css - 304 Not Modified (2ms)
344
+
345
+
346
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:48:58 -0300
347
+ Served asset /application.css - 304 Not Modified (6ms)
348
+
349
+
350
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:48:58 -0300
351
+ Served asset /jquery.js - 304 Not Modified (3ms)
352
+
353
+
354
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:48:58 -0300
355
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
356
+
357
+
358
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:48:58 -0300
359
+ Served asset /welcome.js - 304 Not Modified (1ms)
360
+
361
+
362
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:48:58 -0300
363
+ Served asset /application.js - 304 Not Modified (7ms)
364
+
365
+
366
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:49:01 -0300
367
+ Processing by WelcomeController#index as HTML
368
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
369
+  (0.1ms) begin transaction
370
+ SQL (0.4ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", nil], ["created_at", Fri, 08 Jun 2012 05:49:01 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 05:49:01 UTC +00:00], ["value", #<BigDecimal:1019403e8,'0.83912E2',18(18)>]]
371
+ SQL (0.2ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 05:49:01 UTC +00:00], ["expires_at", nil], ["payable_id", 3], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 05:49:01 UTC +00:00]]
372
+  (2.5ms) commit transaction
373
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
374
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
375
+ Completed 200 OK in 14ms (Views: 5.2ms | ActiveRecord: 3.5ms)
376
+
377
+
378
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:01 -0300
379
+ Served asset /welcome.css - 304 Not Modified (0ms)
380
+
381
+
382
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:01 -0300
383
+ Served asset /jquery.js - 304 Not Modified (0ms)
384
+
385
+
386
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:01 -0300
387
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
388
+
389
+
390
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:01 -0300
391
+ Served asset /application.css - 304 Not Modified (0ms)
392
+
393
+
394
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:01 -0300
395
+ Served asset /welcome.js - 304 Not Modified (0ms)
396
+
397
+
398
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:01 -0300
399
+ Served asset /application.js - 304 Not Modified (0ms)
400
+
401
+
402
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:49:02 -0300
403
+ Processing by WelcomeController#index as HTML
404
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
405
+  (0.0ms) begin transaction
406
+ SQL (0.5ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", nil], ["created_at", Fri, 08 Jun 2012 05:49:02 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 05:49:02 UTC +00:00], ["value", #<BigDecimal:102886690,'0.10489E3',18(18)>]]
407
+ SQL (0.2ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 05:49:02 UTC +00:00], ["expires_at", nil], ["payable_id", 4], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 05:49:02 UTC +00:00]]
408
+  (1.5ms) commit transaction
409
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
410
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
411
+ Completed 200 OK in 12ms (Views: 4.9ms | ActiveRecord: 2.5ms)
412
+
413
+
414
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:02 -0300
415
+ Served asset /welcome.css - 304 Not Modified (0ms)
416
+
417
+
418
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:02 -0300
419
+ Served asset /application.css - 304 Not Modified (0ms)
420
+
421
+
422
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:02 -0300
423
+ Served asset /jquery.js - 304 Not Modified (0ms)
424
+
425
+
426
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:02 -0300
427
+ Served asset /application.js - 304 Not Modified (0ms)
428
+
429
+
430
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:02 -0300
431
+ Served asset /welcome.js - 304 Not Modified (0ms)
432
+
433
+
434
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:02 -0300
435
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
436
+
437
+
438
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:49:46 -0300
439
+ Processing by WelcomeController#index as HTML
440
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (coalesce(bill_status, 'open') = 'open')
441
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
442
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
443
+ Completed 200 OK in 63ms (Views: 5.9ms | ActiveRecord: 0.7ms)
444
+
445
+
446
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:46 -0300
447
+ Served asset /welcome.css - 304 Not Modified (0ms)
448
+
449
+
450
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:46 -0300
451
+ Served asset /jquery.js - 304 Not Modified (0ms)
452
+
453
+
454
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:46 -0300
455
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
456
+
457
+
458
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:46 -0300
459
+ Served asset /welcome.js - 304 Not Modified (0ms)
460
+
461
+
462
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:46 -0300
463
+ Served asset /application.css - 304 Not Modified (0ms)
464
+
465
+
466
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:46 -0300
467
+ Served asset /application.js - 304 Not Modified (0ms)
468
+
469
+
470
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:49:47 -0300
471
+ Processing by WelcomeController#index as HTML
472
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (coalesce(bill_status, 'open') = 'open')
473
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
474
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
475
+ Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms)
476
+
477
+
478
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:47 -0300
479
+ Served asset /application.css - 304 Not Modified (0ms)
480
+
481
+
482
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:47 -0300
483
+ Served asset /jquery.js - 304 Not Modified (0ms)
484
+
485
+
486
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:47 -0300
487
+ Served asset /welcome.js - 304 Not Modified (0ms)
488
+
489
+
490
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:47 -0300
491
+ Served asset /welcome.css - 304 Not Modified (0ms)
492
+
493
+
494
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:47 -0300
495
+ Served asset /application.js - 304 Not Modified (0ms)
496
+
497
+
498
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:47 -0300
499
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
500
+
501
+
502
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:49:48 -0300
503
+ Processing by WelcomeController#index as HTML
504
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (coalesce(bill_status, 'open') = 'open')
505
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
506
+ Rendered welcome/index.html.erb within layouts/application (0.3ms)
507
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms)
508
+
509
+
510
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:48 -0300
511
+ Served asset /application.css - 304 Not Modified (0ms)
512
+
513
+
514
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:49:48 -0300
515
+ Served asset /welcome.css - 304 Not Modified (0ms)
516
+
517
+
518
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:48 -0300
519
+ Served asset /jquery.js - 304 Not Modified (0ms)
520
+
521
+
522
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:48 -0300
523
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
524
+
525
+
526
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:48 -0300
527
+ Served asset /welcome.js - 304 Not Modified (0ms)
528
+
529
+
530
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:49:48 -0300
531
+ Served asset /application.js - 304 Not Modified (0ms)
532
+
533
+
534
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:52:20 -0300
535
+ Processing by WelcomeController#index as HTML
536
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (coalesce(bill_status, 'open') = 'open')
537
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
538
+ Rendered welcome/index.html.erb within layouts/application (0.2ms)
539
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms)
540
+
541
+
542
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:52:20 -0300
543
+ Served asset /welcome.css - 304 Not Modified (0ms)
544
+
545
+
546
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:52:20 -0300
547
+ Served asset /application.css - 304 Not Modified (0ms)
548
+
549
+
550
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:52:20 -0300
551
+ Served asset /welcome.js - 304 Not Modified (0ms)
552
+
553
+
554
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:52:20 -0300
555
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
556
+
557
+
558
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:52:20 -0300
559
+ Served asset /application.js - 304 Not Modified (0ms)
560
+
561
+
562
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:52:20 -0300
563
+ Served asset /jquery.js - 304 Not Modified (0ms)
564
+
565
+
566
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:54:23 -0300
567
+ Processing by WelcomeController#index as HTML
568
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
569
+ Completed 500 Internal Server Error in 55ms
570
+
571
+ ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: bill_status):
572
+ app/controllers/welcome_controller.rb:4:in `index'
573
+
574
+
575
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
576
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
577
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.0ms)
578
+
579
+
580
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:54:43 -0300
581
+ Processing by WelcomeController#index as HTML
582
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
583
+  (0.1ms) begin transaction
584
+ SQL (0.5ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", "open"], ["created_at", Fri, 08 Jun 2012 05:54:43 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 05:54:43 UTC +00:00], ["value", #<BigDecimal:102908118,'0.0',9(18)>]]
585
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 05:54:43 UTC +00:00], ["expires_at", nil], ["payable_id", 5], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 05:54:43 UTC +00:00]]
586
+  (2.4ms) commit transaction
587
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
588
+ Rendered welcome/index.html.erb within layouts/application (3.3ms)
589
+ Completed 200 OK in 64ms (Views: 8.9ms | ActiveRecord: 4.5ms)
590
+
591
+
592
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:54:43 -0300
593
+ Served asset /welcome.css - 304 Not Modified (0ms)
594
+
595
+
596
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:54:43 -0300
597
+ Served asset /application.css - 304 Not Modified (0ms)
598
+
599
+
600
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:54:43 -0300
601
+ Served asset /jquery.js - 304 Not Modified (0ms)
602
+
603
+
604
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:54:43 -0300
605
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
606
+
607
+
608
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:54:43 -0300
609
+ Served asset /welcome.js - 304 Not Modified (0ms)
610
+
611
+
612
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:54:43 -0300
613
+ Served asset /application.js - 304 Not Modified (0ms)
614
+
615
+
616
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:55:25 -0300
617
+ Processing by WelcomeController#index as HTML
618
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
619
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
620
+ Rendered welcome/index.html.erb within layouts/application (21.7ms)
621
+ Completed 500 Internal Server Error in 25ms
622
+
623
+ ActionView::Template::Error (undefined method `canceled?' for #<Order:0x00000103452a00>):
624
+ 1: <h1>Welcome</h1>
625
+ 2: <% @orders.each do |order| %>
626
+ 3: <p>
627
+ 4: <%= button_to "Pagar" unless order.canceled? || order.payed?%>
628
+ 5: Pedido #<%= order.id %>, R$ <%= order.value %> - <%= order.bill_status %>
629
+ 6: </p>
630
+ 7: <% end %>
631
+ app/views/welcome/index.html.erb:4:in `block in _app_views_welcome_index_html_erb___1593941761955372890_2174781300'
632
+ app/views/welcome/index.html.erb:2:in `each'
633
+ app/views/welcome/index.html.erb:2:in `_app_views_welcome_index_html_erb___1593941761955372890_2174781300'
634
+
635
+
636
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
637
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
638
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.4ms)
639
+
640
+
641
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:55:38 -0300
642
+ Processing by WelcomeController#index as HTML
643
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
644
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
645
+ Rendered welcome/index.html.erb within layouts/application (1.7ms)
646
+ Completed 500 Internal Server Error in 5ms
647
+
648
+ ActionView::Template::Error (undefined method `canceled_bill?' for #<Order:0x00000102ca4bf0>):
649
+ 1: <h1>Welcome</h1>
650
+ 2: <% @orders.each do |order| %>
651
+ 3: <p>
652
+ 4: <%= button_to "Pagar" unless order.canceled_bill? || order.payed_bill?%>
653
+ 5: Pedido #<%= order.id %>, R$ <%= order.value %> - <%= order.bill_status %>
654
+ 6: </p>
655
+ 7: <% end %>
656
+ app/views/welcome/index.html.erb:4:in `block in _app_views_welcome_index_html_erb___1593941761955372890_2170752780'
657
+ app/views/welcome/index.html.erb:2:in `each'
658
+ app/views/welcome/index.html.erb:2:in `_app_views_welcome_index_html_erb___1593941761955372890_2170752780'
659
+
660
+
661
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
662
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
663
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.9ms)
664
+
665
+
666
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:55:47 -0300
667
+ Processing by WelcomeController#index as HTML
668
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
669
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
670
+ Rendered welcome/index.html.erb within layouts/application (1.0ms)
671
+ Completed 500 Internal Server Error in 4ms
672
+
673
+ ActionView::Template::Error (undefined method `canceled_bill?' for #<Order:0x000001029f3000>):
674
+ 1: <h1>Welcome</h1>
675
+ 2: <% @orders.each do |order| %>
676
+ 3: <p>
677
+ 4: <%= button_to "Pagar" unless order.canceled_bill? || order.payed_bill?%>
678
+ 5: Pedido #<%= order.id %>, R$ <%= order.value %> - <%= order.bill_status %>
679
+ 6: </p>
680
+ 7: <% end %>
681
+ app/views/welcome/index.html.erb:4:in `block in _app_views_welcome_index_html_erb___1593941761955372890_2170752780'
682
+ app/views/welcome/index.html.erb:2:in `each'
683
+ app/views/welcome/index.html.erb:2:in `_app_views_welcome_index_html_erb___1593941761955372890_2170752780'
684
+
685
+
686
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
687
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
688
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.4ms)
689
+
690
+
691
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:55:52 -0300
692
+ Processing by WelcomeController#index as HTML
693
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
694
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
695
+ Rendered welcome/index.html.erb within layouts/application (1.5ms)
696
+ Completed 500 Internal Server Error in 5ms
697
+
698
+ ActionView::Template::Error (undefined method `state' for #<Order:0x00000101e59c30>):
699
+ 1: <h1>Welcome</h1>
700
+ 2: <% @orders.each do |order| %>
701
+ 3: <p>
702
+ 4: <%= button_to "Pagar" unless order.bill_canceled? || order.payed_bill?%>
703
+ 5: Pedido #<%= order.id %>, R$ <%= order.value %> - <%= order.bill_status %>
704
+ 6: </p>
705
+ 7: <% end %>
706
+ app/views/welcome/index.html.erb:4:in `block in _app_views_welcome_index_html_erb___1593941761955372890_2163344040'
707
+ app/views/welcome/index.html.erb:2:in `each'
708
+ app/views/welcome/index.html.erb:2:in `_app_views_welcome_index_html_erb___1593941761955372890_2163344040'
709
+
710
+
711
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
712
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
713
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.3ms)
714
+ Connecting to database specified by database.yml
715
+ Connecting to database specified by database.yml
716
+ Connecting to database specified by database.yml
717
+
718
+
719
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:58:18 -0300
720
+ Processing by WelcomeController#index as HTML
721
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
722
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
723
+ Rendered welcome/index.html.erb within layouts/application (32.0ms)
724
+ Completed 500 Internal Server Error in 184ms
725
+
726
+ ActionView::Template::Error (undefined method `payed_bill?' for #<Order:0x00000101a3c788>):
727
+ 1: <h1>Welcome</h1>
728
+ 2: <% @orders.each do |order| %>
729
+ 3: <p>
730
+ 4: <%= button_to "Pagar" unless order.bill_canceled? || order.payed_bill?%>
731
+ 5: Pedido #<%= order.id %>, R$ <%= order.value %> - <%= order.bill_status %>
732
+ 6: </p>
733
+ 7: <% end %>
734
+ app/views/welcome/index.html.erb:4:in `block in _app_views_welcome_index_html_erb___3940974453248852905_2178773180'
735
+ app/views/welcome/index.html.erb:2:in `each'
736
+ app/views/welcome/index.html.erb:2:in `_app_views_welcome_index_html_erb___3940974453248852905_2178773180'
737
+
738
+
739
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
740
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
741
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.4ms)
742
+
743
+
744
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:58:38 -0300
745
+ Processing by WelcomeController#index as HTML
746
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
747
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
748
+ Rendered welcome/index.html.erb within layouts/application (13.8ms)
749
+ Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.3ms)
750
+
751
+
752
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:58:38 -0300
753
+ Served asset /welcome.css - 304 Not Modified (2ms)
754
+
755
+
756
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:58:38 -0300
757
+ Served asset /application.css - 304 Not Modified (3ms)
758
+
759
+
760
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:38 -0300
761
+ Served asset /jquery.js - 304 Not Modified (8ms)
762
+
763
+
764
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:38 -0300
765
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
766
+
767
+
768
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:38 -0300
769
+ Served asset /welcome.js - 304 Not Modified (1ms)
770
+
771
+
772
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:38 -0300
773
+ Served asset /application.js - 304 Not Modified (9ms)
774
+
775
+
776
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:58:45 -0300
777
+ Processing by WelcomeController#index as HTML
778
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
779
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
780
+ Rendered welcome/index.html.erb within layouts/application (3.4ms)
781
+ Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.3ms)
782
+
783
+
784
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:58:45 -0300
785
+ Served asset /application.css - 304 Not Modified (0ms)
786
+
787
+
788
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:45 -0300
789
+ Served asset /jquery.js - 304 Not Modified (0ms)
790
+
791
+
792
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:58:45 -0300
793
+ Served asset /welcome.css - 304 Not Modified (1ms)
794
+
795
+
796
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:45 -0300
797
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
798
+
799
+
800
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:45 -0300
801
+ Served asset /welcome.js - 304 Not Modified (0ms)
802
+
803
+
804
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:58:45 -0300
805
+ Served asset /application.js - 304 Not Modified (0ms)
806
+
807
+
808
+ Started GET "/" for 127.0.0.1 at 2012-06-08 02:59:49 -0300
809
+ Processing by WelcomeController#index as HTML
810
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
811
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
812
+ Rendered welcome/index.html.erb within layouts/application (3.3ms)
813
+ Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.3ms)
814
+
815
+
816
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 02:59:49 -0300
817
+ Served asset /application.css - 304 Not Modified (0ms)
818
+
819
+
820
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 02:59:49 -0300
821
+ Served asset /welcome.css - 304 Not Modified (0ms)
822
+
823
+
824
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 02:59:49 -0300
825
+ Served asset /jquery.js - 304 Not Modified (0ms)
826
+
827
+
828
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 02:59:49 -0300
829
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
830
+
831
+
832
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 02:59:49 -0300
833
+ Served asset /welcome.js - 304 Not Modified (0ms)
834
+
835
+
836
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 02:59:49 -0300
837
+ Served asset /application.js - 304 Not Modified (0ms)
838
+ Connecting to database specified by database.yml
839
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
840
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
841
+ Migrating to CreateOrders (20120608040630)
842
+  (0.0ms) select sqlite_version(*)
843
+  (0.0ms) begin transaction
844
+  (0.6ms) DROP TABLE "orders"
845
+  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120608040630'
846
+  (2.8ms) commit transaction
847
+ Migrating to CreatePayableGatewayPayments (20120607044142)
848
+  (0.1ms) begin transaction
849
+  (0.6ms) DROP TABLE "payable_gateway_payments"
850
+  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120607044142'
851
+  (1.7ms) commit transaction
852
+  (0.3ms) select sqlite_version(*)
853
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
854
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
855
+ Migrating to CreatePayableGatewayPayments (20120607044142)
856
+  (0.0ms) begin transaction
857
+  (0.5ms) CREATE TABLE "payable_gateway_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "payable_type" varchar(255), "payable_id" integer, "expires_at" datetime, "status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
858
+  (0.2ms) CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
859
+ SQLite3::SQLException: near "USING": syntax error: CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
860
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120607044142')
861
+  (2.1ms) commit transaction
862
+ Migrating to CreateOrders (20120608040630)
863
+  (0.1ms) begin transaction
864
+  (0.4ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" decimal(9,2), "bill_status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
865
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120608040630')
866
+  (1.4ms) commit transaction
867
+  (0.3ms) select sqlite_version(*)
868
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
869
+  (0.0ms) PRAGMA index_list("orders")
870
+  (0.0ms) PRAGMA index_list("payable_gateway_payments")
871
+
872
+
873
+ Started GET "/" for 127.0.0.1 at 2012-06-08 03:00:44 -0300
874
+ Processing by WelcomeController#index as HTML
875
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
876
+  (0.1ms) begin transaction
877
+ SQL (14.7ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", "open"], ["created_at", Fri, 08 Jun 2012 06:00:45 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 06:00:45 UTC +00:00], ["value", #<BigDecimal:1038724c8,'0.96252E2',18(18)>]]
878
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 06:00:45 UTC +00:00], ["expires_at", nil], ["payable_id", 1], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 06:00:45 UTC +00:00]]
879
+  (2.6ms) commit transaction
880
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
881
+ Rendered welcome/index.html.erb within layouts/application (1.2ms)
882
+ Completed 200 OK in 164ms (Views: 6.7ms | ActiveRecord: 18.9ms)
883
+
884
+
885
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 03:00:45 -0300
886
+ Served asset /application.css - 304 Not Modified (0ms)
887
+
888
+
889
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 03:00:45 -0300
890
+ Served asset /welcome.css - 304 Not Modified (0ms)
891
+
892
+
893
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:45 -0300
894
+ Served asset /jquery.js - 304 Not Modified (0ms)
895
+
896
+
897
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:45 -0300
898
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
899
+
900
+
901
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:45 -0300
902
+ Served asset /welcome.js - 304 Not Modified (0ms)
903
+
904
+
905
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:45 -0300
906
+ Served asset /application.js - 304 Not Modified (0ms)
907
+
908
+
909
+ Started GET "/" for 127.0.0.1 at 2012-06-08 03:00:47 -0300
910
+ Processing by WelcomeController#index as HTML
911
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
912
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
913
+ Rendered welcome/index.html.erb within layouts/application (1.0ms)
914
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms)
915
+
916
+
917
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 03:00:47 -0300
918
+ Served asset /application.css - 304 Not Modified (0ms)
919
+
920
+
921
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:47 -0300
922
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
923
+
924
+
925
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:47 -0300
926
+ Served asset /application.js - 304 Not Modified (0ms)
927
+
928
+
929
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 03:00:47 -0300
930
+ Served asset /welcome.css - 304 Not Modified (0ms)
931
+
932
+
933
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:47 -0300
934
+ Served asset /jquery.js - 304 Not Modified (0ms)
935
+
936
+
937
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 03:00:47 -0300
938
+ Served asset /welcome.js - 304 Not Modified (0ms)
939
+ Connecting to database specified by database.yml
940
+ Connecting to database specified by database.yml
941
+ Connecting to database specified by database.yml
942
+ Connecting to database specified by database.yml
943
+ Connecting to database specified by database.yml
944
+ Connecting to database specified by database.yml
945
+ Connecting to database specified by database.yml
946
+ Connecting to database specified by database.yml
947
+ Connecting to database specified by database.yml
948
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" LIMIT 1
949
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
950
+ Connecting to database specified by database.yml
951
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" LIMIT 1
952
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
953
+ Connecting to database specified by database.yml
954
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" LIMIT 1
955
+ Connecting to database specified by database.yml
956
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" LIMIT 1
957
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
958
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
959
+  (0.1ms) begin transaction
960
+  (0.4ms) UPDATE "payable_gateway_payments" SET "status" = 'canceled', "updated_at" = '2012-06-08 07:17:52.733472' WHERE "payable_gateway_payments"."id" = 1
961
+  (0.1ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order'
962
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order'
963
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 07:17:52 UTC +00:00], ["expires_at", nil], ["payable_id", 1], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 07:17:52 UTC +00:00]]
964
+  (2.7ms) commit transaction
965
+ Connecting to database specified by database.yml
966
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" LIMIT 1
967
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
968
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
969
+ Connecting to database specified by database.yml
970
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" LIMIT 1
971
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
972
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
973
+  (0.1ms) begin transaction
974
+  (0.4ms) UPDATE "payable_gateway_payments" SET "status" = 'canceled', "updated_at" = '2012-06-08 07:18:06.234749' WHERE "payable_gateway_payments"."id" = 2
975
+  (0.2ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order'
976
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order'
977
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 07:18:06 UTC +00:00], ["expires_at", nil], ["payable_id", 1], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 07:18:06 UTC +00:00]]
978
+  (2.4ms) commit transaction
979
+ Connecting to database specified by database.yml
980
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" LIMIT 1
981
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
982
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
983
+ Connecting to database specified by database.yml
984
+
985
+
986
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:26:19 -0300
987
+ Processing by WelcomeController#index as HTML
988
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
989
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
990
+ Rendered welcome/index.html.erb within layouts/application (22.0ms)
991
+ Completed 200 OK in 188ms (Views: 74.1ms | ActiveRecord: 8.2ms)
992
+
993
+
994
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:26:19 -0300
995
+ Served asset /application.css - 304 Not Modified (3ms)
996
+
997
+
998
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:26:19 -0300
999
+ Served asset /welcome.css - 304 Not Modified (3ms)
1000
+
1001
+
1002
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:26:19 -0300
1003
+ Served asset /jquery.js - 304 Not Modified (2ms)
1004
+
1005
+
1006
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:26:19 -0300
1007
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
1008
+
1009
+
1010
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:26:19 -0300
1011
+ Served asset /welcome.js - 304 Not Modified (1ms)
1012
+
1013
+
1014
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:26:19 -0300
1015
+ Served asset /application.js - 304 Not Modified (12ms)
1016
+
1017
+
1018
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:28:34 -0300
1019
+ Processing by WelcomeController#index as HTML
1020
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1021
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1022
+ ERROR: compiling _app_views_welcome_index_html_erb__1000167232291910157_2154489880 RAISED /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end
1023
+ ...lue} - #{order.bill_status}") );@output_buffer.safe_concat('
1024
+ ... ^
1025
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/index.html.erb:7: syntax error, unexpected ')', expecting keyword_end
1026
+ ...lue} - #{order.bill_status}") );@output_buffer.safe_concat('
1027
+ ... ^
1028
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/index.html.erb:9: syntax error, unexpected ')', expecting keyword_end
1029
+ ...lue} - #{order.bill_status}") );@output_buffer.safe_concat('
1030
+ ... ^
1031
+ Function body: def _app_views_welcome_index_html_erb__1000167232291910157_2154489880(local_assigns, output_buffer)
1032
+ _old_virtual_path, @virtual_path = @virtual_path, "welcome/index";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('<h1>Welcome</h1>
1033
+ '); @orders.each do |order|
1034
+ @output_buffer.safe_concat(' <p>
1035
+ '); if order.bill_canceled?
1036
+ @output_buffer.safe_concat(' ');@output_buffer.append= ( "Pedido ##{order.id}, R$ #{order.value} - #{order.bill_status}") );@output_buffer.safe_concat('
1037
+ '); elsif order.bill_payed?
1038
+ @output_buffer.safe_concat(' ');@output_buffer.append= ( "Pedido ##{order.id}, R$ #{order.value} - #{order.bill_status}") );@output_buffer.safe_concat('
1039
+ '); else
1040
+ @output_buffer.safe_concat(' ');@output_buffer.append= ( button_to "Pagar Pedido ##{order.id}, R$ #{order.value} - #{order.bill_status}") );@output_buffer.safe_concat('
1041
+ '); end
1042
+ @output_buffer.safe_concat(' </p>
1043
+ '); end ;@output_buffer.to_s
1044
+ ensure
1045
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
1046
+ end
1047
+
1048
+ Backtrace: /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:297:in `module_eval'
1049
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:297:in `compile'
1050
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:244:in `block in compile!'
1051
+ <internal:prelude>:10:in `synchronize'
1052
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:232:in `compile!'
1053
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:144:in `block in render'
1054
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:125:in `instrument'
1055
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:143:in `render'
1056
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
1057
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1058
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `block in instrument'
1059
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1060
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `instrument'
1061
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1062
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
1063
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
1064
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
1065
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:18:in `render'
1066
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/renderer.rb:36:in `render_template'
1067
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/renderer.rb:17:in `render'
1068
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:110:in `_render_template'
1069
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/streaming.rb:225:in `_render_template'
1070
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:103:in `render_to_body'
1071
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
1072
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
1073
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:88:in `render'
1074
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rendering.rb:16:in `render'
1075
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
1076
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
1077
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
1078
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/core_ext/benchmark.rb:5:in `ms'
1079
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
1080
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
1081
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1082
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:39:in `render'
1083
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
1084
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
1085
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/base.rb:167:in `process_action'
1086
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
1087
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1088
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:414:in `_run__948571407863423278__process_action__3063867553846795369__callbacks'
1089
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:405:in `__run_callback'
1090
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1091
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
1092
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/callbacks.rb:17:in `process_action'
1093
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
1094
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1095
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `block in instrument'
1096
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1097
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `instrument'
1098
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1099
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/params_wrapper.rb:206:in `process_action'
1100
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1101
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/base.rb:121:in `process'
1102
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:45:in `process'
1103
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal.rb:203:in `dispatch'
1104
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
1105
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal.rb:246:in `block in action'
1106
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:73:in `call'
1107
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1108
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:36:in `call'
1109
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
1110
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
1111
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
1112
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:600:in `call'
1113
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
1114
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
1115
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
1116
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/head.rb:14:in `call'
1117
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
1118
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/flash.rb:238:in `call'
1119
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
1120
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
1121
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/cookies.rb:338:in `call'
1122
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/query_cache.rb:64:in `call'
1123
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
1124
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
1125
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:405:in `_run__1112011049939725827__call__3084829770903628791__callbacks'
1126
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:405:in `__run_callback'
1127
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
1128
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
1129
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1130
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/reloader.rb:65:in `call'
1131
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
1132
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
1133
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1134
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/rack/logger.rb:26:in `call_app'
1135
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/rack/logger.rb:16:in `call'
1136
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/request_id.rb:22:in `call'
1137
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
1138
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
1139
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1140
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
1141
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/static.rb:62:in `call'
1142
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/engine.rb:479:in `call'
1143
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/application.rb:220:in `call'
1144
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
1145
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/rack/log_tailer.rb:17:in `call'
1146
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
1147
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
1148
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
1149
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
1150
+ Rendered welcome/index.html.erb within layouts/application (51.7ms)
1151
+ Completed 500 Internal Server Error in 55ms
1152
+
1153
+ ActionView::Template::Error (/Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/index.html.erb:5: syntax error, unexpected ')', expecting keyword_end
1154
+ ...lue} - #{order.bill_status}") );@output_buffer.safe_concat('
1155
+ ... ^
1156
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/index.html.erb:7: syntax error, unexpected ')', expecting keyword_end
1157
+ ...lue} - #{order.bill_status}") );@output_buffer.safe_concat('
1158
+ ... ^
1159
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/index.html.erb:9: syntax error, unexpected ')', expecting keyword_end
1160
+ ...lue} - #{order.bill_status}") );@output_buffer.safe_concat('
1161
+ ... ^):
1162
+ 2: <% @orders.each do |order| %>
1163
+ 3: <p>
1164
+ 4: <% if order.bill_canceled? %>
1165
+ 5: <%= "Pedido ##{order.id}, R$ #{order.value} - #{order.bill_status}") %>
1166
+ 6: <% elsif order.bill_payed? %>
1167
+ 7: <%= "Pedido ##{order.id}, R$ #{order.value} - #{order.bill_status}") %>
1168
+ 8: <% else %>
1169
+ actionpack (3.2.5) lib/action_view/template.rb:297:in `module_eval'
1170
+ actionpack (3.2.5) lib/action_view/template.rb:297:in `compile'
1171
+ actionpack (3.2.5) lib/action_view/template.rb:244:in `block in compile!'
1172
+ <internal:prelude>:10:in `synchronize'
1173
+ actionpack (3.2.5) lib/action_view/template.rb:232:in `compile!'
1174
+ actionpack (3.2.5) lib/action_view/template.rb:144:in `block in render'
1175
+ activesupport (3.2.5) lib/active_support/notifications.rb:125:in `instrument'
1176
+ actionpack (3.2.5) lib/action_view/template.rb:143:in `render'
1177
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
1178
+ actionpack (3.2.5) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1179
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `block in instrument'
1180
+ activesupport (3.2.5) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1181
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `instrument'
1182
+ actionpack (3.2.5) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1183
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
1184
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
1185
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
1186
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:18:in `render'
1187
+ actionpack (3.2.5) lib/action_view/renderer/renderer.rb:36:in `render_template'
1188
+ actionpack (3.2.5) lib/action_view/renderer/renderer.rb:17:in `render'
1189
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:110:in `_render_template'
1190
+ actionpack (3.2.5) lib/action_controller/metal/streaming.rb:225:in `_render_template'
1191
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:103:in `render_to_body'
1192
+ actionpack (3.2.5) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
1193
+ actionpack (3.2.5) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
1194
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:88:in `render'
1195
+ actionpack (3.2.5) lib/action_controller/metal/rendering.rb:16:in `render'
1196
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
1197
+ activesupport (3.2.5) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
1198
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
1199
+ activesupport (3.2.5) lib/active_support/core_ext/benchmark.rb:5:in `ms'
1200
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
1201
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
1202
+ activerecord (3.2.5) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
1203
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:39:in `render'
1204
+ actionpack (3.2.5) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
1205
+ actionpack (3.2.5) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
1206
+ actionpack (3.2.5) lib/abstract_controller/base.rb:167:in `process_action'
1207
+ actionpack (3.2.5) lib/action_controller/metal/rendering.rb:10:in `process_action'
1208
+ actionpack (3.2.5) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1209
+ activesupport (3.2.5) lib/active_support/callbacks.rb:414:in `_run__948571407863423278__process_action__3063867553846795369__callbacks'
1210
+ activesupport (3.2.5) lib/active_support/callbacks.rb:405:in `__run_callback'
1211
+ activesupport (3.2.5) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
1212
+ activesupport (3.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
1213
+ actionpack (3.2.5) lib/abstract_controller/callbacks.rb:17:in `process_action'
1214
+ actionpack (3.2.5) lib/action_controller/metal/rescue.rb:29:in `process_action'
1215
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
1216
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `block in instrument'
1217
+ activesupport (3.2.5) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1218
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `instrument'
1219
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
1220
+ actionpack (3.2.5) lib/action_controller/metal/params_wrapper.rb:206:in `process_action'
1221
+ activerecord (3.2.5) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1222
+ actionpack (3.2.5) lib/abstract_controller/base.rb:121:in `process'
1223
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:45:in `process'
1224
+ actionpack (3.2.5) lib/action_controller/metal.rb:203:in `dispatch'
1225
+ actionpack (3.2.5) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
1226
+ actionpack (3.2.5) lib/action_controller/metal.rb:246:in `block in action'
1227
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:73:in `call'
1228
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1229
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:36:in `call'
1230
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
1231
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
1232
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
1233
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:600:in `call'
1234
+ actionpack (3.2.5) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
1235
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
1236
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
1237
+ actionpack (3.2.5) lib/action_dispatch/middleware/head.rb:14:in `call'
1238
+ actionpack (3.2.5) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
1239
+ actionpack (3.2.5) lib/action_dispatch/middleware/flash.rb:238:in `call'
1240
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
1241
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
1242
+ actionpack (3.2.5) lib/action_dispatch/middleware/cookies.rb:338:in `call'
1243
+ activerecord (3.2.5) lib/active_record/query_cache.rb:64:in `call'
1244
+ activerecord (3.2.5) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
1245
+ actionpack (3.2.5) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
1246
+ activesupport (3.2.5) lib/active_support/callbacks.rb:405:in `_run__1112011049939725827__call__3084829770903628791__callbacks'
1247
+ activesupport (3.2.5) lib/active_support/callbacks.rb:405:in `__run_callback'
1248
+ activesupport (3.2.5) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
1249
+ activesupport (3.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
1250
+ actionpack (3.2.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1251
+ actionpack (3.2.5) lib/action_dispatch/middleware/reloader.rb:65:in `call'
1252
+ actionpack (3.2.5) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
1253
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
1254
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1255
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
1256
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
1257
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
1258
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
1259
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
1260
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1261
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
1262
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
1263
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
1264
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
1265
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
1266
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
1267
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
1268
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
1269
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
1270
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
1271
+
1272
+
1273
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
1274
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
1275
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.3ms)
1276
+
1277
+
1278
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:28:53 -0300
1279
+ Processing by WelcomeController#index as HTML
1280
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1281
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1282
+ Rendered welcome/index.html.erb within layouts/application (1.7ms)
1283
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.3ms)
1284
+
1285
+
1286
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:28:53 -0300
1287
+ Served asset /application.css - 304 Not Modified (0ms)
1288
+
1289
+
1290
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:28:53 -0300
1291
+ Served asset /welcome.css - 304 Not Modified (0ms)
1292
+
1293
+
1294
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:28:53 -0300
1295
+ Served asset /jquery.js - 304 Not Modified (0ms)
1296
+
1297
+
1298
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:28:53 -0300
1299
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1300
+
1301
+
1302
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:28:53 -0300
1303
+ Served asset /welcome.js - 304 Not Modified (0ms)
1304
+
1305
+
1306
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:28:53 -0300
1307
+ Served asset /application.js - 304 Not Modified (0ms)
1308
+
1309
+
1310
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:29:14 -0300
1311
+ Processing by WelcomeController#index as HTML
1312
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1313
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1314
+ Rendered welcome/index.html.erb within layouts/application (1.7ms)
1315
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
1316
+
1317
+
1318
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:15 -0300
1319
+ Served asset /welcome.js - 304 Not Modified (0ms)
1320
+
1321
+
1322
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:15 -0300
1323
+ Served asset /jquery.js - 304 Not Modified (3ms)
1324
+
1325
+
1326
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:29:15 -0300
1327
+ Served asset /welcome.css - 304 Not Modified (0ms)
1328
+
1329
+
1330
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:15 -0300
1331
+ Served asset /application.js - 304 Not Modified (0ms)
1332
+
1333
+
1334
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:15 -0300
1335
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1336
+
1337
+
1338
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:29:15 -0300
1339
+ Served asset /application.css - 304 Not Modified (0ms)
1340
+
1341
+
1342
+ Started POST "/welcome" for 127.0.0.1 at 2012-06-08 04:29:22 -0300
1343
+
1344
+ ActionController::RoutingError (No route matches [POST] "/welcome"):
1345
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1346
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
1347
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
1348
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
1349
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
1350
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
1351
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
1352
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
1353
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
1354
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
1355
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
1356
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
1357
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
1358
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
1359
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
1360
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
1361
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
1362
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
1363
+
1364
+
1365
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
1366
+
1367
+
1368
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:29:46 -0300
1369
+ Processing by WelcomeController#index as HTML
1370
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1371
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1372
+ Rendered welcome/index.html.erb within layouts/application (1.4ms)
1373
+ Completed 200 OK in 66ms (Views: 6.8ms | ActiveRecord: 0.6ms)
1374
+
1375
+
1376
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:29:46 -0300
1377
+ Served asset /application.css - 304 Not Modified (0ms)
1378
+
1379
+
1380
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:46 -0300
1381
+ Served asset /jquery.js - 304 Not Modified (0ms)
1382
+
1383
+
1384
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:29:46 -0300
1385
+ Served asset /welcome.css - 304 Not Modified (0ms)
1386
+
1387
+
1388
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:46 -0300
1389
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1390
+
1391
+
1392
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:46 -0300
1393
+ Served asset /welcome.js - 304 Not Modified (0ms)
1394
+
1395
+
1396
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:29:46 -0300
1397
+ Served asset /application.js - 304 Not Modified (0ms)
1398
+
1399
+
1400
+ Started POST "/welcome/checkout" for 127.0.0.1 at 2012-06-08 04:29:48 -0300
1401
+ Processing by WelcomeController#checkout as HTML
1402
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I="}
1403
+ Completed 500 Internal Server Error in 1ms
1404
+
1405
+ ActiveRecord::RecordNotFound (Couldn't find Order without an ID):
1406
+ app/controllers/welcome_controller.rb:8:in `checkout'
1407
+
1408
+
1409
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.1ms)
1410
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
1411
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (10.1ms)
1412
+
1413
+
1414
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:30:16 -0300
1415
+ Processing by WelcomeController#index as HTML
1416
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1417
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1418
+ Rendered welcome/index.html.erb within layouts/application (1.7ms)
1419
+ Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.3ms)
1420
+
1421
+
1422
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:30:16 -0300
1423
+ Served asset /welcome.css - 304 Not Modified (0ms)
1424
+
1425
+
1426
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:30:16 -0300
1427
+ Served asset /application.css - 304 Not Modified (0ms)
1428
+
1429
+
1430
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:16 -0300
1431
+ Served asset /jquery.js - 304 Not Modified (0ms)
1432
+
1433
+
1434
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:16 -0300
1435
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1436
+
1437
+
1438
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:16 -0300
1439
+ Served asset /welcome.js - 304 Not Modified (0ms)
1440
+
1441
+
1442
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:16 -0300
1443
+ Served asset /application.js - 304 Not Modified (0ms)
1444
+
1445
+
1446
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:30:29 -0300
1447
+ Processing by WelcomeController#checkout as HTML
1448
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1449
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1450
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1451
+ Redirected to http://localhost:3000/
1452
+ Completed 302 Found in 2204ms (ActiveRecord: 0.7ms)
1453
+
1454
+
1455
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:30:31 -0300
1456
+ Processing by WelcomeController#index as HTML
1457
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1458
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1459
+ Rendered welcome/index.html.erb within layouts/application (1.1ms)
1460
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms)
1461
+
1462
+
1463
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:30:31 -0300
1464
+ Served asset /application.css - 304 Not Modified (0ms)
1465
+
1466
+
1467
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:30:31 -0300
1468
+ Served asset /welcome.css - 304 Not Modified (0ms)
1469
+
1470
+
1471
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:31 -0300
1472
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1473
+
1474
+
1475
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:31 -0300
1476
+ Served asset /application.js - 304 Not Modified (0ms)
1477
+
1478
+
1479
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:31 -0300
1480
+ Served asset /welcome.js - 304 Not Modified (0ms)
1481
+
1482
+
1483
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:30:31 -0300
1484
+ Served asset /jquery.js - 304 Not Modified (0ms)
1485
+
1486
+
1487
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:31:06 -0300
1488
+ Processing by WelcomeController#index as HTML
1489
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1490
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1491
+ Rendered welcome/index.html.erb within layouts/application (1.2ms)
1492
+ Completed 200 OK in 28ms (Views: 6.5ms | ActiveRecord: 0.6ms)
1493
+
1494
+
1495
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:31:06 -0300
1496
+ Served asset /welcome.css - 304 Not Modified (0ms)
1497
+
1498
+
1499
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:31:06 -0300
1500
+ Served asset /application.css - 304 Not Modified (0ms)
1501
+
1502
+
1503
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:06 -0300
1504
+ Served asset /jquery.js - 304 Not Modified (0ms)
1505
+
1506
+
1507
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:06 -0300
1508
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1509
+
1510
+
1511
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:06 -0300
1512
+ Served asset /welcome.js - 304 Not Modified (0ms)
1513
+
1514
+
1515
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:06 -0300
1516
+ Served asset /application.js - 304 Not Modified (0ms)
1517
+
1518
+
1519
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:31:09 -0300
1520
+ Processing by WelcomeController#checkout as HTML
1521
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1522
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1523
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1524
+ Redirected to http://localhost:3000/
1525
+ Completed 302 Found in 1982ms (ActiveRecord: 0.7ms)
1526
+
1527
+
1528
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:31:11 -0300
1529
+ Processing by WelcomeController#index as HTML
1530
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1531
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1532
+ Rendered welcome/index.html.erb within layouts/application (1.1ms)
1533
+ Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms)
1534
+
1535
+
1536
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:31:11 -0300
1537
+ Served asset /application.css - 304 Not Modified (0ms)
1538
+
1539
+
1540
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:31:11 -0300
1541
+ Served asset /welcome.css - 304 Not Modified (0ms)
1542
+
1543
+
1544
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:11 -0300
1545
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1546
+
1547
+
1548
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:11 -0300
1549
+ Served asset /welcome.js - 304 Not Modified (0ms)
1550
+
1551
+
1552
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:11 -0300
1553
+ Served asset /jquery.js - 304 Not Modified (0ms)
1554
+
1555
+
1556
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:31:11 -0300
1557
+ Served asset /application.js - 304 Not Modified (0ms)
1558
+
1559
+
1560
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:32:26 -0300
1561
+ Processing by WelcomeController#checkout as HTML
1562
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1563
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1564
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1565
+ Redirected to http://localhost:3000/
1566
+ Completed 302 Found in 1839ms (ActiveRecord: 0.3ms)
1567
+
1568
+
1569
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:32:28 -0300
1570
+ Processing by WelcomeController#index as HTML
1571
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1572
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1573
+ Rendered welcome/index.html.erb within layouts/application (1.1ms)
1574
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
1575
+
1576
+
1577
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:32:28 -0300
1578
+ Served asset /welcome.css - 304 Not Modified (0ms)
1579
+
1580
+
1581
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:32:28 -0300
1582
+ Served asset /application.css - 304 Not Modified (0ms)
1583
+
1584
+
1585
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:28 -0300
1586
+ Served asset /jquery.js - 304 Not Modified (0ms)
1587
+
1588
+
1589
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:28 -0300
1590
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1591
+
1592
+
1593
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:28 -0300
1594
+ Served asset /welcome.js - 304 Not Modified (0ms)
1595
+
1596
+
1597
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:28 -0300
1598
+ Served asset /application.js - 304 Not Modified (0ms)
1599
+
1600
+
1601
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:32:31 -0300
1602
+ Processing by WelcomeController#checkout as HTML
1603
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1604
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1605
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1606
+ Redirected to http://localhost:3000/
1607
+ Completed 302 Found in 1933ms (ActiveRecord: 0.4ms)
1608
+
1609
+
1610
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:32:33 -0300
1611
+ Processing by WelcomeController#index as HTML
1612
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1613
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1614
+ Rendered welcome/index.html.erb within layouts/application (1.3ms)
1615
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
1616
+
1617
+
1618
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:33 -0300
1619
+ Served asset /jquery.js - 304 Not Modified (0ms)
1620
+
1621
+
1622
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:33 -0300
1623
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1624
+
1625
+
1626
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:33 -0300
1627
+ Served asset /welcome.js - 304 Not Modified (0ms)
1628
+
1629
+
1630
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:32:33 -0300
1631
+ Served asset /application.css - 304 Not Modified (0ms)
1632
+
1633
+
1634
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:32:33 -0300
1635
+ Served asset /welcome.css - 304 Not Modified (0ms)
1636
+
1637
+
1638
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:32:33 -0300
1639
+ Served asset /application.js - 304 Not Modified (0ms)
1640
+
1641
+
1642
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:33:02 -0300
1643
+ Processing by WelcomeController#checkout as HTML
1644
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1645
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1646
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1647
+ Redirected to http://localhost:3000/
1648
+ Completed 302 Found in 1724ms (ActiveRecord: 1.0ms)
1649
+
1650
+
1651
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:33:04 -0300
1652
+ Processing by WelcomeController#index as HTML
1653
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1654
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1655
+ Rendered welcome/index.html.erb within layouts/application (1.3ms)
1656
+ Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.3ms)
1657
+
1658
+
1659
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:33:04 -0300
1660
+ Served asset /application.css - 304 Not Modified (0ms)
1661
+
1662
+
1663
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:33:04 -0300
1664
+ Served asset /welcome.css - 304 Not Modified (0ms)
1665
+
1666
+
1667
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:04 -0300
1668
+ Served asset /jquery.js - 304 Not Modified (0ms)
1669
+
1670
+
1671
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:04 -0300
1672
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1673
+
1674
+
1675
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:04 -0300
1676
+ Served asset /welcome.js - 304 Not Modified (0ms)
1677
+
1678
+
1679
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:04 -0300
1680
+ Served asset /application.js - 304 Not Modified (0ms)
1681
+
1682
+
1683
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:33:09 -0300
1684
+ Processing by WelcomeController#checkout as HTML
1685
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1686
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1687
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1688
+ Redirected to http://localhost:3000/
1689
+ Completed 302 Found in 1222ms (ActiveRecord: 0.3ms)
1690
+
1691
+
1692
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:33:10 -0300
1693
+ Processing by WelcomeController#index as HTML
1694
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1695
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1696
+ Rendered welcome/index.html.erb within layouts/application (1.1ms)
1697
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms)
1698
+
1699
+
1700
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:10 -0300
1701
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1702
+
1703
+
1704
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:33:10 -0300
1705
+ Served asset /application.css - 304 Not Modified (0ms)
1706
+
1707
+
1708
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:10 -0300
1709
+ Served asset /application.js - 304 Not Modified (0ms)
1710
+
1711
+
1712
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:33:10 -0300
1713
+ Served asset /welcome.css - 304 Not Modified (0ms)
1714
+
1715
+
1716
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:10 -0300
1717
+ Served asset /jquery.js - 304 Not Modified (0ms)
1718
+
1719
+
1720
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:33:10 -0300
1721
+ Served asset /welcome.js - 304 Not Modified (0ms)
1722
+ Connecting to database specified by database.yml
1723
+
1724
+
1725
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:34:56 -0300
1726
+ Processing by WelcomeController#checkout as HTML
1727
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1728
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1729
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1730
+  (0.1ms) begin transaction
1731
+  (0.2ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order'
1732
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order'
1733
+  (0.4ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 07:34:59.037869' WHERE "orders"."id" = 1
1734
+  (0.2ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 07:34:59.055820' WHERE "payable_gateway_payments"."id" = 4
1735
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
1736
+  (0.1ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 07:34:59.055820', "expires_at" = '2012-06-08 07:49:59.095289' WHERE "payable_gateway_payments"."id" = 4
1737
+  (1.1ms) commit transaction
1738
+ Redirected to http://localhost:3000/welcome/json_form
1739
+ Completed 302 Found in 2660ms (ActiveRecord: 3.5ms)
1740
+
1741
+
1742
+ Started GET "/welcome/json_form" for 127.0.0.1 at 2012-06-08 04:34:59 -0300
1743
+ Processing by WelcomeController#json_form as HTML
1744
+ Rendered welcome/json_form.html.erb within layouts/application (0.4ms)
1745
+ Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
1746
+
1747
+
1748
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:34:59 -0300
1749
+ Served asset /welcome.css - 304 Not Modified (0ms)
1750
+
1751
+
1752
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:34:59 -0300
1753
+ Served asset /application.css - 304 Not Modified (0ms)
1754
+
1755
+
1756
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:34:59 -0300
1757
+ Served asset /jquery.js - 304 Not Modified (0ms)
1758
+
1759
+
1760
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:34:59 -0300
1761
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1762
+
1763
+
1764
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:34:59 -0300
1765
+ Served asset /welcome.js - 304 Not Modified (0ms)
1766
+
1767
+
1768
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:34:59 -0300
1769
+ Served asset /application.js - 304 Not Modified (0ms)
1770
+
1771
+
1772
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:35:37 -0300
1773
+ Processing by WelcomeController#index as HTML
1774
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1775
+  (0.1ms) begin transaction
1776
+ SQL (0.6ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", "open"], ["created_at", Fri, 08 Jun 2012 07:35:37 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 07:35:37 UTC +00:00], ["value", #<BigDecimal:102452920,'0.96252E2',18(18)>]]
1777
+ SQL (0.3ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 07:35:37 UTC +00:00], ["expires_at", nil], ["payable_id", 2], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 07:35:37 UTC +00:00]]
1778
+  (1.3ms) commit transaction
1779
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1780
+ Rendered welcome/index.html.erb within layouts/application (1.6ms)
1781
+ Completed 200 OK in 60ms (Views: 7.4ms | ActiveRecord: 3.6ms)
1782
+
1783
+
1784
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:35:37 -0300
1785
+ Served asset /welcome.css - 304 Not Modified (0ms)
1786
+
1787
+
1788
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:35:37 -0300
1789
+ Served asset /application.css - 304 Not Modified (0ms)
1790
+
1791
+
1792
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:37 -0300
1793
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1794
+
1795
+
1796
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:37 -0300
1797
+ Served asset /welcome.js - 304 Not Modified (0ms)
1798
+
1799
+
1800
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:37 -0300
1801
+ Served asset /application.js - 304 Not Modified (0ms)
1802
+
1803
+
1804
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:37 -0300
1805
+ Served asset /jquery.js - 304 Not Modified (0ms)
1806
+
1807
+
1808
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:35:48 -0300
1809
+ Processing by WelcomeController#checkout as HTML
1810
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1811
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1812
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1813
+ Redirected to http://localhost:3000/
1814
+ Completed 302 Found in 1328ms (ActiveRecord: 0.5ms)
1815
+
1816
+
1817
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:35:49 -0300
1818
+ Processing by WelcomeController#index as HTML
1819
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1820
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1821
+ Rendered welcome/index.html.erb within layouts/application (1.6ms)
1822
+ Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms)
1823
+
1824
+
1825
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:35:50 -0300
1826
+ Served asset /application.css - 304 Not Modified (0ms)
1827
+
1828
+
1829
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:35:50 -0300
1830
+ Served asset /welcome.css - 304 Not Modified (0ms)
1831
+
1832
+
1833
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:50 -0300
1834
+ Served asset /application.js - 304 Not Modified (0ms)
1835
+
1836
+
1837
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:50 -0300
1838
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1839
+
1840
+
1841
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:50 -0300
1842
+ Served asset /jquery.js - 304 Not Modified (0ms)
1843
+
1844
+
1845
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:50 -0300
1846
+ Served asset /welcome.js - 304 Not Modified (0ms)
1847
+
1848
+
1849
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:35:53 -0300
1850
+ Processing by WelcomeController#checkout as HTML
1851
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1852
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1853
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1854
+ Redirected to http://localhost:3000/
1855
+ Completed 302 Found in 1334ms (ActiveRecord: 0.4ms)
1856
+
1857
+
1858
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:35:55 -0300
1859
+ Processing by WelcomeController#index as HTML
1860
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1861
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1862
+ Rendered welcome/index.html.erb within layouts/application (1.6ms)
1863
+ Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.3ms)
1864
+
1865
+
1866
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:35:55 -0300
1867
+ Served asset /application.css - 304 Not Modified (0ms)
1868
+
1869
+
1870
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:35:55 -0300
1871
+ Served asset /welcome.css - 304 Not Modified (0ms)
1872
+
1873
+
1874
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:55 -0300
1875
+ Served asset /welcome.js - 304 Not Modified (0ms)
1876
+
1877
+
1878
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:55 -0300
1879
+ Served asset /jquery.js - 304 Not Modified (0ms)
1880
+
1881
+
1882
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:55 -0300
1883
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1884
+
1885
+
1886
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:35:55 -0300
1887
+ Served asset /application.js - 304 Not Modified (0ms)
1888
+
1889
+
1890
+ Started POST "/welcome/checkout?id=1" for 127.0.0.1 at 2012-06-08 04:36:04 -0300
1891
+ Processing by WelcomeController#checkout as HTML
1892
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"1"}
1893
+ Order Load (2.9ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
1894
+ Payable::GatewayPayment Load (0.3ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 1 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1895
+ Redirected to http://localhost:3000/
1896
+ Completed 302 Found in 1299ms (ActiveRecord: 3.2ms)
1897
+
1898
+
1899
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:36:05 -0300
1900
+ Processing by WelcomeController#index as HTML
1901
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1902
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1903
+ Rendered welcome/index.html.erb within layouts/application (1.6ms)
1904
+ Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.3ms)
1905
+
1906
+
1907
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:05 -0300
1908
+ Served asset /jquery.js - 304 Not Modified (0ms)
1909
+
1910
+
1911
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:05 -0300
1912
+ Served asset /welcome.js - 304 Not Modified (0ms)
1913
+
1914
+
1915
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:36:05 -0300
1916
+ Served asset /welcome.css - 304 Not Modified (0ms)
1917
+
1918
+
1919
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:05 -0300
1920
+ Served asset /application.js - 304 Not Modified (0ms)
1921
+
1922
+
1923
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:36:05 -0300
1924
+ Served asset /application.css - 304 Not Modified (0ms)
1925
+
1926
+
1927
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:05 -0300
1928
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1929
+
1930
+
1931
+ Started POST "/welcome/checkout?id=2" for 127.0.0.1 at 2012-06-08 04:36:07 -0300
1932
+ Processing by WelcomeController#checkout as HTML
1933
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"2"}
1934
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "2"]]
1935
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 2 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
1936
+  (0.1ms) begin transaction
1937
+  (0.2ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 2 AND "payable_gateway_payments"."payable_type" = 'Order'
1938
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 2 AND "payable_gateway_payments"."payable_type" = 'Order'
1939
+  (0.3ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 07:36:08.632200' WHERE "orders"."id" = 2
1940
+  (0.2ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 07:36:08.634617' WHERE "payable_gateway_payments"."id" = 5
1941
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 2 LIMIT 1
1942
+  (0.1ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 07:36:08.634617', "expires_at" = '2012-06-08 07:51:08.639275' WHERE "payable_gateway_payments"."id" = 5
1943
+  (2.4ms) commit transaction
1944
+ Redirected to http://localhost:3000/welcome/json_form
1945
+ Completed 302 Found in 1312ms (ActiveRecord: 3.8ms)
1946
+
1947
+
1948
+ Started GET "/welcome/json_form" for 127.0.0.1 at 2012-06-08 04:36:08 -0300
1949
+ Processing by WelcomeController#json_form as HTML
1950
+ Rendered welcome/json_form.html.erb within layouts/application (0.1ms)
1951
+ Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
1952
+
1953
+
1954
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:36:08 -0300
1955
+ Served asset /application.css - 304 Not Modified (0ms)
1956
+
1957
+
1958
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:08 -0300
1959
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1960
+
1961
+
1962
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:36:08 -0300
1963
+ Served asset /welcome.css - 304 Not Modified (0ms)
1964
+
1965
+
1966
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:08 -0300
1967
+ Served asset /application.js - 304 Not Modified (0ms)
1968
+
1969
+
1970
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:08 -0300
1971
+ Served asset /jquery.js - 304 Not Modified (0ms)
1972
+
1973
+
1974
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:36:08 -0300
1975
+ Served asset /welcome.js - 304 Not Modified (0ms)
1976
+
1977
+
1978
+ Started GET "/" for 127.0.0.1 at 2012-06-08 04:37:04 -0300
1979
+ Processing by WelcomeController#index as HTML
1980
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
1981
+  (0.1ms) begin transaction
1982
+ SQL (0.6ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", "open"], ["created_at", Fri, 08 Jun 2012 07:37:04 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 07:37:04 UTC +00:00], ["value", #<BigDecimal:103e76bd0,'0.2468E1',18(18)>]]
1983
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Fri, 08 Jun 2012 07:37:04 UTC +00:00], ["expires_at", nil], ["payable_id", 3], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 07:37:04 UTC +00:00]]
1984
+  (2.6ms) commit transaction
1985
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
1986
+ Rendered welcome/index.html.erb within layouts/application (2.2ms)
1987
+ Completed 200 OK in 113ms (Views: 7.8ms | ActiveRecord: 4.7ms)
1988
+
1989
+
1990
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:37:04 -0300
1991
+ Served asset /welcome.css - 304 Not Modified (0ms)
1992
+
1993
+
1994
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:04 -0300
1995
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
1996
+
1997
+
1998
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:04 -0300
1999
+ Served asset /welcome.js - 304 Not Modified (0ms)
2000
+
2001
+
2002
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:04 -0300
2003
+ Served asset /application.js - 304 Not Modified (0ms)
2004
+
2005
+
2006
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:04 -0300
2007
+ Served asset /jquery.js - 304 Not Modified (0ms)
2008
+
2009
+
2010
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:37:04 -0300
2011
+ Served asset /application.css - 304 Not Modified (0ms)
2012
+
2013
+
2014
+ Started POST "/welcome/checkout?id=3" for 127.0.0.1 at 2012-06-08 04:37:08 -0300
2015
+ Processing by WelcomeController#checkout as HTML
2016
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"3"}
2017
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "3"]]
2018
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2019
+  (0.1ms) begin transaction
2020
+  (0.2ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2021
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2022
+  (0.3ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 07:37:10.390489' WHERE "orders"."id" = 3
2023
+  (0.2ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 07:37:10.392887' WHERE "payable_gateway_payments"."id" = 6
2024
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 3 LIMIT 1
2025
+  (0.1ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 07:37:10.392887', "expires_at" = '2012-06-08 07:52:10.397116' WHERE "payable_gateway_payments"."id" = 6
2026
+  (1.9ms) commit transaction
2027
+ Redirected to http://localhost:3000/welcome/json_form?token=G2B081N2M0N6O0Q8Q0C4A3T791D0N22372K0T0H0Q030T030U735Z6R6W0L0
2028
+ Completed 302 Found in 2336ms (ActiveRecord: 3.3ms)
2029
+
2030
+
2031
+ Started GET "/welcome/json_form?token=G2B081N2M0N6O0Q8Q0C4A3T791D0N22372K0T0H0Q030T030U735Z6R6W0L0" for 127.0.0.1 at 2012-06-08 04:37:10 -0300
2032
+ Processing by WelcomeController#json_form as HTML
2033
+ Parameters: {"token"=>"G2B081N2M0N6O0Q8Q0C4A3T791D0N22372K0T0H0Q030T030U735Z6R6W0L0"}
2034
+ Rendered welcome/json_form.html.erb within layouts/application (0.1ms)
2035
+ Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
2036
+
2037
+
2038
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:10 -0300
2039
+ Served asset /jquery.js - 304 Not Modified (0ms)
2040
+
2041
+
2042
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:10 -0300
2043
+ Served asset /welcome.js - 304 Not Modified (0ms)
2044
+
2045
+
2046
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 04:37:10 -0300
2047
+ Served asset /application.css - 304 Not Modified (0ms)
2048
+
2049
+
2050
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 04:37:10 -0300
2051
+ Served asset /welcome.css - 304 Not Modified (0ms)
2052
+
2053
+
2054
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:10 -0300
2055
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2056
+
2057
+
2058
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 04:37:10 -0300
2059
+ Served asset /application.js - 304 Not Modified (0ms)
2060
+ Connecting to database specified by database.yml
2061
+ Connecting to database specified by database.yml
2062
+ Connecting to database specified by database.yml
2063
+ Connecting to database specified by database.yml
2064
+ Connecting to database specified by database.yml
2065
+ Connecting to database specified by database.yml
2066
+ Connecting to database specified by database.yml
2067
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2068
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
2069
+ Migrating to CreateOrders (20120608040630)
2070
+  (0.0ms) select sqlite_version(*)
2071
+  (0.0ms) begin transaction
2072
+  (0.7ms) DROP TABLE "orders"
2073
+  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120608040630'
2074
+  (2.4ms) commit transaction
2075
+  (0.3ms) select sqlite_version(*)
2076
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2077
+  (0.0ms) PRAGMA index_list("payable_gateway_payments")
2078
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2079
+ Migrating to CreateOrders (20120608040630)
2080
+  (0.0ms) begin transaction
2081
+  (0.5ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" decimal(9,2), "bill_status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2082
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120608040630')
2083
+  (1.2ms) commit transaction
2084
+  (0.3ms) select sqlite_version(*)
2085
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2086
+  (0.0ms) PRAGMA index_list("orders")
2087
+  (0.0ms) PRAGMA index_list("payable_gateway_payments")
2088
+ Connecting to database specified by database.yml
2089
+ Connecting to database specified by database.yml
2090
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2091
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
2092
+ Migrating to CreateOrders (20120608040630)
2093
+  (0.0ms) select sqlite_version(*)
2094
+  (0.0ms) begin transaction
2095
+  (0.9ms) DROP TABLE "orders"
2096
+  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120608040630'
2097
+  (2.7ms) commit transaction
2098
+ Migrating to CreatePayableGatewayPayments (20120607044142)
2099
+  (0.1ms) begin transaction
2100
+  (0.6ms) DROP TABLE "payable_gateway_payments"
2101
+  (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120607044142'
2102
+  (1.7ms) commit transaction
2103
+  (0.2ms) select sqlite_version(*)
2104
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2105
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
2106
+ Migrating to CreatePayableGatewayPayments (20120607044142)
2107
+  (0.0ms) begin transaction
2108
+  (0.5ms) CREATE TABLE "payable_gateway_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "payable_type" varchar(255), "payable_id" integer, "expires_at" datetime, "status" varchar(255), "config" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2109
+  (0.2ms) CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
2110
+ SQLite3::SQLException: near "USING": syntax error: CREATE UNIQUE INDEX un_index_payable_gateway_payments ON payable_gateway_payments USING btree (payable_id, payable_type) WHERE status <> 'canceled';
2111
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120607044142')
2112
+  (1.5ms) commit transaction
2113
+ Migrating to CreateOrders (20120608040630)
2114
+  (0.1ms) begin transaction
2115
+  (0.4ms) CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" decimal(9,2), "bill_status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2116
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120608040630')
2117
+  (1.2ms) commit transaction
2118
+  (0.3ms) select sqlite_version(*)
2119
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2120
+  (0.0ms) PRAGMA index_list("orders")
2121
+  (0.0ms) PRAGMA index_list("payable_gateway_payments")
2122
+ Connecting to database specified by database.yml
2123
+ Connecting to database specified by database.yml
2124
+
2125
+
2126
+ Started GET "/" for 127.0.0.1 at 2012-06-08 05:54:11 -0300
2127
+ Processing by WelcomeController#index as HTML
2128
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
2129
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
2130
+ Rendered welcome/index.html.erb within layouts/application (24.6ms)
2131
+ Completed 200 OK in 218ms (Views: 102.4ms | ActiveRecord: 7.8ms)
2132
+
2133
+
2134
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:12 -0300
2135
+ Served asset /welcome.css - 304 Not Modified (2ms)
2136
+
2137
+
2138
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:12 -0300
2139
+ Served asset /jquery.js - 304 Not Modified (6ms)
2140
+
2141
+
2142
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:12 -0300
2143
+ Served asset /welcome.js - 304 Not Modified (3ms)
2144
+
2145
+
2146
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:12 -0300
2147
+ Served asset /application.js - 304 Not Modified (7ms)
2148
+
2149
+
2150
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:12 -0300
2151
+ Served asset /application.css - 304 Not Modified (3ms)
2152
+
2153
+
2154
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:12 -0300
2155
+ Served asset /jquery_ujs.js - 304 Not Modified (10ms)
2156
+
2157
+
2158
+ Started POST "/welcome/checkout?id=3" for 127.0.0.1 at 2012-06-08 05:54:15 -0300
2159
+ Processing by WelcomeController#checkout as HTML
2160
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"3"}
2161
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "3"]]
2162
+  (0.1ms) begin transaction
2163
+  (0.1ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2164
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2165
+  (0.4ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 08:54:15.889458' WHERE "orders"."id" = 3
2166
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2167
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 3 LIMIT 1
2168
+  (0.4ms) rollback transaction
2169
+ Redirected to http://localhost:3000/
2170
+ Completed 302 Found in 1607ms (ActiveRecord: 2.1ms)
2171
+
2172
+
2173
+ Started GET "/" for 127.0.0.1 at 2012-06-08 05:54:17 -0300
2174
+ Processing by WelcomeController#index as HTML
2175
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
2176
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
2177
+ Rendered welcome/index.html.erb within layouts/application (2.1ms)
2178
+ Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.4ms)
2179
+
2180
+
2181
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:17 -0300
2182
+ Served asset /jquery.js - 304 Not Modified (0ms)
2183
+
2184
+
2185
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:17 -0300
2186
+ Served asset /welcome.css - 304 Not Modified (0ms)
2187
+
2188
+
2189
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:17 -0300
2190
+ Served asset /application.js - 304 Not Modified (0ms)
2191
+
2192
+
2193
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:17 -0300
2194
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2195
+
2196
+
2197
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:17 -0300
2198
+ Served asset /welcome.js - 304 Not Modified (0ms)
2199
+
2200
+
2201
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:17 -0300
2202
+ Served asset /application.css - 304 Not Modified (0ms)
2203
+
2204
+
2205
+ Started POST "/welcome/checkout?id=3" for 127.0.0.1 at 2012-06-08 05:54:22 -0300
2206
+ Processing by WelcomeController#checkout as HTML
2207
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"3"}
2208
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "3"]]
2209
+  (0.1ms) begin transaction
2210
+  (0.2ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2211
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2212
+  (0.3ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 08:54:22.206955' WHERE "orders"."id" = 3
2213
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2214
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 3 LIMIT 1
2215
+  (0.6ms) rollback transaction
2216
+ Redirected to http://localhost:3000/
2217
+ Completed 302 Found in 2044ms (ActiveRecord: 1.6ms)
2218
+
2219
+
2220
+ Started GET "/" for 127.0.0.1 at 2012-06-08 05:54:24 -0300
2221
+ Processing by WelcomeController#index as HTML
2222
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
2223
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
2224
+ Rendered welcome/index.html.erb within layouts/application (2.0ms)
2225
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
2226
+
2227
+
2228
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:24 -0300
2229
+ Served asset /welcome.css - 304 Not Modified (0ms)
2230
+
2231
+
2232
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:24 -0300
2233
+ Served asset /jquery.js - 304 Not Modified (0ms)
2234
+
2235
+
2236
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:24 -0300
2237
+ Served asset /welcome.js - 304 Not Modified (0ms)
2238
+
2239
+
2240
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:24 -0300
2241
+ Served asset /application.js - 304 Not Modified (0ms)
2242
+
2243
+
2244
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:24 -0300
2245
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2246
+
2247
+
2248
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:24 -0300
2249
+ Served asset /application.css - 304 Not Modified (0ms)
2250
+
2251
+
2252
+ Started POST "/welcome/checkout?id=3" for 127.0.0.1 at 2012-06-08 05:54:44 -0300
2253
+ Processing by WelcomeController#checkout as HTML
2254
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"3"}
2255
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "3"]]
2256
+  (0.1ms) begin transaction
2257
+  (0.1ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2258
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order'
2259
+  (0.4ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 08:54:44.999838' WHERE "orders"."id" = 3
2260
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 3 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2261
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 3 LIMIT 1
2262
+  (0.2ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 08:54:46.224178', "config" = '---
2263
+ :id: "201206080554460730000000757075"
2264
+ :status: Sucesso
2265
+ :token: Q2O0H1P2F066F0K8G0M5J5M444Q6Y0L7T3W0E0R0R0L0B0C0I775U7Q097V5
2266
+ ' WHERE "payable_gateway_payments"."id" = 16
2267
+  (0.1ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 08:54:46.224178', "expires_at" = '2012-06-08 09:09:46.231306', "config" = '---
2268
+ :id: "201206080554460730000000757075"
2269
+ :status: Sucesso
2270
+ :token: Q2O0H1P2F066F0K8G0M5J5M444Q6Y0L7T3W0E0R0R0L0B0C0I775U7Q097V5
2271
+ ' WHERE "payable_gateway_payments"."id" = 16
2272
+  (2.5ms) commit transaction
2273
+ Redirected to http://localhost:3000/welcome/json_form?id=3
2274
+ Completed 302 Found in 1295ms (ActiveRecord: 4.7ms)
2275
+
2276
+
2277
+ Started GET "/welcome/json_form?id=3" for 127.0.0.1 at 2012-06-08 05:54:46 -0300
2278
+ Processing by WelcomeController#json_form as HTML
2279
+ Parameters: {"id"=>"3"}
2280
+ Rendered welcome/json_form.html.erb within layouts/application (0.4ms)
2281
+ Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
2282
+
2283
+
2284
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:46 -0300
2285
+ Served asset /welcome.css - 304 Not Modified (0ms)
2286
+
2287
+
2288
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:46 -0300
2289
+ Served asset /application.css - 304 Not Modified (0ms)
2290
+
2291
+
2292
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:46 -0300
2293
+ Served asset /welcome.js - 304 Not Modified (0ms)
2294
+
2295
+
2296
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:46 -0300
2297
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2298
+
2299
+
2300
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:46 -0300
2301
+ Served asset /application.js - 304 Not Modified (0ms)
2302
+
2303
+
2304
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:46 -0300
2305
+ Served asset /jquery.js - 304 Not Modified (0ms)
2306
+
2307
+
2308
+ Started GET "/welcome" for 127.0.0.1 at 2012-06-08 05:54:52 -0300
2309
+
2310
+ ActionController::RoutingError (No route matches [GET] "/welcome"):
2311
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2312
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2313
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
2314
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
2315
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
2316
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
2317
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
2318
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2319
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
2320
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
2321
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
2322
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
2323
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
2324
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
2325
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
2326
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2327
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2328
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2329
+
2330
+
2331
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
2332
+
2333
+
2334
+ Started GET "/" for 127.0.0.1 at 2012-06-08 05:54:57 -0300
2335
+ Processing by WelcomeController#index as HTML
2336
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
2337
+  (0.1ms) begin transaction
2338
+ SQL (0.6ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", "open"], ["created_at", Fri, 08 Jun 2012 08:54:57 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 08:54:57 UTC +00:00], ["value", #<BigDecimal:10323e340,'0.69104E2',18(18)>]]
2339
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("config", "created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["config", "--- {}\n\n"], ["created_at", Fri, 08 Jun 2012 08:54:57 UTC +00:00], ["expires_at", nil], ["payable_id", 4], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 08:54:57 UTC +00:00]]
2340
+  (31.7ms) commit transaction
2341
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
2342
+ Rendered welcome/index.html.erb within layouts/application (3.1ms)
2343
+ Completed 200 OK in 51ms (Views: 9.2ms | ActiveRecord: 33.2ms)
2344
+
2345
+
2346
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:57 -0300
2347
+ Served asset /application.css - 304 Not Modified (0ms)
2348
+
2349
+
2350
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:54:57 -0300
2351
+ Served asset /welcome.css - 304 Not Modified (0ms)
2352
+
2353
+
2354
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:57 -0300
2355
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2356
+
2357
+
2358
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:57 -0300
2359
+ Served asset /application.js - 304 Not Modified (0ms)
2360
+
2361
+
2362
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:57 -0300
2363
+ Served asset /jquery.js - 304 Not Modified (0ms)
2364
+
2365
+
2366
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:54:57 -0300
2367
+ Served asset /welcome.js - 304 Not Modified (0ms)
2368
+
2369
+
2370
+ Started POST "/welcome/checkout?id=4" for 127.0.0.1 at 2012-06-08 05:55:45 -0300
2371
+ Processing by WelcomeController#checkout as HTML
2372
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"4"}
2373
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "4"]]
2374
+  (0.1ms) begin transaction
2375
+  (0.2ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 4 AND "payable_gateway_payments"."payable_type" = 'Order'
2376
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 4 AND "payable_gateway_payments"."payable_type" = 'Order'
2377
+  (0.3ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 08:55:45.902413' WHERE "orders"."id" = 4
2378
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 4 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2379
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 4 LIMIT 1
2380
+  (0.2ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 08:55:47.689402', "config" = '---
2381
+ :id: "201206080555475360000000757076"
2382
+ :status: Sucesso
2383
+ :token: X210J162G0L6Q0H8S0P5R555D4U7J5D3V6F0Q0J0U01000W0C755R7I0Y7S6
2384
+ ' WHERE "payable_gateway_payments"."id" = 17
2385
+  (0.1ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 08:55:47.689402', "expires_at" = '2012-06-08 09:10:47.692691', "config" = '---
2386
+ :id: "201206080555475360000000757076"
2387
+ :status: Sucesso
2388
+ :token: X210J162G0L6Q0H8S0P5R555D4U7J5D3V6F0Q0J0U01000W0C755R7I0Y7S6
2389
+ ' WHERE "payable_gateway_payments"."id" = 17
2390
+  (2.6ms) commit transaction
2391
+ Redirected to http://localhost:3000/welcome/json_form?id=4
2392
+ Completed 302 Found in 1801ms (ActiveRecord: 4.0ms)
2393
+
2394
+
2395
+ Started GET "/welcome/json_form?id=4" for 127.0.0.1 at 2012-06-08 05:55:47 -0300
2396
+ Processing by WelcomeController#json_form as HTML
2397
+ Parameters: {"id"=>"4"}
2398
+ Rendered welcome/json_form.html.erb within layouts/application (0.9ms)
2399
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
2400
+
2401
+
2402
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:55:47 -0300
2403
+ Served asset /application.css - 304 Not Modified (0ms)
2404
+
2405
+
2406
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:55:47 -0300
2407
+ Served asset /welcome.css - 304 Not Modified (0ms)
2408
+
2409
+
2410
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:47 -0300
2411
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2412
+
2413
+
2414
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:47 -0300
2415
+ Served asset /welcome.js - 304 Not Modified (0ms)
2416
+
2417
+
2418
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:47 -0300
2419
+ Served asset /application.js - 304 Not Modified (0ms)
2420
+
2421
+
2422
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:47 -0300
2423
+ Served asset /jquery.js - 304 Not Modified (0ms)
2424
+
2425
+
2426
+ Started GET "/" for 127.0.0.1 at 2012-06-08 05:55:49 -0300
2427
+ Processing by WelcomeController#index as HTML
2428
+  (0.2ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
2429
+  (0.0ms) begin transaction
2430
+ SQL (0.5ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", "open"], ["created_at", Fri, 08 Jun 2012 08:55:49 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 08:55:49 UTC +00:00], ["value", #<BigDecimal:10373d918,'0.19744E2',18(18)>]]
2431
+ SQL (0.2ms) INSERT INTO "payable_gateway_payments" ("config", "created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["config", "--- {}\n\n"], ["created_at", Fri, 08 Jun 2012 08:55:49 UTC +00:00], ["expires_at", nil], ["payable_id", 5], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 08:55:49 UTC +00:00]]
2432
+  (5.3ms) commit transaction
2433
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
2434
+ Rendered welcome/index.html.erb within layouts/application (2.8ms)
2435
+ Completed 200 OK in 20ms (Views: 7.5ms | ActiveRecord: 6.4ms)
2436
+
2437
+
2438
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:55:49 -0300
2439
+ Served asset /application.css - 304 Not Modified (0ms)
2440
+
2441
+
2442
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:49 -0300
2443
+ Served asset /jquery.js - 304 Not Modified (0ms)
2444
+
2445
+
2446
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:49 -0300
2447
+ Served asset /application.js - 304 Not Modified (0ms)
2448
+
2449
+
2450
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:49 -0300
2451
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2452
+
2453
+
2454
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:55:49 -0300
2455
+ Served asset /welcome.css - 304 Not Modified (0ms)
2456
+
2457
+
2458
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:55:49 -0300
2459
+ Served asset /welcome.js - 304 Not Modified (0ms)
2460
+
2461
+
2462
+ Started POST "/welcome/checkout?id=5" for 127.0.0.1 at 2012-06-08 05:57:34 -0300
2463
+ Processing by WelcomeController#checkout as HTML
2464
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"5"}
2465
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2466
+  (0.1ms) begin transaction
2467
+  (0.1ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order'
2468
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order'
2469
+  (0.3ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 08:57:34.235144' WHERE "orders"."id" = 5
2470
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2471
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 5 LIMIT 1
2472
+  (0.2ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 08:57:36.251495', "config" = '---
2473
+ :id: "201206080557360910000000757077"
2474
+ :status: Sucesso
2475
+ :token: K2F0E1E2L086H0A8K0A555I7M3C610E9P1X0S0T0H0J0M090H7M5B710R757
2476
+ ' WHERE "payable_gateway_payments"."id" = 18
2477
+  (0.1ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 08:57:36.251495', "expires_at" = '2012-06-08 09:12:36.255345', "config" = '---
2478
+ :id: "201206080557360910000000757077"
2479
+ :status: Sucesso
2480
+ :token: K2F0E1E2L086H0A8K0A555I7M3C610E9P1X0S0T0H0J0M090H7M5B710R757
2481
+ ' WHERE "payable_gateway_payments"."id" = 18
2482
+  (2.5ms) commit transaction
2483
+ Redirected to http://localhost:3000/welcome/json_form?id=5
2484
+ Completed 302 Found in 2124ms (ActiveRecord: 4.6ms)
2485
+
2486
+
2487
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 05:57:36 -0300
2488
+ Processing by WelcomeController#json_form as HTML
2489
+ Parameters: {"id"=>"5"}
2490
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2491
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2492
+ Rendered welcome/json_form.html.erb within layouts/application (3.3ms)
2493
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.4ms)
2494
+
2495
+
2496
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:57:36 -0300
2497
+ Served asset /application.css - 304 Not Modified (0ms)
2498
+
2499
+
2500
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:57:36 -0300
2501
+ Served asset /welcome.css - 304 Not Modified (0ms)
2502
+
2503
+
2504
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:57:36 -0300
2505
+ Served asset /jquery.js - 304 Not Modified (0ms)
2506
+
2507
+
2508
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:57:36 -0300
2509
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2510
+
2511
+
2512
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:57:36 -0300
2513
+ Served asset /application.js - 304 Not Modified (0ms)
2514
+
2515
+
2516
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:57:36 -0300
2517
+ Served asset /welcome.js - 304 Not Modified (0ms)
2518
+
2519
+
2520
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 05:58:06 -0300
2521
+ Processing by WelcomeController#json_form as HTML
2522
+ Parameters: {"id"=>"5"}
2523
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2524
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2525
+ Rendered welcome/json_form.html.erb within layouts/application (2.2ms)
2526
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.3ms)
2527
+
2528
+
2529
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:58:06 -0300
2530
+ Served asset /application.css - 304 Not Modified (0ms)
2531
+
2532
+
2533
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:58:06 -0300
2534
+ Served asset /jquery.js - 304 Not Modified (0ms)
2535
+
2536
+
2537
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:58:06 -0300
2538
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2539
+
2540
+
2541
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:58:06 -0300
2542
+ Served asset /welcome.js - 304 Not Modified (0ms)
2543
+
2544
+
2545
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:58:06 -0300
2546
+ Served asset /welcome.css - 304 Not Modified (0ms)
2547
+
2548
+
2549
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:58:06 -0300
2550
+ Served asset /application.js - 304 Not Modified (0ms)
2551
+
2552
+
2553
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 05:59:21 -0300
2554
+ Processing by WelcomeController#json_form as HTML
2555
+ Parameters: {"id"=>"5"}
2556
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2557
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2558
+ Rendered welcome/json_form.html.erb within layouts/application (2.5ms)
2559
+ Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.4ms)
2560
+
2561
+
2562
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:59:21 -0300
2563
+ Served asset /application.css - 304 Not Modified (0ms)
2564
+
2565
+
2566
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:59:21 -0300
2567
+ Served asset /welcome.css - 304 Not Modified (0ms)
2568
+
2569
+
2570
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:21 -0300
2571
+ Served asset /jquery.js - 304 Not Modified (0ms)
2572
+
2573
+
2574
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:21 -0300
2575
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2576
+
2577
+
2578
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:21 -0300
2579
+ Served asset /welcome.js - 304 Not Modified (0ms)
2580
+
2581
+
2582
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:21 -0300
2583
+ Served asset /application.js - 304 Not Modified (0ms)
2584
+
2585
+
2586
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 05:59:23 -0300
2587
+ Processing by WelcomeController#json_form as HTML
2588
+ Parameters: {"id"=>"5"}
2589
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2590
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2591
+ Rendered welcome/json_form.html.erb within layouts/application (1.4ms)
2592
+ Completed 200 OK in 49ms (Views: 47.3ms | ActiveRecord: 0.3ms)
2593
+
2594
+
2595
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:59:23 -0300
2596
+ Served asset /application.css - 304 Not Modified (0ms)
2597
+
2598
+
2599
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:59:23 -0300
2600
+ Served asset /welcome.css - 304 Not Modified (0ms)
2601
+
2602
+
2603
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:23 -0300
2604
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2605
+
2606
+
2607
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:23 -0300
2608
+ Served asset /welcome.js - 304 Not Modified (0ms)
2609
+
2610
+
2611
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:23 -0300
2612
+ Served asset /jquery.js - 304 Not Modified (0ms)
2613
+
2614
+
2615
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:23 -0300
2616
+ Served asset /application.js - 304 Not Modified (0ms)
2617
+
2618
+
2619
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 05:59:24 -0300
2620
+ Processing by WelcomeController#json_form as HTML
2621
+ Parameters: {"id"=>"5"}
2622
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2623
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2624
+ Rendered welcome/json_form.html.erb within layouts/application (2.0ms)
2625
+ Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.4ms)
2626
+
2627
+
2628
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 05:59:24 -0300
2629
+ Served asset /application.css - 304 Not Modified (0ms)
2630
+
2631
+
2632
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:24 -0300
2633
+ Served asset /jquery.js - 304 Not Modified (0ms)
2634
+
2635
+
2636
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:24 -0300
2637
+ Served asset /welcome.js - 304 Not Modified (0ms)
2638
+
2639
+
2640
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:24 -0300
2641
+ Served asset /application.js - 304 Not Modified (0ms)
2642
+
2643
+
2644
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 05:59:24 -0300
2645
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2646
+
2647
+
2648
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 05:59:24 -0300
2649
+ Served asset /welcome.css - 304 Not Modified (0ms)
2650
+
2651
+
2652
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:00:49 -0300
2653
+ Processing by WelcomeController#json_form as HTML
2654
+ Parameters: {"id"=>"5"}
2655
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2656
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2657
+ Rendered welcome/json_form.html.erb within layouts/application (2.3ms)
2658
+ Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.3ms)
2659
+
2660
+
2661
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:00:49 -0300
2662
+ Served asset /application.css - 304 Not Modified (0ms)
2663
+
2664
+
2665
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:00:49 -0300
2666
+ Served asset /welcome.css - 304 Not Modified (0ms)
2667
+
2668
+
2669
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:49 -0300
2670
+ Served asset /jquery.js - 304 Not Modified (0ms)
2671
+
2672
+
2673
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:49 -0300
2674
+ Served asset /welcome.js - 304 Not Modified (0ms)
2675
+
2676
+
2677
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:49 -0300
2678
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2679
+
2680
+
2681
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:49 -0300
2682
+ Served asset /application.js - 304 Not Modified (0ms)
2683
+
2684
+
2685
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:00:50 -0300
2686
+ Processing by WelcomeController#json_form as HTML
2687
+ Parameters: {"id"=>"5"}
2688
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2689
+ Payable::GatewayPayment Load (3.7ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2690
+ Rendered welcome/json_form.html.erb within layouts/application (5.7ms)
2691
+ Completed 200 OK in 12ms (Views: 7.1ms | ActiveRecord: 3.8ms)
2692
+
2693
+
2694
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:50 -0300
2695
+ Served asset /jquery.js - 304 Not Modified (0ms)
2696
+
2697
+
2698
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:50 -0300
2699
+ Served asset /welcome.js - 304 Not Modified (0ms)
2700
+
2701
+
2702
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:00:50 -0300
2703
+ Served asset /welcome.css - 304 Not Modified (0ms)
2704
+
2705
+
2706
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:50 -0300
2707
+ Served asset /application.js - 304 Not Modified (4ms)
2708
+
2709
+
2710
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:50 -0300
2711
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2712
+
2713
+
2714
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:00:50 -0300
2715
+ Served asset /application.css - 304 Not Modified (0ms)
2716
+
2717
+
2718
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:00:51 -0300
2719
+ Processing by WelcomeController#json_form as HTML
2720
+ Parameters: {"id"=>"5"}
2721
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2722
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
2723
+ Rendered welcome/json_form.html.erb within layouts/application (1.8ms)
2724
+ Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.3ms)
2725
+
2726
+
2727
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:00:52 -0300
2728
+ Served asset /application.css - 304 Not Modified (0ms)
2729
+
2730
+
2731
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:52 -0300
2732
+ Served asset /jquery.js - 304 Not Modified (0ms)
2733
+
2734
+
2735
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:52 -0300
2736
+ Served asset /welcome.js - 304 Not Modified (0ms)
2737
+
2738
+
2739
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:00:52 -0300
2740
+ Served asset /welcome.css - 304 Not Modified (0ms)
2741
+
2742
+
2743
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:52 -0300
2744
+ Served asset /application.js - 304 Not Modified (0ms)
2745
+
2746
+
2747
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:00:52 -0300
2748
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2749
+
2750
+
2751
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:07:42 -0300
2752
+ Processing by WelcomeController#json_form as HTML
2753
+ Parameters: {"id"=>"5"}
2754
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
2755
+ ERROR: compiling _app_views_welcome_json_form_html_erb__3300825928256415812_2159629440 RAISED /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:11: syntax error, unexpected ':', expecting ')'
2756
+ ');@output_buffer.append= ( content_tag(:div, nil, 'id': 'MoipWidget'
2757
+ ^
2758
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:12: syntax error, unexpected ':', expecting ')'
2759
+ 'data-token': @order.payable_token,
2760
+ ^
2761
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:13: syntax error, unexpected ':', expecting tCOLON2 or '[' or '.'
2762
+ 'callback-method-success': 'func1',
2763
+ ^
2764
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:13: syntax error, unexpected ',', expecting ')'
2765
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:14: syntax error, unexpected ':', expecting ')'
2766
+ ... 'callback-method-error': 'func2' ) );@output_buffer.s...
2767
+ ... ^
2768
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:14: syntax error, unexpected ')', expecting keyword_end
2769
+ ...back-method-error': 'func2' ) );@output_buffer.safe_concat('
2770
+ ... ^
2771
+ Function body: def _app_views_welcome_json_form_html_erb__3300825928256415812_2159629440(local_assigns, output_buffer)
2772
+ _old_virtual_path, @virtual_path = @virtual_path, "welcome/json_form";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('
2773
+ '); @order.gateway_payment.config.each do |k, v|
2774
+ @output_buffer.safe_concat('<p>
2775
+ ');@output_buffer.append= ( k );@output_buffer.safe_concat(': ');@output_buffer.append= ( v );@output_buffer.safe_concat('
2776
+ ');@output_buffer.safe_concat('</p>
2777
+ '); end
2778
+ @output_buffer.safe_concat('
2779
+
2780
+
2781
+
2782
+ ');@output_buffer.append= ( content_tag(:div, nil, 'id': 'MoipWidget'
2783
+ 'data-token': @order.payable_token,
2784
+ 'callback-method-success': 'func1',
2785
+ 'callback-method-error': 'func2' ) );@output_buffer.safe_concat('
2786
+ ');@output_buffer.safe_concat('
2787
+
2788
+
2789
+
2790
+
2791
+
2792
+
2793
+
2794
+ ');@output_buffer.append= ( link_to "Voltar", root_url );@output_buffer.to_s
2795
+ ensure
2796
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
2797
+ end
2798
+
2799
+ Backtrace: /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:297:in `module_eval'
2800
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:297:in `compile'
2801
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:244:in `block in compile!'
2802
+ <internal:prelude>:10:in `synchronize'
2803
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:232:in `compile!'
2804
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:144:in `block in render'
2805
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:125:in `instrument'
2806
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/template.rb:143:in `render'
2807
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
2808
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2809
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `block in instrument'
2810
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2811
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `instrument'
2812
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2813
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
2814
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
2815
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
2816
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/template_renderer.rb:18:in `render'
2817
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/renderer.rb:36:in `render_template'
2818
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_view/renderer/renderer.rb:17:in `render'
2819
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:110:in `_render_template'
2820
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/streaming.rb:225:in `_render_template'
2821
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:103:in `render_to_body'
2822
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2823
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2824
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:88:in `render'
2825
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rendering.rb:16:in `render'
2826
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2827
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2828
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
2829
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/core_ext/benchmark.rb:5:in `ms'
2830
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2831
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2832
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2833
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:39:in `render'
2834
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2835
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2836
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/base.rb:167:in `process_action'
2837
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rendering.rb:10:in `process_action'
2838
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2839
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:414:in `_run__1039287750085714886__process_action__2085384870015354182__callbacks'
2840
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:405:in `__run_callback'
2841
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2842
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
2843
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/callbacks.rb:17:in `process_action'
2844
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rescue.rb:29:in `process_action'
2845
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2846
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `block in instrument'
2847
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2848
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/notifications.rb:123:in `instrument'
2849
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2850
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/params_wrapper.rb:206:in `process_action'
2851
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2852
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/base.rb:121:in `process'
2853
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/abstract_controller/rendering.rb:45:in `process'
2854
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal.rb:203:in `dispatch'
2855
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2856
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_controller/metal.rb:246:in `block in action'
2857
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:73:in `call'
2858
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2859
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:36:in `call'
2860
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
2861
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
2862
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
2863
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/routing/route_set.rb:600:in `call'
2864
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2865
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
2866
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
2867
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/head.rb:14:in `call'
2868
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2869
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/flash.rb:238:in `call'
2870
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2871
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2872
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/cookies.rb:338:in `call'
2873
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/query_cache.rb:64:in `call'
2874
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.5/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2875
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2876
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:405:in `_run__9687885660614031__call__3174048365196633798__callbacks'
2877
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:405:in `__run_callback'
2878
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2879
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/callbacks.rb:81:in `run_callbacks'
2880
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2881
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/reloader.rb:65:in `call'
2882
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2883
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2884
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2885
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/rack/logger.rb:26:in `call_app'
2886
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/rack/logger.rb:16:in `call'
2887
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2888
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2889
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
2890
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.5/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2891
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
2892
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/static.rb:62:in `call'
2893
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/engine.rb:479:in `call'
2894
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/application.rb:220:in `call'
2895
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
2896
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.5/lib/rails/rack/log_tailer.rb:17:in `call'
2897
+ /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
2898
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
2899
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
2900
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
2901
+ Rendered welcome/json_form.html.erb within layouts/application (20.5ms)
2902
+ Completed 500 Internal Server Error in 86ms
2903
+
2904
+ ActionView::Template::Error (/Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:11: syntax error, unexpected ':', expecting ')'
2905
+ ');@output_buffer.append= ( content_tag(:div, nil, 'id': 'MoipWidget'
2906
+ ^
2907
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:12: syntax error, unexpected ':', expecting ')'
2908
+ 'data-token': @order.payable_token,
2909
+ ^
2910
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:13: syntax error, unexpected ':', expecting tCOLON2 or '[' or '.'
2911
+ 'callback-method-success': 'func1',
2912
+ ^
2913
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:13: syntax error, unexpected ',', expecting ')'
2914
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:14: syntax error, unexpected ':', expecting ')'
2915
+ ... 'callback-method-error': 'func2' ) );@output_buffer.s...
2916
+ ... ^
2917
+ /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:14: syntax error, unexpected ')', expecting keyword_end
2918
+ ...back-method-error': 'func2' ) );@output_buffer.safe_concat('
2919
+ ... ^):
2920
+ 8:
2921
+ 9:
2922
+ 10:
2923
+ 11: <%= content_tag(:div, nil, 'id': 'MoipWidget'
2924
+ 12: 'data-token': @order.payable_token,
2925
+ 13: 'callback-method-success': 'func1',
2926
+ 14: 'callback-method-error': 'func2' ) %>
2927
+ actionpack (3.2.5) lib/action_view/template.rb:297:in `module_eval'
2928
+ actionpack (3.2.5) lib/action_view/template.rb:297:in `compile'
2929
+ actionpack (3.2.5) lib/action_view/template.rb:244:in `block in compile!'
2930
+ <internal:prelude>:10:in `synchronize'
2931
+ actionpack (3.2.5) lib/action_view/template.rb:232:in `compile!'
2932
+ actionpack (3.2.5) lib/action_view/template.rb:144:in `block in render'
2933
+ activesupport (3.2.5) lib/active_support/notifications.rb:125:in `instrument'
2934
+ actionpack (3.2.5) lib/action_view/template.rb:143:in `render'
2935
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
2936
+ actionpack (3.2.5) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2937
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `block in instrument'
2938
+ activesupport (3.2.5) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2939
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `instrument'
2940
+ actionpack (3.2.5) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2941
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
2942
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
2943
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
2944
+ actionpack (3.2.5) lib/action_view/renderer/template_renderer.rb:18:in `render'
2945
+ actionpack (3.2.5) lib/action_view/renderer/renderer.rb:36:in `render_template'
2946
+ actionpack (3.2.5) lib/action_view/renderer/renderer.rb:17:in `render'
2947
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:110:in `_render_template'
2948
+ actionpack (3.2.5) lib/action_controller/metal/streaming.rb:225:in `_render_template'
2949
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:103:in `render_to_body'
2950
+ actionpack (3.2.5) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2951
+ actionpack (3.2.5) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2952
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:88:in `render'
2953
+ actionpack (3.2.5) lib/action_controller/metal/rendering.rb:16:in `render'
2954
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2955
+ activesupport (3.2.5) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2956
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime'
2957
+ activesupport (3.2.5) lib/active_support/core_ext/benchmark.rb:5:in `ms'
2958
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2959
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2960
+ activerecord (3.2.5) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2961
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:39:in `render'
2962
+ actionpack (3.2.5) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2963
+ actionpack (3.2.5) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2964
+ actionpack (3.2.5) lib/abstract_controller/base.rb:167:in `process_action'
2965
+ actionpack (3.2.5) lib/action_controller/metal/rendering.rb:10:in `process_action'
2966
+ actionpack (3.2.5) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2967
+ activesupport (3.2.5) lib/active_support/callbacks.rb:414:in `_run__1039287750085714886__process_action__2085384870015354182__callbacks'
2968
+ activesupport (3.2.5) lib/active_support/callbacks.rb:405:in `__run_callback'
2969
+ activesupport (3.2.5) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2970
+ activesupport (3.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
2971
+ actionpack (3.2.5) lib/abstract_controller/callbacks.rb:17:in `process_action'
2972
+ actionpack (3.2.5) lib/action_controller/metal/rescue.rb:29:in `process_action'
2973
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2974
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `block in instrument'
2975
+ activesupport (3.2.5) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2976
+ activesupport (3.2.5) lib/active_support/notifications.rb:123:in `instrument'
2977
+ actionpack (3.2.5) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2978
+ actionpack (3.2.5) lib/action_controller/metal/params_wrapper.rb:206:in `process_action'
2979
+ activerecord (3.2.5) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2980
+ actionpack (3.2.5) lib/abstract_controller/base.rb:121:in `process'
2981
+ actionpack (3.2.5) lib/abstract_controller/rendering.rb:45:in `process'
2982
+ actionpack (3.2.5) lib/action_controller/metal.rb:203:in `dispatch'
2983
+ actionpack (3.2.5) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2984
+ actionpack (3.2.5) lib/action_controller/metal.rb:246:in `block in action'
2985
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:73:in `call'
2986
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2987
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:36:in `call'
2988
+ journey (1.0.3) lib/journey/router.rb:68:in `block in call'
2989
+ journey (1.0.3) lib/journey/router.rb:56:in `each'
2990
+ journey (1.0.3) lib/journey/router.rb:56:in `call'
2991
+ actionpack (3.2.5) lib/action_dispatch/routing/route_set.rb:600:in `call'
2992
+ actionpack (3.2.5) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2993
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
2994
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
2995
+ actionpack (3.2.5) lib/action_dispatch/middleware/head.rb:14:in `call'
2996
+ actionpack (3.2.5) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2997
+ actionpack (3.2.5) lib/action_dispatch/middleware/flash.rb:238:in `call'
2998
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
2999
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
3000
+ actionpack (3.2.5) lib/action_dispatch/middleware/cookies.rb:338:in `call'
3001
+ activerecord (3.2.5) lib/active_record/query_cache.rb:64:in `call'
3002
+ activerecord (3.2.5) lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
3003
+ actionpack (3.2.5) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
3004
+ activesupport (3.2.5) lib/active_support/callbacks.rb:405:in `_run__9687885660614031__call__3174048365196633798__callbacks'
3005
+ activesupport (3.2.5) lib/active_support/callbacks.rb:405:in `__run_callback'
3006
+ activesupport (3.2.5) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
3007
+ activesupport (3.2.5) lib/active_support/callbacks.rb:81:in `run_callbacks'
3008
+ actionpack (3.2.5) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3009
+ actionpack (3.2.5) lib/action_dispatch/middleware/reloader.rb:65:in `call'
3010
+ actionpack (3.2.5) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
3011
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
3012
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3013
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
3014
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
3015
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
3016
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
3017
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
3018
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3019
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
3020
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
3021
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
3022
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
3023
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
3024
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
3025
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
3026
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
3027
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
3028
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
3029
+
3030
+
3031
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
3032
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
3033
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.6ms)
3034
+
3035
+
3036
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:08:10 -0300
3037
+ Processing by WelcomeController#json_form as HTML
3038
+ Parameters: {"id"=>"5"}
3039
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3040
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3041
+ Rendered welcome/json_form.html.erb within layouts/application (26.4ms)
3042
+ Completed 500 Internal Server Error in 29ms
3043
+
3044
+ ActionView::Template::Error (undefined method `payable_token' for #<Order:0x000001034aed78>):
3045
+ 9:
3046
+ 10:
3047
+ 11: <%= content_tag(:div, nil, 'id' => 'MoipWidget',
3048
+ 12: 'data-token' => @order.payable_token,
3049
+ 13: 'callback-method-success' => 'func1',
3050
+ 14: 'callback-method-error' => 'func2' ) %>
3051
+ 15:
3052
+ app/views/welcome/json_form.html.erb:12:in `_app_views_welcome_json_form_html_erb__3300825928256415812_2175086640'
3053
+
3054
+
3055
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.5ms)
3056
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
3057
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (12.0ms)
3058
+ Connecting to database specified by database.yml
3059
+
3060
+
3061
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:08:26 -0300
3062
+ Processing by WelcomeController#json_form as HTML
3063
+ Parameters: {"id"=>"5"}
3064
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3065
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3066
+ Rendered welcome/json_form.html.erb within layouts/application (109.7ms)
3067
+ Completed 200 OK in 280ms (Views: 165.4ms | ActiveRecord: 8.8ms)
3068
+
3069
+
3070
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:08:26 -0300
3071
+ Served asset /welcome.css - 304 Not Modified (2ms)
3072
+
3073
+
3074
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:08:26 -0300
3075
+ Served asset /jquery.js - 304 Not Modified (3ms)
3076
+
3077
+
3078
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:08:26 -0300
3079
+ Served asset /jquery_ujs.js - 304 Not Modified (4ms)
3080
+
3081
+
3082
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:08:26 -0300
3083
+ Served asset /application.css - 304 Not Modified (3ms)
3084
+
3085
+
3086
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:08:26 -0300
3087
+ Served asset /welcome.js - 304 Not Modified (1ms)
3088
+
3089
+
3090
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:08:26 -0300
3091
+ Served asset /application.js - 304 Not Modified (6ms)
3092
+
3093
+
3094
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:09:23 -0300
3095
+ Processing by WelcomeController#json_form as HTML
3096
+ Parameters: {"id"=>"5"}
3097
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3098
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3099
+ Rendered welcome/json_form.html.erb within layouts/application (2.0ms)
3100
+ Completed 200 OK in 41ms (Views: 39.2ms | ActiveRecord: 0.3ms)
3101
+
3102
+
3103
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:09:23 -0300
3104
+ Served asset /welcome.css - 304 Not Modified (0ms)
3105
+
3106
+
3107
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:23 -0300
3108
+ Served asset /jquery.js - 304 Not Modified (0ms)
3109
+
3110
+
3111
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:09:23 -0300
3112
+ Served asset /application.css - 304 Not Modified (0ms)
3113
+
3114
+
3115
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:23 -0300
3116
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3117
+
3118
+
3119
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:23 -0300
3120
+ Served asset /welcome.js - 304 Not Modified (0ms)
3121
+
3122
+
3123
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:23 -0300
3124
+ Served asset /application.js - 304 Not Modified (0ms)
3125
+ Connecting to database specified by database.yml
3126
+
3127
+
3128
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:09:44 -0300
3129
+ Processing by WelcomeController#json_form as HTML
3130
+ Parameters: {"id"=>"5"}
3131
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3132
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3133
+ Rendered welcome/json_form.html.erb within layouts/application (80.0ms)
3134
+ Completed 200 OK in 308ms (Views: 195.2ms | ActiveRecord: 8.5ms)
3135
+
3136
+
3137
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:09:44 -0300
3138
+ Served asset /welcome.css - 304 Not Modified (2ms)
3139
+
3140
+
3141
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:09:44 -0300
3142
+ Served asset /application.css - 304 Not Modified (5ms)
3143
+
3144
+
3145
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:44 -0300
3146
+ Served asset /jquery.js - 304 Not Modified (2ms)
3147
+
3148
+
3149
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:44 -0300
3150
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
3151
+
3152
+
3153
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:44 -0300
3154
+ Served asset /application.js - 304 Not Modified (11ms)
3155
+
3156
+
3157
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:09:44 -0300
3158
+ Served asset /welcome.js - 304 Not Modified (1ms)
3159
+
3160
+
3161
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:10:14 -0300
3162
+ Processing by WelcomeController#json_form as HTML
3163
+ Parameters: {"id"=>"5"}
3164
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3165
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3166
+ Rendered welcome/json_form.html.erb within layouts/application (2.0ms)
3167
+ Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.3ms)
3168
+
3169
+
3170
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:10:14 -0300
3171
+ Served asset /welcome.css - 304 Not Modified (0ms)
3172
+
3173
+
3174
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:10:14 -0300
3175
+ Served asset /jquery.js - 304 Not Modified (0ms)
3176
+
3177
+
3178
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:10:14 -0300
3179
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3180
+
3181
+
3182
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:10:14 -0300
3183
+ Served asset /welcome.js - 304 Not Modified (0ms)
3184
+
3185
+
3186
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:10:14 -0300
3187
+ Served asset /application.js - 304 Not Modified (0ms)
3188
+
3189
+
3190
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:10:14 -0300
3191
+ Served asset /application.css - 304 Not Modified (42ms)
3192
+
3193
+
3194
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:14:19 -0300
3195
+ Processing by WelcomeController#json_form as HTML
3196
+ Parameters: {"id"=>"5"}
3197
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3198
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3199
+ Rendered welcome/json_form.html.erb within layouts/application (4.3ms)
3200
+ Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.4ms)
3201
+
3202
+
3203
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:14:19 -0300
3204
+ Served asset /welcome.css - 304 Not Modified (0ms)
3205
+
3206
+
3207
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:14:19 -0300
3208
+ Served asset /application.css - 304 Not Modified (0ms)
3209
+
3210
+
3211
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:14:19 -0300
3212
+ Served asset /jquery.js - 304 Not Modified (0ms)
3213
+
3214
+
3215
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:14:19 -0300
3216
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3217
+
3218
+
3219
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:14:19 -0300
3220
+ Served asset /application.js - 304 Not Modified (0ms)
3221
+
3222
+
3223
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:14:19 -0300
3224
+ Served asset /welcome.js - 304 Not Modified (0ms)
3225
+
3226
+
3227
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:15:59 -0300
3228
+ Processing by WelcomeController#json_form as HTML
3229
+ Parameters: {"id"=>"5"}
3230
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3231
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3232
+ Rendered welcome/json_form.html.erb within layouts/application (3.5ms)
3233
+ Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.4ms)
3234
+
3235
+
3236
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:15:59 -0300
3237
+ Served asset /application.css - 304 Not Modified (0ms)
3238
+
3239
+
3240
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:15:59 -0300
3241
+ Served asset /welcome.css - 304 Not Modified (0ms)
3242
+
3243
+
3244
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:15:59 -0300
3245
+ Served asset /jquery.js - 304 Not Modified (0ms)
3246
+
3247
+
3248
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:15:59 -0300
3249
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3250
+
3251
+
3252
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:15:59 -0300
3253
+ Served asset /welcome.js - 304 Not Modified (0ms)
3254
+
3255
+
3256
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:15:59 -0300
3257
+ Served asset /application.js - 304 Not Modified (0ms)
3258
+
3259
+
3260
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:24:17 -0300
3261
+ Processing by WelcomeController#json_form as HTML
3262
+ Parameters: {"id"=>"5"}
3263
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3264
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3265
+ Rendered welcome/json_form.html.erb within layouts/application (4.1ms)
3266
+ Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.3ms)
3267
+
3268
+
3269
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:24:17 -0300
3270
+ Served asset /application.css - 304 Not Modified (0ms)
3271
+
3272
+
3273
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:24:17 -0300
3274
+ Served asset /welcome.css - 304 Not Modified (0ms)
3275
+
3276
+
3277
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:24:17 -0300
3278
+ Served asset /jquery.js - 304 Not Modified (0ms)
3279
+
3280
+
3281
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:24:17 -0300
3282
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3283
+
3284
+
3285
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:24:17 -0300
3286
+ Served asset /welcome.js - 304 Not Modified (0ms)
3287
+
3288
+
3289
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:24:17 -0300
3290
+ Served asset /application.js - 304 Not Modified (0ms)
3291
+
3292
+
3293
+ Started GET "/welcome/json_form?id=5" for 127.0.0.1 at 2012-06-08 06:40:20 -0300
3294
+ Processing by WelcomeController#json_form as HTML
3295
+ Parameters: {"id"=>"5"}
3296
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "5"]]
3297
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 5 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3298
+ DEPRECATION WARNING: button_to_function is deprecated and will be removed from Rails 4.0. (called from _app_views_welcome_json_form_html_erb__3287841156424055795_2155480640 at /Users/targa/Sites/gems/payable/test/dummy/app/views/welcome/json_form.html.erb:61)
3299
+ Rendered welcome/json_form.html.erb within layouts/application (4.1ms)
3300
+ Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.3ms)
3301
+
3302
+
3303
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2012-06-08 06:40:20 -0300
3304
+ Served asset /welcome.css - 304 Not Modified (0ms)
3305
+
3306
+
3307
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 06:40:20 -0300
3308
+ Served asset /jquery.js - 304 Not Modified (0ms)
3309
+
3310
+
3311
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-06-08 06:40:20 -0300
3312
+ Served asset /application.css - 304 Not Modified (0ms)
3313
+
3314
+
3315
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2012-06-08 06:40:20 -0300
3316
+ Served asset /welcome.js - 304 Not Modified (0ms)
3317
+
3318
+
3319
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-06-08 06:40:20 -0300
3320
+ Served asset /application.js - 304 Not Modified (0ms)
3321
+
3322
+
3323
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 06:40:20 -0300
3324
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
3325
+ Connecting to database specified by database.yml
3326
+
3327
+
3328
+ Started GET "/" for 127.0.0.1 at 2012-06-08 07:02:54 -0300
3329
+
3330
+ ActionController::RoutingError (No route matches [GET] "/"):
3331
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3332
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3333
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
3334
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
3335
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
3336
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
3337
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
3338
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3339
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
3340
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
3341
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
3342
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
3343
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
3344
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
3345
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
3346
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
3347
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
3348
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
3349
+
3350
+
3351
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (42.6ms)
3352
+
3353
+
3354
+ Started GET "/" for 127.0.0.1 at 2012-06-08 07:03:03 -0300
3355
+
3356
+ ActionController::RoutingError (No route matches [GET] "/"):
3357
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3358
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3359
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
3360
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
3361
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
3362
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
3363
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
3364
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3365
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
3366
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
3367
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
3368
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
3369
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
3370
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
3371
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
3372
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
3373
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
3374
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
3375
+
3376
+
3377
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
3378
+
3379
+
3380
+ Started GET "/" for 127.0.0.1 at 2012-06-08 07:03:05 -0300
3381
+
3382
+ ActionController::RoutingError (No route matches [GET] "/"):
3383
+ actionpack (3.2.5) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3384
+ actionpack (3.2.5) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3385
+ railties (3.2.5) lib/rails/rack/logger.rb:26:in `call_app'
3386
+ railties (3.2.5) lib/rails/rack/logger.rb:16:in `call'
3387
+ actionpack (3.2.5) lib/action_dispatch/middleware/request_id.rb:22:in `call'
3388
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
3389
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
3390
+ activesupport (3.2.5) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3391
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
3392
+ actionpack (3.2.5) lib/action_dispatch/middleware/static.rb:62:in `call'
3393
+ railties (3.2.5) lib/rails/engine.rb:479:in `call'
3394
+ railties (3.2.5) lib/rails/application.rb:220:in `call'
3395
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
3396
+ railties (3.2.5) lib/rails/rack/log_tailer.rb:17:in `call'
3397
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
3398
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
3399
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
3400
+ /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
3401
+
3402
+
3403
+ Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.5/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
3404
+
3405
+
3406
+ Started GET "/payable" for 127.0.0.1 at 2012-06-08 07:03:19 -0300
3407
+ Processing by Payable::WelcomeController#index as HTML
3408
+  (0.1ms) SELECT COUNT(*) FROM "orders" WHERE (bill_status = 'open')
3409
+  (0.1ms) begin transaction
3410
+ SQL (14.9ms) INSERT INTO "orders" ("bill_status", "created_at", "updated_at", "value") VALUES (?, ?, ?, ?) [["bill_status", "open"], ["created_at", Fri, 08 Jun 2012 10:03:19 UTC +00:00], ["updated_at", Fri, 08 Jun 2012 10:03:19 UTC +00:00], ["value", #<BigDecimal:103dd91a0,'0.122166E3',18(18)>]]
3411
+ SQL (0.4ms) INSERT INTO "payable_gateway_payments" ("config", "created_at", "expires_at", "payable_id", "payable_type", "status", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["config", "--- {}\n\n"], ["created_at", Fri, 08 Jun 2012 10:03:19 UTC +00:00], ["expires_at", nil], ["payable_id", 6], ["payable_type", "Order"], ["status", "open"], ["updated_at", Fri, 08 Jun 2012 10:03:19 UTC +00:00]]
3412
+  (2.6ms) commit transaction
3413
+ Order Load (0.2ms) SELECT "orders".* FROM "orders" ORDER BY id DESC
3414
+ Rendered /Users/targa/Sites/gems/payable/app/views/payable/welcome/index.html.erb within layouts/payable/application (14.4ms)
3415
+ Compiled payable/application.css (0ms) (pid 4620)
3416
+ Compiled payable/application.js (6ms) (pid 4620)
3417
+ Completed 200 OK in 353ms (Views: 96.3ms | ActiveRecord: 26.2ms)
3418
+
3419
+
3420
+ Started GET "/assets/payable/application.js?body=1" for 127.0.0.1 at 2012-06-08 07:03:19 -0300
3421
+ Served asset /payable/application.js - 200 OK (9ms)
3422
+
3423
+
3424
+ Started GET "/assets/payable/application.css?body=1" for 127.0.0.1 at 2012-06-08 07:03:19 -0300
3425
+ Served asset /payable/application.css - 200 OK (4ms)
3426
+
3427
+
3428
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 07:03:19 -0300
3429
+ Served asset /jquery.js - 304 Not Modified (3ms)
3430
+
3431
+
3432
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 07:03:19 -0300
3433
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
3434
+
3435
+
3436
+ Started POST "/payable/welcome/checkout?id=6" for 127.0.0.1 at 2012-06-08 07:03:25 -0300
3437
+ Processing by Payable::WelcomeController#checkout as HTML
3438
+ Parameters: {"authenticity_token"=>"5BdXcpKKHnRxj5QpvWCSBYTH5Eqpu8LCXHLendcNI4I=", "id"=>"6"}
3439
+ Order Load (0.3ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "6"]]
3440
+  (0.1ms) begin transaction
3441
+  (0.2ms) SELECT COUNT(*) FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 6 AND "payable_gateway_payments"."payable_type" = 'Order'
3442
+ Payable::GatewayPayment Load (0.1ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 6 AND "payable_gateway_payments"."payable_type" = 'Order'
3443
+  (0.3ms) UPDATE "orders" SET "bill_status" = 'waiting', "updated_at" = '2012-06-08 10:03:25.090424' WHERE "orders"."id" = 6
3444
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 6 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3445
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = 6 LIMIT 1
3446
+  (0.2ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 10:03:26.569292', "config" = '---
3447
+ :id: "201206080703264050000000757420"
3448
+ :status: Sucesso
3449
+ :token: 82T0J112G0B6J0P8U0L7H053Z2V6L4V0F5R0K0B0J0Z0B0I0O7M5F7K4X2Q0
3450
+ ' WHERE "payable_gateway_payments"."id" = 19
3451
+  (0.1ms) UPDATE "payable_gateway_payments" SET "status" = 'waiting', "updated_at" = '2012-06-08 10:03:26.569292', "expires_at" = '2012-06-08 10:18:26.575911', "config" = '---
3452
+ :id: "201206080703264050000000757420"
3453
+ :status: Sucesso
3454
+ :token: 82T0J112G0B6J0P8U0L7H053Z2V6L4V0F5R0K0B0J0Z0B0I0O7M5F7K4X2Q0
3455
+ ' WHERE "payable_gateway_payments"."id" = 19
3456
+  (2.4ms) commit transaction
3457
+ Redirected to http://localhost:3000/payable/welcome/json_form?id=6
3458
+ Completed 302 Found in 1499ms (ActiveRecord: 3.9ms)
3459
+
3460
+
3461
+ Started GET "/payable/welcome/json_form?id=6" for 127.0.0.1 at 2012-06-08 07:03:26 -0300
3462
+ Processing by Payable::WelcomeController#json_form as HTML
3463
+ Parameters: {"id"=>"6"}
3464
+ Order Load (0.1ms) SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "6"]]
3465
+ Payable::GatewayPayment Load (0.2ms) SELECT "payable_gateway_payments".* FROM "payable_gateway_payments" WHERE "payable_gateway_payments"."payable_id" = 6 AND "payable_gateway_payments"."payable_type" = 'Order' AND (status <> 'canceled') LIMIT 1
3466
+ DEPRECATION WARNING: button_to_function is deprecated and will be removed from Rails 4.0. (called from ___sers_targa__ites_gems_payable_app_views_payable_welcome_json_form_html_erb__3596033822836246878_2159444100 at /Users/targa/Sites/gems/payable/app/views/payable/welcome/json_form.html.erb:32)
3467
+ Rendered /Users/targa/Sites/gems/payable/app/views/payable/welcome/json_form.html.erb within layouts/payable/application (4.5ms)
3468
+ Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.4ms)
3469
+
3470
+
3471
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-06-08 07:03:26 -0300
3472
+ Served asset /jquery.js - 304 Not Modified (0ms)
3473
+
3474
+
3475
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-06-08 07:03:26 -0300
3476
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)