ActionSmser: sent sms (Sms HelloSmser.hello_user - From: 999, To: 123, Body: hello joo, Valid: true) ActionSmser: sent sms (Sms HelloSmser.hello_user - From: 999, To: 123, Body: hello joo, Valid: true) ActionSmser: sent sms (Sms HelloSmser.hello_user - From: 999, To: 123, Body: hello joo, Valid: true)  (0.0ms) select sqlite_version(*)  (46.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (15.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateActionSmserDeliveryReports (20120102214519)  (1.6ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102214519')  (0.1ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("action_smser_delivery_reports")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateActionSmserDeliveryReports (20120102214519)  (0.0ms) select sqlite_version(*)  (0.5ms) DROP TABLE "action_smser_delivery_reports"  (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102214519'  (0.1ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateActionSmserDeliveryReports (20120102214519)  (0.4ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102214519')  (0.1ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("action_smser_delivery_reports")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("action_smser_delivery_reports")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.1ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "recipient" varchar(255), "sender" varchar(255), "text_body" varchar(255), "created_at" datetime, "updated_at" datetime) SQLite3::SQLException: table "action_smser_delivery_reports" already exists: CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "recipient" varchar(255), "sender" varchar(255), "text_body" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("action_smser_delivery_reports")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.1ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "recipient" varchar(255), "sender" varchar(255), "text_body" varchar(255), "created_at" datetime, "updated_at" datetime) SQLite3::SQLException: table "action_smser_delivery_reports" already exists: CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "recipient" varchar(255), "sender" varchar(255), "text_body" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("action_smser_delivery_reports")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.0ms) select sqlite_version(*)  (0.5ms) DROP TABLE "action_smser_delivery_reports"  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')  (0.1ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (35.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102215215'  (0.1ms) select sqlite_version(*)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.0ms) select sqlite_version(*)  (0.5ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "recipient" varchar(255), "sender" varchar(255), "text_body" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')  (0.2ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("action_smser_delivery_reports")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.0ms) select sqlite_version(*)  (0.5ms) DROP TABLE "action_smser_delivery_reports"  (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102215215'  (0.1ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.5ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "recipient" varchar(255), "sender" varchar(255), "text_body" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')  (0.1ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("action_smser_delivery_reports") Started GET "/action_smser" for 127.0.0.1 at Tue Jan 03 00:06:58 +0200 2012 ActionController::RoutingError (No route matches [GET] "/action_smser"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.7ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at Tue Jan 03 00:07:04 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports"  Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (0.6ms) Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms) Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Tue Jan 03 00:07:04 +0200 2012 ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Tue Jan 03 00:07:04 +0200 2012 ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.3ms) Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:11 +0200 2012 Processing by ActionSmser::DeliveryReportsController#show as HTML Parameters: {"id"=>"gateway_commit"} ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", "gateway_commit"]] Completed 404 Not Found in 3ms ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (322.8ms) Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:38 +0200 2012 Processing by ActionSmser::DeliveryReportsController#show as HTML Parameters: {"id"=>"gateway_commit"} ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", "gateway_commit"]] Completed 404 Not Found in 1ms ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.7ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.3ms) Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:39 +0200 2012 Processing by ActionSmser::DeliveryReportsController#show as HTML Parameters: {"id"=>"gateway_commit"} ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", "gateway_commit"]] Completed 404 Not Found in 1ms ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (2.5ms) Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:46 +0200 2012 Processing by ActionSmser::DeliveryReportsController#show as HTML Parameters: {"id"=>"gateway_commit"} ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", "gateway_commit"]] Completed 404 Not Found in 2ms ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.4ms) Started GET "/action_smser/delivery_reports/gateway_commit/asdf" for 127.0.0.1 at Tue Jan 03 00:08:48 +0200 2012 AbstractController::ActionNotFound (The action 'gateway_commit' could not be found for ActionSmser::DeliveryReportsController): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (0.8ms) Started GET "/action_smser/delivery_reports/gateway_commit/asdf" for 127.0.0.1 at Tue Jan 03 00:09:03 +0200 2012 Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML Parameters: {"gateway"=>"asdf"} ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** Completed 500 Internal Server Error in 6ms ActionView::MissingTemplate (Missing template action_smser/delivery_reports/gateway_commit, action_smser/application/gateway_commit with {:locale=>[:en, :en], :formats=>[:html], :handlers=>[:builder, :erb]}. Searched in: * "/home/ohu/koodi/gems/action_smser/test/dummy/app/views" * "/home/ohu/koodi/gems/action_smser/app/views" ): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.2ms) Started GET "/action_smser/delivery_reports/gateway_commit/asdf?joo=123321" for 127.0.0.1 at Tue Jan 03 00:11:16 +0200 2012 Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML Parameters: {"gateway"=>"asdf", "joo"=>"123321"} ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable ***** Completed 500 Internal Server Error in 5ms ActionView::MissingTemplate (Missing template action_smser/delivery_reports/gateway_commit, action_smser/application/gateway_commit with {:locale=>[:en, :en], :formats=>[:html], :handlers=>[:builder, :erb]}. Searched in: * "/home/ohu/koodi/gems/action_smser/test/dummy/app/views" * "/home/ohu/koodi/gems/action_smser/app/views" ): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.2ms) ActionSmser: Joo ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true) ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true) ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true) ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true) ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true) ActionSmser: SMS: get ||| /api/sendsms/plain?user=smsapi1.patidure.net&password=kusyhf9i8y&sender=358407573855&SMSText=hello+olli&GSM=358407573855 ||| # ActionSmser: -5 ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: ääkkösillä, hello olli, Valid: true) ActionSmser: SMS: get ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=358407573855&SMSText=%E4%E4kk%F6sill%E4%2C+hello+olli&GSM=358407573855 ||| # ActionSmser: 102010314042601160 ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: nimenhuutocom, To: 358405851123358407573855, Body: ääkkösillä, hello jussi, Valid: true) ActionSmser: SMS: get ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=nimenhuutocom&SMSText=%E4%E4kk%F6sill%E4%2C+hello+jussi&GSM=358405851123,358407573855 ||| # ActionSmser: 102010314204054601 102010314204056202 ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: nimenhuutocom, To: 358505526013, Body: ääkkösillä, hello harri, Valid: true) ActionSmser: SMS: get ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=nimenhuutocom&SMSText=%E4%E4kk%F6sill%E4%2C+hello+harri&GSM=358505526013 ||| # ActionSmser: 102010314225571857  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.0ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("action_smser_delivery_reports") ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=3587573855 ||| # ActionSmser: -13 ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "+3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=+3587573855 ||| # ActionSmser: -13 ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=3587573855 ||| # ActionSmser: -13 ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "358407573855", Body: "ääkköset rulaa", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=358407573855 ||| # ActionSmser: 102010317565753524  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.0ms) select sqlite_version(*)  (0.5ms) DROP TABLE "action_smser_delivery_reports"  (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102215215'  (0.2ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.5ms) CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "msg_id" varchar(255), "status" varchar(255), "status_updated_at" datetime, "sms_type" varchar(255), "log" text, "to" varchar(255), "from" varchar(255), "body" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')  (0.2ms) select sqlite_version(*)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.1ms) PRAGMA index_list("action_smser_delivery_reports")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateActionSmserDeliveryReports (20120102215215)  (0.0ms) select sqlite_version(*)  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"   (0.0ms) PRAGMA index_list("action_smser_delivery_reports") Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:57:47 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered text template (0.0ms) Completed 403 Forbidden in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:57:55 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (4.0ms) Completed 500 Internal Server Error in 9ms ActionView::Template::Error (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each): 13: 14: 15: 16: <% @delivery_reports.each do |delivery_report| %> 17: 18: <%= delivery_report.msg_id %> 19: <%= delivery_report.status %> Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.2ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:58:57 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (1.3ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each): 13: 14: 15: 16: <% @delivery_reports.each do |delivery_report| %> 17: 18: <%= delivery_report.msg_id %> 19: <%= delivery_report.status %> Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (2.7ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:58:58 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (0.4ms) Completed 500 Internal Server Error in 4ms ActionView::Template::Error (You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.each): 13: 14: 15: 16: <% @delivery_reports.each do |delivery_report| %> 17: 18: <%= delivery_report.msg_id %> 19: <%= delivery_report.status %> Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.5ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (2.7ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:59:51 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (11.5ms) Completed 500 Internal Server Error in 17ms ActionView::Template::Error (undefined method `recipient' for #): 18: <%= delivery_report.msg_id %> 19: <%= delivery_report.status %> 20: <%= delivery_report.status_updated_at %> 21: <%= delivery_report.recipient %> 22: <%= delivery_report.sender %> 23: <%= delivery_report.text_body %> 24: <%= link_to 'Show', delivery_report %> Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.5ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:00:02 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (8.0ms) Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.3ms) Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:00:02 +0200 2012 ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms) Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:00:02 +0200 2012 ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.3ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:02:09 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (14.7ms) Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.3ms) Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:02:10 +0200 2012 ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:02:10 +0200 2012 ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.3ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:03:13 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.1ms) Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.4ms) Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:03:13 +0200 2012 ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.3ms) Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:03:13 +0200 2012 ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:04:28 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.0ms) Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.3ms) Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:04:28 +0200 2012 ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:04:28 +0200 2012 ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:04:45 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.0ms) Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.3ms) Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:04:45 +0200 2012 ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms) Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:04:45 +0200 2012 ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:05:46 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML ActionSmser::DeliveryReport Load (0.1ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.0ms) Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.3ms) Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:05:46 +0200 2012 ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms) Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:05:46 +0200 2012 ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"): Rendered /home/ohu/.rvm/gems/ree-1.8.7-2011.03@global/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms) Started GET "/action_smser/delivery_reports/gateway_commit/asdf" for 127.0.0.1 at Wed Jan 04 17:20:28 +0200 2012 Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML Parameters: {"gateway"=>"asdf"} Rendered text template (0.0ms) Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:20:34 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered text template (0.0ms) Completed 403 Forbidden in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Thu Jan 05 16:00:15 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered text template (0.0ms) Completed 403 Forbidden in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Thu Jan 05 16:00:23 +0200 2012 Processing by ActionSmser::DeliveryReportsController#index as HTML  (0.2ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-05 14:00:23.938821' AND '2012-01-05 13:59:23.940464')  (0.2ms) SELECT COUNT(*) AS count_all, status AS status FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-05 14:00:23.938821' AND '2012-01-05 13:59:23.940464') GROUP BY status  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-05 14:00:23.954456' AND '2012-01-05 14:00:23.954664')  (0.2ms) SELECT COUNT(*) AS count_all, sms_type AS sms_type FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2011-12-05 14:00:23.954456' AND '2012-01-05 14:00:23.954664') GROUP BY sms_type ActionSmser::DeliveryReport Load (0.2ms) SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20 Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (26.2ms) Completed 200 OK in 31ms (Views: 29.6ms | ActiveRecord: 1.1ms) ActionSmser: Sending sms (Sms HelloSmser.hello - From: "nimenhuut", To: "358407573855", Body: "body", Valid: true) ActionSmser: Delivering sms by https ActionSmser: Sending sms (Sms HelloSmser.hello - From: "nimenhuut", To: "358407573855", Body: "body", Valid: true) ActionSmser: Delivering sms by https ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358407573855", Body: "Hello from action smser", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=ActionSmser&SMSText=Hello+from+action+smser&GSM=358407573855 ||| # ActionSmser: 102012013045681834 ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358407573855", Body: "Hello from action smser", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=75378256&password=db051153&from=ActionSmser&to=358407573855&text=Hello+from+action+smser ||| # ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778A73C","remaining-balance":"1.95000000"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "+358505526013", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=75378256&password=db051153&from=ActionSmser&to=358505526013&text=Hello+from+action+smser%2C+encode+%E4%E4kk%F6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"error-text":"One or more request parameters were not correctly UTF8 Encoded","status":"3"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358505526013", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=75378256&password=db051153&from=ActionSmser&to=358505526013&text=Hello+from+action+smser%2C+encode+%E4%E4kk%F6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"error-text":"One or more request parameters were not correctly UTF8 Encoded","status":"3"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358407573855", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=75378256&password=db051153&from=ActionSmser&to=358407573855&text=Hello+from+action+smser%2C+encode+%E4%E4kk%F6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"error-text":"One or more request parameters were not correctly UTF8 Encoded","status":"3"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358407573855", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=&password=&from=ActionSmser&to=358407573855&text=Hello+from+action+smser%2C+encode+%C3%A4%C3%A4kk%C3%B6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"error-text":"Missing username","status":"2"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358407573855", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=&password=&from=ActionSmser&to=358407573855&text=Hello+from+action+smser%2C+encode+%C3%A4%C3%A4kk%C3%B6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"error-text":"Missing username","status":"2"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358407573855", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=75378256&password=db051153&from=ActionSmser&to=358407573855&text=Hello+from+action+smser%2C+encode+%C3%A4%C3%A4kk%C3%B6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778BA81","remaining-balance":"1.92500000"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358505526013", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=75378256&password=db051153&from=ActionSmser&to=358505526013&text=Hello+from+action+smser%2C+encode+%C3%A4%C3%A4kk%C3%B6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778BB07","remaining-balance":"1.90000000"}]} ActionSmser: Sending sms (Sms HelloSmser.hello_olli - From: "ActionSmser", To: "358407573855", Body: "Hello from action smser, encode ääkköset!#", Valid: true) ActionSmser: Delivering sms by https ActionSmser: SimpleHttp delivery ||| /sms/json?username=75378256&password=db051153&from=ActionSmser&to=358407573855&text=Hello+from+action+smser%2C+encode+%C3%A4%C3%A4kk%C3%B6set%21%23 ||| # ActionSmser: {"message-count":"1","messages":[{"message-price":"0.02500000","status":"0","message-id":"0778F8AE","remaining-balance":"1.60000000"}]} Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:38:49 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered text template (0.0ms) Completed 403 Forbidden in 28ms (Views: 27.8ms | ActiveRecord: 0.0ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:39:09 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:09.765361' AND '2013-03-05 04:29:09.769600')  (0.2ms) SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:09.765361' AND '2013-03-05 04:29:09.769600') GROUP BY gateway SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:09.765361' AND '2013-03-05 04:29:09.769600') GROUP BY gateway Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (35.8ms) Completed 500 Internal Server Error in 54ms ActionView::Template::Error (SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:09.765361' AND '2013-03-05 04:29:09.769600') GROUP BY gateway): 72:    73: (you can select only gateways that have messages in this period) 74: 75: <% ar_redeliveries.group(:gateway).count.each do |key, val| %> 76:
  • 77: <%= link_to(key, dr_summary_url(:gateway => key) ) %> 78: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.6ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:39:19 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (1.8ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `pry' for #): 1: 2: <% 3: binding.pry 4: params['time_span'] ||= 'Last week' 5: params['redeliveries'] ||= 'Include normally' 6: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.3ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:39:23 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:23.471806' AND '2013-03-05 04:29:23.471959')  (0.2ms) SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:23.471806' AND '2013-03-05 04:29:23.471959') GROUP BY gateway SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:23.471806' AND '2013-03-05 04:29:23.471959') GROUP BY gateway Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (8.9ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:23.471806' AND '2013-03-05 04:29:23.471959') GROUP BY gateway): 72:    73: (you can select only gateways that have messages in this period) 74:
  • 75: <% ar_redeliveries.group(:gateway).count.each do |key, val| %> 76:
  • 77: <%= link_to(key, dr_summary_url(:gateway => key) ) %> 78: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (16.1ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (19.1ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:39:44 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:44.346770' AND '2013-03-05 04:29:44.346923')  (0.2ms) SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:44.346770' AND '2013-03-05 04:29:44.346923') GROUP BY gateway SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:44.346770' AND '2013-03-05 04:29:44.346923') GROUP BY gateway Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (9.2ms) Completed 500 Internal Server Error in 13ms ActionView::Template::Error (SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:39:44.346770' AND '2013-03-05 04:29:44.346923') GROUP BY gateway): 73:    74: (you can select only gateways that have messages in this period) 75:
  • 76: <% ar_redeliveries.group(:gateway).count.each do |key, val| %> 77:
  • 78: <%= link_to(key, dr_summary_url(:gateway => key) ) %> 79: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.8ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:40:05 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (1.9ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (wrong number of arguments (0 for 1)): 1: 2: <% 3: dr_summary_url 4: params['time_span'] ||= 'Last week' 5: params['redeliveries'] ||= 'Include normally' 6: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.4ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:40:34 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (2.2ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (can't convert Range into Hash): 1: 2: <% 3: dr_summary_url(1.weeks.ago..10.seconds.ago) 4: params['time_span'] ||= 'Last week' 5: params['redeliveries'] ||= 'Include normally' 6: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.4ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:40:42 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:42.125664' AND '2013-03-05 04:30:42.125714')  (0.1ms) SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:42.125664' AND '2013-03-05 04:30:42.125714') GROUP BY gateway SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:42.125664' AND '2013-03-05 04:30:42.125714') GROUP BY gateway Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (8.4ms) Completed 500 Internal Server Error in 12ms ActionView::Template::Error (SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:42.125664' AND '2013-03-05 04:30:42.125714') GROUP BY gateway): 72:    73: (you can select only gateways that have messages in this period) 74:
  • 75: <% ar_redeliveries.group(:gateway).count.each do |key, val| %> 76:
  • 77: <%= link_to(key, dr_summary_url(:gateway => key) ) %> 78: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.7ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:40:46 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:46.730624' AND '2013-03-05 04:30:46.730734')  (0.2ms) SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:46.730624' AND '2013-03-05 04:30:46.730734') GROUP BY gateway SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:46.730624' AND '2013-03-05 04:30:46.730734') GROUP BY gateway Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (27.5ms) Completed 500 Internal Server Error in 32ms ActionView::Template::Error (SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:46.730624' AND '2013-03-05 04:30:46.730734') GROUP BY gateway): 72:    73: (you can select only gateways that have messages in this period) 74:
  • 75: <% ar_redeliveries.group(:gateway).count.each do |key, val| %> 76:
  • 77: <%= link_to(key, dr_summary_url(:gateway => key) ) %> 78: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.8ms) Started GET "/action_smser/delivery_reports" for 127.0.0.1 at 2013-03-05 14:40:57 +1000 Processing by ActionSmser::DeliveryReportsController#index as HTML  (0.1ms) SELECT COUNT(*) FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:57.753814' AND '2013-03-05 04:30:57.753870')  (0.1ms) SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:57.753814' AND '2013-03-05 04:30:57.753870') GROUP BY gateway SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:57.753814' AND '2013-03-05 04:30:57.753870') GROUP BY gateway Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/delivery_reports (6.9ms) Completed 500 Internal Server Error in 10ms ActionView::Template::Error (SQLite3::SQLException: no such column: gateway: SELECT COUNT(*) AS count_all, gateway AS gateway FROM "action_smser_delivery_reports" WHERE ("action_smser_delivery_reports"."created_at" BETWEEN '2013-02-26 04:40:57.753814' AND '2013-03-05 04:30:57.753870') GROUP BY gateway): 72:    73: (you can select only gateways that have messages in this period) 74:
  • 75: <% ar_redeliveries.group(:gateway).count.each do |key, val| %> 76:
  • 77: <%= link_to(key, dr_summary_url(:gateway => key) ) %> 78: Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms) Rendered /home/ohu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.1.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (3.4ms)