spec/dummy/log/development.log in opay-1.0.0.beta vs spec/dummy/log/development.log in opay-1.0.0
- old
+ new
@@ -1507,5 +1507,966 @@
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2013-04-24 13:51:05 +0200
+
+ActionController::RoutingError (No route matches [GET] "/"):
+ actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
+ actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
+ actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.13) lib/rails/engine.rb:479:in `call'
+ railties (3.2.13) lib/rails/application.rb:223:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
+ rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
+ /Users/mariusz/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /Users/mariusz/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /Users/mariusz/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (34.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-04-24 13:51:35 +0200
+Processing by OrdersController#index as HTML
+ [1m[36mOrder Load (39.1ms)[0m [1mSELECT "orders".* FROM "orders" [0m
+ Rendered orders/index.html.erb within layouts/application (1.1ms)
+Compiled application.css (1ms) (pid 46805)
+Completed 500 Internal Server Error in 1144ms
+
+ActionView::Template::Error (couldn't find file 'jquery'
+ (in /Users/mariusz/projekty/rails/opay/spec/dummy/app/assets/javascripts/application.js:13)):
+ 3: <head>
+ 4: <title>Dummy</title>
+ 5: <%= stylesheet_link_tag "application", :media => "all" %>
+ 6: <%= javascript_include_tag "application" %>
+ 7: <%= csrf_meta_tags %>
+ 8: </head>
+ 9: <body>
+ app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__2834171036792740793_70302624147620'
+ app/controllers/orders_controller.rb:7:in `index'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2013-04-24 13:52:51 +0200
+Processing by OrdersController#index as HTML
+ [1m[36mOrder Load (31.6ms)[0m [1mSELECT "orders".* FROM "orders" [0m
+ Rendered orders/index.html.erb within layouts/application (5.8ms)
+Compiled application.js (2ms) (pid 47443)
+Completed 200 OK in 408ms (Views: 266.0ms | ActiveRecord: 58.3ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 13:52:52 +0200
+Served asset /scaffold.css - 200 OK (5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 13:52:52 +0200
+Served asset /jquery.js - 304 Not Modified (40ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 13:52:52 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 13:52:52 +0200
+Served asset /application.js - 200 OK (3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 13:52:52 +0200
+Served asset /application.css - 200 OK (3ms)
+
+
+Started GET "/orders/new" for 127.0.0.1 at 2013-04-24 13:52:55 +0200
+Processing by OrdersController#new as HTML
+ Rendered orders/_form.html.erb (201.4ms)
+ Rendered orders/new.html.erb within layouts/application (282.2ms)
+Completed 200 OK in 311ms (Views: 305.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 13:52:55 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 13:52:55 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 13:52:55 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 13:52:55 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 13:52:55 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started POST "/orders" for 127.0.0.1 at 2013-04-24 13:53:08 +0200
+Processing by OrdersController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"sYtpdAkBiSPH0VVmuJaonVtw4WeS/h2Atq0ssPS25Qg=", "order"=>{"name"=>"order 1", "amount"=>"10"}, "commit"=>"Create Order"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (134.0ms)[0m [1mINSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?)[0m [["amount", "10"], ["created_at", Wed, 24 Apr 2013 11:53:08 UTC +00:00], ["name", "order 1"], ["updated_at", Wed, 24 Apr 2013 11:53:08 UTC +00:00]]
+ [1m[35m (4.7ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/orders/1
+Completed 302 Found in 144ms (ActiveRecord: 138.8ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 13:53:08 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.3ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ Rendered orders/show.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 45ms (Views: 42.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 13:53:08 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 13:53:08 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:08 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:08 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:08 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders" for 127.0.0.1 at 2013-04-24 13:53:11 +0200
+Processing by OrdersController#index as HTML
+ [1m[35mOrder Load (0.2ms)[0m SELECT "orders".* FROM "orders"
+ Rendered orders/index.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 18ms (Views: 16.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 13:53:11 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:11 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:11 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:11 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 13:53:11 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 13:53:19 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ Rendered orders/show.html.erb within layouts/application (0.6ms)
+Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 13:53:19 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:19 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:19 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 13:53:19 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 13:53:19 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 13:54:36 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
+ Rendered orders/show.html.erb within layouts/application (28.9ms)
+Completed 500 Internal Server Error in 58ms
+
+ActionView::Template::Error (undefined method `payu_form_for' for #<#<Class:0x007f7f848d2740>:0x007f7f82773a18>):
+ 10: <%= @order.amount %>
+ 11: </p>
+ 12:
+ 13: <%= payu_form_for(@order) do |f| %>
+ 14:
+ 15: <% end %>
+ 16:
+ app/views/orders/show.html.erb:13:in `_app_views_orders_show_html_erb__3540414464078662255_70092813207540'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.6ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 13:59:32 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (30.9ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ Rendered orders/show.html.erb within layouts/application (158.2ms)
+Completed 500 Internal Server Error in 370ms
+
+ActionView::Template::Error (unknown attribute: session_id):
+ 10: <%= @order.amount %>
+ 11: </p>
+ 12:
+ 13: <%= payu_form_for(@order) do |f| %>
+ 14:
+ 15: <% end %>
+ 16:
+ app/views/orders/show.html.erb:13:in `_app_views_orders_show_html_erb__2842286153136912271_70185199437880'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:02:36 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+Completed 500 Internal Server Error in 54ms
+
+ActiveRecord::StatementInvalid (Could not find table 'orders'):
+ app/controllers/orders_controller.rb:16:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.7ms)
+Connecting to database specified by database.yml
+ [1m[36m (3.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (2.4ms)[0m CREATE TABLE "opay_payments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "payable_id" integer, "payable_type" varchar(255), "session_id" varchar(255), "provider" varchar(255), "amount" float, "finished" boolean DEFAULT 'f' NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (1.6ms)[0m [1mCREATE INDEX "index_opay_payments_on_payable_id_and_payable_type" ON "opay_payments" ("payable_id", "payable_type")[0m
+ [1m[35m (1.5ms)[0m CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "amount" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
+ [1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (38.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
+ [1m[35m (69.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130326152550')
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:03:01 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.2ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+Completed 404 Not Found in 64ms
+
+ActiveRecord::RecordNotFound (Couldn't find Order with id=1):
+ app/controllers/orders_controller.rb:16:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.1ms)
+
+
+Started GET "/orders" for 127.0.0.1 at 2013-04-24 14:03:06 +0200
+Processing by OrdersController#index as HTML
+ [1m[35mOrder Load (0.2ms)[0m SELECT "orders".* FROM "orders"
+ Rendered orders/index.html.erb within layouts/application (1.4ms)
+Completed 200 OK in 137ms (Views: 135.1ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:03:07 +0200
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:07 +0200
+Served asset /jquery.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:03:07 +0200
+Served asset /scaffold.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:07 +0200
+Served asset /application.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:07 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/orders/new" for 127.0.0.1 at 2013-04-24 14:03:08 +0200
+Processing by OrdersController#new as HTML
+ Rendered orders/_form.html.erb (8.1ms)
+ Rendered orders/new.html.erb within layouts/application (25.4ms)
+Completed 200 OK in 47ms (Views: 40.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:03:08 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:03:08 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:08 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:08 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:08 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started POST "/orders" for 127.0.0.1 at 2013-04-24 14:03:13 +0200
+Processing by OrdersController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"sYtpdAkBiSPH0VVmuJaonVtw4WeS/h2Atq0ssPS25Qg=", "order"=>{"name"=>"order 1", "amount"=>"10"}, "commit"=>"Create Order"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (33.9ms)[0m INSERT INTO "orders" ("amount", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?) [["amount", "10"], ["created_at", Wed, 24 Apr 2013 12:03:13 UTC +00:00], ["name", "order 1"], ["updated_at", Wed, 24 Apr 2013 12:03:13 UTC +00:00]]
+ [1m[36m (4.4ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/orders/1
+Completed 302 Found in 43ms (ActiveRecord: 38.4ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:03:13 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mOrder Load (0.2ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
+Binary data inserted for `string` type on column `session_id`
+ [1m[36mSQL (7.3ms)[0m [1mINSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 10.0], ["created_at", Wed, 24 Apr 2013 12:03:13 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 12:03:13 UTC +00:00]]
+ [1m[35m (4.2ms)[0m commit transaction
+ [1m[36mOpay::Payment Load (0.2ms)[0m [1mSELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1[0m
+ Rendered orders/show.html.erb within layouts/application (103.8ms)
+Completed 200 OK in 125ms (Views: 111.9ms | ActiveRecord: 12.4ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:03:13 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:13 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:13 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:03:13 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:03:13 +0200
+Served asset /application.css - 304 Not Modified (8ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:04:07 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
+Binary data inserted for `string` type on column `session_id`
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 10.0], ["created_at", Wed, 24 Apr 2013 12:04:07 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 12:04:07 UTC +00:00]]
+ [1m[35m (2.7ms)[0m commit transaction
+ [1m[36mOpay::Payment Load (0.2ms)[0m [1mSELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ Rendered orders/show.html.erb within layouts/application (39.9ms)
+Completed 500 Internal Server Error in 43ms
+
+ActiveRecord::RecordNotSaved (Failed to remove the existing associated payment. The record failed to save when after its foreign key was set to nil.):
+ app/views/orders/show.html.erb:13:in `_app_views_orders_show_html_erb___3780241057777541332_70269272291260'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (49.2ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:04:19 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
+Binary data inserted for `string` type on column `session_id`
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 10.0], ["created_at", Wed, 24 Apr 2013 12:04:19 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 12:04:19 UTC +00:00]]
+ [1m[35m (7.6ms)[0m commit transaction
+ [1m[36mOpay::Payment Load (0.2ms)[0m [1mSELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mrollback transaction[0m
+ Rendered orders/show.html.erb within layouts/application (23.9ms)
+Completed 500 Internal Server Error in 26ms
+
+ActiveRecord::RecordNotSaved (Failed to remove the existing associated payment. The record failed to save when after its foreign key was set to nil.):
+ app/views/orders/show.html.erb:13:in `_app_views_orders_show_html_erb___3780241057777541332_70269272291260'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.7ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:04:57 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
+Binary data inserted for `string` type on column `session_id`
+ [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "opay_payments" ("amount", "created_at", "finished", "payable_id", "payable_type", "provider", "session_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["amount", 10.0], ["created_at", Wed, 24 Apr 2013 12:04:57 UTC +00:00], ["finished", false], ["payable_id", 1], ["payable_type", "Order"], ["provider", "payu"], ["session_id", "a7deb9a6840e764b4dac3ce9469a788c"], ["updated_at", Wed, 24 Apr 2013 12:04:57 UTC +00:00]]
+ [1m[35m (1.8ms)[0m commit transaction
+ [1m[36mOpay::Payment Load (0.2ms)[0m [1mSELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1[0m
+ [1m[35m (0.0ms)[0m begin transaction
+ [1m[36m (0.0ms)[0m [1mrollback transaction[0m
+ Rendered orders/show.html.erb within layouts/application (10.1ms)
+Completed 500 Internal Server Error in 13ms
+
+ActiveRecord::RecordNotSaved (Failed to remove the existing associated payment. The record failed to save when after its foreign key was set to nil.):
+ app/views/orders/show.html.erb:13:in `_app_views_orders_show_html_erb___3780241057777541332_70269272291260'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (7.3ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:06:24 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.3ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (167.1ms)
+Completed 200 OK in 430ms (Views: 308.7ms | ActiveRecord: 28.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:06:25 +0200
+Served asset /application.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:06:25 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:06:25 +0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:06:25 +0200
+Served asset /application.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:06:25 +0200
+Served asset /scaffold.css - 304 Not Modified (1ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:06:28 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:06:28 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:06:28 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:06:28 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:06:28 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:06:28 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:07:00 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:00 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:00 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:00 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:00 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:00 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:07:15 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (318.8ms)
+Completed 200 OK in 577ms (Views: 576.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:07:16 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.3ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.3ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:17 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:17 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:17 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:17 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:17 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:07:35 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:35 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:35 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:35 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:35 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:35 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:07:42 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:42 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:42 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:42 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:07:42 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:07:42 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:08:49 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 37ms (Views: 36.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:08:49 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:08:49 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:08:49 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:08:49 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:08:49 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:09:49 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.2ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (4.5ms)
+Completed 200 OK in 27ms (Views: 26.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:49 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:49 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:49 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:49 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:49 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:09:52 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.1ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:52 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:52 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:52 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:52 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:52 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:11:45 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (23.3ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.6ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (165.2ms)
+Completed 200 OK in 447ms (Views: 306.4ms | ActiveRecord: 50.9ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:11:46 +0200
+Served asset /application.css - 304 Not Modified (41ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:11:46 +0200
+Served asset /jquery.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:11:46 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:11:46 +0200
+Served asset /application.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:11:46 +0200
+Served asset /scaffold.css - 304 Not Modified (1ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:12:43 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 34ms (Views: 32.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:12:43 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:12:43 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:12:43 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:12:43 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:12:43 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:13:36 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (74.3ms)
+Completed 500 Internal Server Error in 89ms
+
+ActionView::Template::Error (undefined local variable or method `request' for #<Opay::FormBuilder:0x007fe1036f3ec0>):
+ 16: </p>
+ 17:
+ 18: <%= opay_form_for(@order) do |f| %>
+ 19: <%= f.payment_info first_name: 'Jan', last_name: 'Kowalski', email: 'kowalski@gmail.com', desc: 'Test payment' %>
+ 20: <%= f.submit 'pay with payu' %>
+ 21: <% end %>
+ 22:
+ app/views/orders/show.html.erb:19:in `block in _app_views_orders_show_html_erb__1732424407509850341_70302188118440'
+ app/views/orders/show.html.erb:18:in `_app_views_orders_show_html_erb__1732424407509850341_70302188118440'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.1ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:15:16 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (5.4ms)
+Completed 500 Internal Server Error in 29ms
+
+ActionView::Template::Error (undefined method `client_ip' for #<ActionDispatch::Request:0x007fe101efcdf8>):
+ 16: </p>
+ 17:
+ 18: <%= opay_form_for(@order) do |f| %>
+ 19: <%= f.payment_info first_name: 'Jan', last_name: 'Kowalski', email: 'kowalski@gmail.com', desc: 'Test payment', client_ip: request.client_ip %>
+ 20: <%= f.submit 'pay with payu' %>
+ 21: <% end %>
+ 22:
+ app/views/orders/show.html.erb:19:in `block in _app_views_orders_show_html_erb__1732424407509850341_70302199623420'
+ app/views/orders/show.html.erb:18:in `_app_views_orders_show_html_erb__1732424407509850341_70302199623420'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:15:42 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.2ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:15:42 +0200
+Served asset /application.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:15:42 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:15:42 +0200
+Served asset /application.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:15:42 +0200
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:15:42 +0200
+Served asset /scaffold.css - 304 Not Modified (0ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:19:18 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (21.8ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.7ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (214.7ms)
+Completed 500 Internal Server Error in 440ms
+
+ActionView::Template::Error (undefined local variable or method `view' for #<Opay::FormBuilder:0x007fdab4328570>):
+ 16: </p>
+ 17:
+ 18: <%= opay_form_for(@order) do |f| %>
+ 19: <%= f.payment_info first_name: 'Jan', last_name: 'Kowalski', email: 'kowalski@gmail.com', desc: 'Test payment' %>
+ 20: <%= f.submit 'pay with payu' %>
+ 21: <% end %>
+ 22:
+ app/views/orders/show.html.erb:19:in `block in _app_views_orders_show_html_erb__3919135364871191408_70288639727100'
+ app/views/orders/show.html.erb:18:in `_app_views_orders_show_html_erb__3919135364871191408_70288639727100'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.9ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:23:07 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (23.3ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.6ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (278.7ms)
+Completed 500 Internal Server Error in 541ms
+
+ActionView::Template::Error (undefined local variable or method `request' for #<Opay::FormBuilder:0x007fa173547470>):
+ 16: </p>
+ 17:
+ 18: <%= opay_form_for(@order) do |f| %>
+ 19: <%= f.payment_info first_name: 'Jan', last_name: 'Kowalski', email: 'kowalski@gmail.com', desc: 'Test payment' %>
+ 20: <%= f.submit 'pay with payu' %>
+ 21: <% end %>
+ 22:
+ app/views/orders/show.html.erb:19:in `block in _app_views_orders_show_html_erb___1594893664330200545_70165726232560'
+ app/views/orders/show.html.erb:18:in `_app_views_orders_show_html_erb___1594893664330200545_70165726232560'
+ app/controllers/orders_controller.rb:18:in `show'
+
+
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
+ Rendered /Users/mariusz/.rvm/gems/ruby-1.9.3-p0@payments_engine/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.8ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/orders/1" for 127.0.0.1 at 2013-04-24 14:28:09 +0200
+Processing by OrdersController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mOrder Load (23.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35mOpay::Payment Load (0.6ms)[0m SELECT "opay_payments".* FROM "opay_payments" WHERE "opay_payments"."payable_id" = 1 AND "opay_payments"."payable_type" = 'Order' LIMIT 1
+ Rendered orders/show.html.erb within layouts/application (181.0ms)
+Completed 200 OK in 447ms (Views: 305.6ms | ActiveRecord: 51.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:28:10 +0200
+Served asset /application.css - 304 Not Modified (5ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:28:10 +0200
+Served asset /application.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:28:10 +0200
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:28:10 +0200
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/scaffold.css?body=1" for 127.0.0.1 at 2013-04-24 14:28:10 +0200
+Served asset /scaffold.css - 304 Not Modified (1ms)