action_smser 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.md +191 -0
- data/Rakefile +39 -0
- data/app/assets/javascripts/action_smser/delivery_reports.js +2 -0
- data/app/assets/stylesheets/action_smser/application.css +7 -0
- data/app/assets/stylesheets/action_smser/delivery_reports.css +4 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/controllers/action_smser/application_controller.rb +4 -0
- data/app/controllers/action_smser/delivery_reports_controller.rb +63 -0
- data/app/models/action_smser/delivery_report.rb +30 -0
- data/app/views/action_smser/delivery_reports/index.html.erb +143 -0
- data/app/views/layouts/action_smser/delivery_reports.html.erb +56 -0
- data/config/routes.rb +7 -0
- data/db/migrate/20120102215215_create_action_smser_delivery_reports.rb +19 -0
- data/lib/action_smser.rb +24 -0
- data/lib/action_smser/base.rb +133 -0
- data/lib/action_smser/delivery_methods/simple_http.rb +70 -0
- data/lib/action_smser/delivery_methods/test_array.rb +30 -0
- data/lib/action_smser/engine.rb +5 -0
- data/lib/action_smser/version.rb +3 -0
- data/lib/tasks/action_smser_tasks.rake +4 -0
- data/test/action_smser_test.rb +7 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +7 -0
- data/test/dummy/app/assets/stylesheets/application.css +7 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/hello_smser.rb +9 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +51 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +26 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +30 -0
- data/test/dummy/config/environments/production.rb +60 -0
- data/test/dummy/config/environments/test.rb +39 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/git_ignored_passwords.rb +10 -0
- data/test/dummy/config/initializers/inflections.rb +10 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +28 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +540 -0
- data/test/dummy/log/test.log +18246 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +26 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/functional/action_smser/delivery_reports_controller_test.rb +118 -0
- data/test/integration/navigation_test.rb +11 -0
- data/test/test_helper.rb +25 -0
- data/test/unit/action_smser/base_test.rb +83 -0
- data/test/unit/action_smser/delivery_methods/simple_http_test.rb +52 -0
- data/test/unit/action_smser/delivery_methods/test_array_test.rb +42 -0
- data/test/unit/action_smser/delivery_report_test.rb +54 -0
- metadata +212 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
# Pick the frameworks you want:
|
4
|
+
require "active_record/railtie"
|
5
|
+
require "action_controller/railtie"
|
6
|
+
require "action_mailer/railtie"
|
7
|
+
require "active_resource/railtie"
|
8
|
+
# require "sprockets/railtie"
|
9
|
+
require "rails/test_unit/railtie"
|
10
|
+
|
11
|
+
Bundler.require
|
12
|
+
require "action_smser"
|
13
|
+
|
14
|
+
module Dummy
|
15
|
+
class Application < Rails::Application
|
16
|
+
# Settings in config/environments/* take precedence over those specified here.
|
17
|
+
# Application configuration should go into files in config/initializers
|
18
|
+
# -- all .rb files in that directory are automatically loaded.
|
19
|
+
|
20
|
+
# Custom directories with classes and modules you want to be autoloadable.
|
21
|
+
# config.autoload_paths += %W(#{config.root}/extras)
|
22
|
+
|
23
|
+
# Only load the plugins named here, in the order given (default is alphabetical).
|
24
|
+
# :all can be used as a placeholder for all plugins not explicitly named.
|
25
|
+
# config.plugins = [ :exception_notification, :ssl_requirement, :all ]
|
26
|
+
|
27
|
+
# Activate observers that should always be running.
|
28
|
+
# config.active_record.observers = :cacher, :garbage_collector, :forum_observer
|
29
|
+
|
30
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
31
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
32
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
33
|
+
|
34
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
35
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
36
|
+
# config.i18n.default_locale = :de
|
37
|
+
|
38
|
+
# Configure the default encoding used in templates for Ruby 1.9.
|
39
|
+
config.encoding = "utf-8"
|
40
|
+
|
41
|
+
# Configure sensitive parameters which will be filtered from the log file.
|
42
|
+
config.filter_parameters += [:password]
|
43
|
+
|
44
|
+
# Enable the asset pipeline
|
45
|
+
config.assets.enabled = true
|
46
|
+
|
47
|
+
# Version of your assets, change this if you want to expire all your assets
|
48
|
+
config.assets.version = '1.0'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
development:
|
7
|
+
adapter: sqlite3
|
8
|
+
database: db/development.sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
# Warning: The database defined as "test" will be erased and
|
13
|
+
# re-generated from your development database when you run "rake".
|
14
|
+
# Do not set this db to the same as development or production.
|
15
|
+
test:
|
16
|
+
adapter: sqlite3
|
17
|
+
database: ":memory:"
|
18
|
+
# database: db/test.sqlite3
|
19
|
+
pool: 5
|
20
|
+
timeout: 5000
|
21
|
+
|
22
|
+
production:
|
23
|
+
adapter: sqlite3
|
24
|
+
database: db/production.sqlite3
|
25
|
+
pool: 5
|
26
|
+
timeout: 5000
|
@@ -0,0 +1,30 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and disable caching
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Only use best-standards-support built into browsers
|
23
|
+
config.action_dispatch.best_standards_support = :builtin
|
24
|
+
|
25
|
+
# Do not compress assets
|
26
|
+
config.assets.compress = false
|
27
|
+
|
28
|
+
# Expands the lines which load the assets
|
29
|
+
config.assets.debug = true
|
30
|
+
end
|
@@ -0,0 +1,60 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
|
11
|
+
# Disable Rails's static asset server (Apache or nginx will already do this)
|
12
|
+
config.serve_static_assets = false
|
13
|
+
|
14
|
+
# Compress JavaScripts and CSS
|
15
|
+
config.assets.compress = true
|
16
|
+
|
17
|
+
# Don't fallback to assets pipeline if a precompiled asset is missed
|
18
|
+
config.assets.compile = false
|
19
|
+
|
20
|
+
# Generate digests for assets URLs
|
21
|
+
config.assets.digest = true
|
22
|
+
|
23
|
+
# Defaults to Rails.root.join("public/assets")
|
24
|
+
# config.assets.manifest = YOUR_PATH
|
25
|
+
|
26
|
+
# Specifies the header that your server uses for sending files
|
27
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
28
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
29
|
+
|
30
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
31
|
+
# config.force_ssl = true
|
32
|
+
|
33
|
+
# See everything in the log (default is :info)
|
34
|
+
# config.log_level = :debug
|
35
|
+
|
36
|
+
# Use a different logger for distributed setups
|
37
|
+
# config.logger = SyslogLogger.new
|
38
|
+
|
39
|
+
# Use a different cache store in production
|
40
|
+
# config.cache_store = :mem_cache_store
|
41
|
+
|
42
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server
|
43
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
44
|
+
|
45
|
+
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
|
46
|
+
# config.assets.precompile += %w( search.js )
|
47
|
+
|
48
|
+
# Disable delivery errors, bad email addresses will be ignored
|
49
|
+
# config.action_mailer.raise_delivery_errors = false
|
50
|
+
|
51
|
+
# Enable threaded mode
|
52
|
+
# config.threadsafe!
|
53
|
+
|
54
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
55
|
+
# the I18n.default_locale when a translation can not be found)
|
56
|
+
config.i18n.fallbacks = true
|
57
|
+
|
58
|
+
# Send deprecation notices to registered listeners
|
59
|
+
config.active_support.deprecation = :notify
|
60
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
15
|
+
config.whiny_nils = true
|
16
|
+
|
17
|
+
# Show full error reports and disable caching
|
18
|
+
config.consider_all_requests_local = true
|
19
|
+
config.action_controller.perform_caching = false
|
20
|
+
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
22
|
+
config.action_dispatch.show_exceptions = false
|
23
|
+
|
24
|
+
# Disable request forgery protection in test environment
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
26
|
+
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
29
|
+
# ActionMailer::Base.deliveries array.
|
30
|
+
config.action_mailer.delivery_method = :test
|
31
|
+
|
32
|
+
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
33
|
+
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
34
|
+
# like if you have constraints or database-specific column types
|
35
|
+
# config.active_record.schema_format = :sql
|
36
|
+
|
37
|
+
# Print deprecation notices to the stderr
|
38
|
+
config.active_support.deprecation = :stderr
|
39
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,10 @@
|
|
1
|
+
|
2
|
+
if Rails.env.development?
|
3
|
+
|
4
|
+
ActionSmser.delivery_options[:delivery_method] = :simple_http
|
5
|
+
ActionSmser.delivery_options[:simple_http] = {
|
6
|
+
:server => 'smsapi1.patidure.net', :username => 'nimenhuuto', :password => 'kusyhf9i8y',
|
7
|
+
:use_ssl => true
|
8
|
+
}
|
9
|
+
|
10
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format
|
4
|
+
# (all these examples are active by default):
|
5
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
6
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
7
|
+
# inflect.singular /^(ox)en/i, '\1'
|
8
|
+
# inflect.irregular 'person', 'people'
|
9
|
+
# inflect.uncountable %w( fish sheep )
|
10
|
+
# end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
Dummy::Application.config.secret_token = '344386496a055c097c210dd2598d705e5544f1f3742d54b6413c8c937b33f484e9fdf5dec39ea1b27061e5383d45430ddb159cd7f3d0f5f8087b2288df853bba'
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
|
4
|
+
|
5
|
+
# Use the database for sessions instead of the cookie-based default,
|
6
|
+
# which shouldn't be used to store highly confidential information
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters :format => [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
Binary file
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended to check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(:version => 20120102215215) do
|
14
|
+
|
15
|
+
create_table "action_smser_delivery_reports", :force => true do |t|
|
16
|
+
t.string "msg_id"
|
17
|
+
t.string "status"
|
18
|
+
t.datetime "status_updated_at"
|
19
|
+
t.string "sms_type"
|
20
|
+
t.text "log"
|
21
|
+
t.string "to"
|
22
|
+
t.string "from"
|
23
|
+
t.string "body"
|
24
|
+
t.datetime "created_at"
|
25
|
+
t.datetime "updated_at"
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
Binary file
|
@@ -0,0 +1,540 @@
|
|
1
|
+
ActionSmser: sent sms (Sms HelloSmser.hello_user - From: 999, To: 123, Body: hello joo, Valid: true)
|
2
|
+
ActionSmser: sent sms (Sms HelloSmser.hello_user - From: 999, To: 123, Body: hello joo, Valid: true)
|
3
|
+
ActionSmser: sent sms (Sms HelloSmser.hello_user - From: 999, To: 123, Body: hello joo, Valid: true)
|
4
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
5
|
+
[1m[35m (46.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
7
|
+
[1m[35m (15.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8
|
+
[1m[36m (0.3ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9
|
+
Migrating to CreateActionSmserDeliveryReports (20120102214519)
|
10
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)
|
11
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120102214519')[0m
|
12
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
13
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
14
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("action_smser_delivery_reports")
|
15
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
16
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
17
|
+
Migrating to CreateActionSmserDeliveryReports (20120102214519)
|
18
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
19
|
+
[1m[35m (0.5ms)[0m DROP TABLE "action_smser_delivery_reports"
|
20
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102214519'[0m
|
21
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
22
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
23
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
24
|
+
Migrating to CreateActionSmserDeliveryReports (20120102214519)
|
25
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "action_smser_delivery_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
26
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120102214519')
|
27
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
28
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
29
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
30
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
31
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
32
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
33
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("action_smser_delivery_reports")
|
34
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
35
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
36
|
+
[1m[35m (0.1ms)[0m 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)
|
37
|
+
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)
|
38
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
39
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
40
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
41
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("action_smser_delivery_reports")
|
42
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
43
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
44
|
+
[1m[35m (0.1ms)[0m 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)
|
45
|
+
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)
|
46
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
47
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
48
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
49
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("action_smser_delivery_reports")
|
50
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
51
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
52
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
53
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "action_smser_delivery_reports"[0m
|
54
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
|
55
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
56
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
57
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
58
|
+
[1m[35m (35.9ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102215215'
|
59
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
60
|
+
[1m[35m (0.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
61
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
62
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
63
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
64
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
65
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
|
66
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
67
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
68
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
69
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
70
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
71
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
72
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
73
|
+
[1m[35m (0.5ms)[0m DROP TABLE "action_smser_delivery_reports"
|
74
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102215215'[0m
|
75
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
76
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
77
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
78
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
79
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
80
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
|
81
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
82
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
83
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
84
|
+
|
85
|
+
|
86
|
+
Started GET "/action_smser" for 127.0.0.1 at Tue Jan 03 00:06:58 +0200 2012
|
87
|
+
|
88
|
+
ActionController::RoutingError (No route matches [GET] "/action_smser"):
|
89
|
+
|
90
|
+
|
91
|
+
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)
|
92
|
+
|
93
|
+
|
94
|
+
Started GET "/action_smser/delivery_reports" for 127.0.0.1 at Tue Jan 03 00:07:04 +0200 2012
|
95
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
96
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" [0m
|
97
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (0.6ms)
|
98
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.1ms)
|
99
|
+
|
100
|
+
|
101
|
+
Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Tue Jan 03 00:07:04 +0200 2012
|
102
|
+
|
103
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"):
|
104
|
+
|
105
|
+
|
106
|
+
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)
|
107
|
+
|
108
|
+
|
109
|
+
Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Tue Jan 03 00:07:04 +0200 2012
|
110
|
+
|
111
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"):
|
112
|
+
|
113
|
+
|
114
|
+
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)
|
115
|
+
|
116
|
+
|
117
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:11 +0200 2012
|
118
|
+
Processing by ActionSmser::DeliveryReportsController#show as HTML
|
119
|
+
Parameters: {"id"=>"gateway_commit"}
|
120
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", "gateway_commit"]]
|
121
|
+
Completed 404 Not Found in 3ms
|
122
|
+
|
123
|
+
ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit):
|
124
|
+
|
125
|
+
|
126
|
+
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)
|
127
|
+
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)
|
128
|
+
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)
|
129
|
+
|
130
|
+
|
131
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:38 +0200 2012
|
132
|
+
Processing by ActionSmser::DeliveryReportsController#show as HTML
|
133
|
+
Parameters: {"id"=>"gateway_commit"}
|
134
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", "gateway_commit"]]
|
135
|
+
Completed 404 Not Found in 1ms
|
136
|
+
|
137
|
+
ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit):
|
138
|
+
|
139
|
+
|
140
|
+
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)
|
141
|
+
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)
|
142
|
+
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)
|
143
|
+
|
144
|
+
|
145
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:39 +0200 2012
|
146
|
+
Processing by ActionSmser::DeliveryReportsController#show as HTML
|
147
|
+
Parameters: {"id"=>"gateway_commit"}
|
148
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1 [["id", "gateway_commit"]]
|
149
|
+
Completed 404 Not Found in 1ms
|
150
|
+
|
151
|
+
ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit):
|
152
|
+
|
153
|
+
|
154
|
+
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)
|
155
|
+
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)
|
156
|
+
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)
|
157
|
+
|
158
|
+
|
159
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/" for 127.0.0.1 at Tue Jan 03 00:08:46 +0200 2012
|
160
|
+
Processing by ActionSmser::DeliveryReportsController#show as HTML
|
161
|
+
Parameters: {"id"=>"gateway_commit"}
|
162
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" WHERE "action_smser_delivery_reports"."id" = ? LIMIT 1[0m [["id", "gateway_commit"]]
|
163
|
+
Completed 404 Not Found in 2ms
|
164
|
+
|
165
|
+
ActiveRecord::RecordNotFound (Couldn't find ActionSmser::DeliveryReport with id=gateway_commit):
|
166
|
+
|
167
|
+
|
168
|
+
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)
|
169
|
+
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)
|
170
|
+
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)
|
171
|
+
|
172
|
+
|
173
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/asdf" for 127.0.0.1 at Tue Jan 03 00:08:48 +0200 2012
|
174
|
+
|
175
|
+
AbstractController::ActionNotFound (The action 'gateway_commit' could not be found for ActionSmser::DeliveryReportsController):
|
176
|
+
|
177
|
+
|
178
|
+
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)
|
179
|
+
|
180
|
+
|
181
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/asdf" for 127.0.0.1 at Tue Jan 03 00:09:03 +0200 2012
|
182
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
183
|
+
Parameters: {"gateway"=>"asdf"}
|
184
|
+
|
185
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
186
|
+
Completed 500 Internal Server Error in 6ms
|
187
|
+
|
188
|
+
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:
|
189
|
+
* "/home/ohu/koodi/gems/action_smser/test/dummy/app/views"
|
190
|
+
* "/home/ohu/koodi/gems/action_smser/app/views"
|
191
|
+
):
|
192
|
+
|
193
|
+
|
194
|
+
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)
|
195
|
+
|
196
|
+
|
197
|
+
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
|
198
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
199
|
+
Parameters: {"gateway"=>"asdf", "joo"=>"123321"}
|
200
|
+
|
201
|
+
***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
|
202
|
+
Completed 500 Internal Server Error in 5ms
|
203
|
+
|
204
|
+
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:
|
205
|
+
* "/home/ohu/koodi/gems/action_smser/test/dummy/app/views"
|
206
|
+
* "/home/ohu/koodi/gems/action_smser/app/views"
|
207
|
+
):
|
208
|
+
|
209
|
+
|
210
|
+
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)
|
211
|
+
ActionSmser: Joo
|
212
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true)
|
213
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true)
|
214
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true)
|
215
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true)
|
216
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: hello olli, Valid: true)
|
217
|
+
ActionSmser: SMS: get ||| /api/sendsms/plain?user=smsapi1.patidure.net&password=kusyhf9i8y&sender=358407573855&SMSText=hello+olli&GSM=358407573855 ||| #<Net::HTTPOK 200 OK readbody=true>
|
218
|
+
ActionSmser: -5
|
219
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: 999, To: 358407573855, Body: ääkkösillä, hello olli, Valid: true)
|
220
|
+
ActionSmser: SMS: get ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=358407573855&SMSText=%E4%E4kk%F6sill%E4%2C+hello+olli&GSM=358407573855 ||| #<Net::HTTPOK 200 OK readbody=true>
|
221
|
+
ActionSmser: 102010314042601160
|
222
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: nimenhuutocom, To: 358405851123358407573855, Body: ääkkösillä, hello jussi, Valid: true)
|
223
|
+
ActionSmser: SMS: get ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=nimenhuutocom&SMSText=%E4%E4kk%F6sill%E4%2C+hello+jussi&GSM=358405851123,358407573855 ||| #<Net::HTTPOK 200 OK readbody=true>
|
224
|
+
ActionSmser: 102010314204054601
|
225
|
+
102010314204056202
|
226
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello_user - From: nimenhuutocom, To: 358505526013, Body: ääkkösillä, hello harri, Valid: true)
|
227
|
+
ActionSmser: SMS: get ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=nimenhuutocom&SMSText=%E4%E4kk%F6sill%E4%2C+hello+harri&GSM=358505526013 ||| #<Net::HTTPOK 200 OK readbody=true>
|
228
|
+
ActionSmser: 102010314225571857
|
229
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
230
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
231
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
232
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
233
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("action_smser_delivery_reports")
|
234
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true)
|
235
|
+
ActionSmser: Delivering sms by https
|
236
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true)
|
237
|
+
ActionSmser: Delivering sms by https
|
238
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true)
|
239
|
+
ActionSmser: Delivering sms by https
|
240
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true)
|
241
|
+
ActionSmser: Delivering sms by https
|
242
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true)
|
243
|
+
ActionSmser: Delivering sms by https
|
244
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true)
|
245
|
+
ActionSmser: Delivering sms by https
|
246
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=3587573855 ||| #<Net::HTTPOK 200 OK readbody=true>
|
247
|
+
ActionSmser: -13
|
248
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "+3587573855", Body: "ääkköset rulaa", Valid: true)
|
249
|
+
ActionSmser: Delivering sms by https
|
250
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=+3587573855 ||| #<Net::HTTPOK 200 OK readbody=true>
|
251
|
+
ActionSmser: -13
|
252
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "3587573855", Body: "ääkköset rulaa", Valid: true)
|
253
|
+
ActionSmser: Delivering sms by https
|
254
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=3587573855 ||| #<Net::HTTPOK 200 OK readbody=true>
|
255
|
+
ActionSmser: -13
|
256
|
+
ActionSmser: Sending sms (Sms HelloSmser.hello - From: "jokujoo", To: "358407573855", Body: "ääkköset rulaa", Valid: true)
|
257
|
+
ActionSmser: Delivering sms by https
|
258
|
+
ActionSmser: SimpleHttp delivery ||| /api/sendsms/plain?user=nimenhuuto&password=kusyhf9i8y&sender=jokujoo&SMSText=%E4%E4kk%F6set+rulaa&GSM=358407573855 ||| #<Net::HTTPOK 200 OK readbody=true>
|
259
|
+
ActionSmser: 102010317565753524
|
260
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
261
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
262
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
263
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
264
|
+
[1m[35m (0.5ms)[0m DROP TABLE "action_smser_delivery_reports"
|
265
|
+
[1m[36m (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20120102215215'[0m
|
266
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
267
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
268
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
269
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
270
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
271
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120102215215')
|
272
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
273
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
274
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("action_smser_delivery_reports")[0m
|
275
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
276
|
+
Migrating to CreateActionSmserDeliveryReports (20120102215215)
|
277
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
278
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
279
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("action_smser_delivery_reports")
|
280
|
+
|
281
|
+
|
282
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:57:47 +0200 2012
|
283
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
284
|
+
Rendered text template (0.0ms)
|
285
|
+
Completed 403 Forbidden in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
|
286
|
+
|
287
|
+
|
288
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:57:55 +0200 2012
|
289
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
290
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (4.0ms)
|
291
|
+
Completed 500 Internal Server Error in 9ms
|
292
|
+
|
293
|
+
ActionView::Template::Error (You have a nil object when you didn't expect it!
|
294
|
+
You might have expected an instance of Array.
|
295
|
+
The error occurred while evaluating nil.each):
|
296
|
+
13: <th></th>
|
297
|
+
14: </tr>
|
298
|
+
15:
|
299
|
+
16: <% @delivery_reports.each do |delivery_report| %>
|
300
|
+
17: <tr>
|
301
|
+
18: <td><%= delivery_report.msg_id %></td>
|
302
|
+
19: <td><%= delivery_report.status %></td>
|
303
|
+
|
304
|
+
|
305
|
+
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)
|
306
|
+
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)
|
307
|
+
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)
|
308
|
+
|
309
|
+
|
310
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:58:57 +0200 2012
|
311
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
312
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (1.3ms)
|
313
|
+
Completed 500 Internal Server Error in 7ms
|
314
|
+
|
315
|
+
ActionView::Template::Error (You have a nil object when you didn't expect it!
|
316
|
+
You might have expected an instance of Array.
|
317
|
+
The error occurred while evaluating nil.each):
|
318
|
+
13: <th></th>
|
319
|
+
14: </tr>
|
320
|
+
15:
|
321
|
+
16: <% @delivery_reports.each do |delivery_report| %>
|
322
|
+
17: <tr>
|
323
|
+
18: <td><%= delivery_report.msg_id %></td>
|
324
|
+
19: <td><%= delivery_report.status %></td>
|
325
|
+
|
326
|
+
|
327
|
+
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)
|
328
|
+
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)
|
329
|
+
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)
|
330
|
+
|
331
|
+
|
332
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:58:58 +0200 2012
|
333
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
334
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (0.4ms)
|
335
|
+
Completed 500 Internal Server Error in 4ms
|
336
|
+
|
337
|
+
ActionView::Template::Error (You have a nil object when you didn't expect it!
|
338
|
+
You might have expected an instance of Array.
|
339
|
+
The error occurred while evaluating nil.each):
|
340
|
+
13: <th></th>
|
341
|
+
14: </tr>
|
342
|
+
15:
|
343
|
+
16: <% @delivery_reports.each do |delivery_report| %>
|
344
|
+
17: <tr>
|
345
|
+
18: <td><%= delivery_report.msg_id %></td>
|
346
|
+
19: <td><%= delivery_report.status %></td>
|
347
|
+
|
348
|
+
|
349
|
+
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)
|
350
|
+
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)
|
351
|
+
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)
|
352
|
+
|
353
|
+
|
354
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 16:59:51 +0200 2012
|
355
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
356
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20[0m
|
357
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (11.5ms)
|
358
|
+
Completed 500 Internal Server Error in 17ms
|
359
|
+
|
360
|
+
ActionView::Template::Error (undefined method `recipient' for #<ActionSmser::DeliveryReport:0x2ee62e8>):
|
361
|
+
18: <td><%= delivery_report.msg_id %></td>
|
362
|
+
19: <td><%= delivery_report.status %></td>
|
363
|
+
20: <td><%= delivery_report.status_updated_at %></td>
|
364
|
+
21: <td><%= delivery_report.recipient %></td>
|
365
|
+
22: <td><%= delivery_report.sender %></td>
|
366
|
+
23: <td><%= delivery_report.text_body %></td>
|
367
|
+
24: <td><%= link_to 'Show', delivery_report %></td>
|
368
|
+
|
369
|
+
|
370
|
+
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)
|
371
|
+
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)
|
372
|
+
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)
|
373
|
+
|
374
|
+
|
375
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:00:02 +0200 2012
|
376
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
377
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20
|
378
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (8.0ms)
|
379
|
+
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.3ms)
|
380
|
+
|
381
|
+
|
382
|
+
Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:00:02 +0200 2012
|
383
|
+
|
384
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"):
|
385
|
+
|
386
|
+
|
387
|
+
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)
|
388
|
+
|
389
|
+
|
390
|
+
Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:00:02 +0200 2012
|
391
|
+
|
392
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"):
|
393
|
+
|
394
|
+
|
395
|
+
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)
|
396
|
+
|
397
|
+
|
398
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:02:09 +0200 2012
|
399
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
400
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20[0m
|
401
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (14.7ms)
|
402
|
+
Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.3ms)
|
403
|
+
|
404
|
+
|
405
|
+
Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:02:10 +0200 2012
|
406
|
+
|
407
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"):
|
408
|
+
|
409
|
+
|
410
|
+
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)
|
411
|
+
|
412
|
+
|
413
|
+
Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:02:10 +0200 2012
|
414
|
+
|
415
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"):
|
416
|
+
|
417
|
+
|
418
|
+
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)
|
419
|
+
|
420
|
+
|
421
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:03:13 +0200 2012
|
422
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
423
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20
|
424
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.1ms)
|
425
|
+
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.4ms)
|
426
|
+
|
427
|
+
|
428
|
+
Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:03:13 +0200 2012
|
429
|
+
|
430
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"):
|
431
|
+
|
432
|
+
|
433
|
+
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)
|
434
|
+
|
435
|
+
|
436
|
+
Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:03:13 +0200 2012
|
437
|
+
|
438
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"):
|
439
|
+
|
440
|
+
|
441
|
+
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)
|
442
|
+
|
443
|
+
|
444
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:04:28 +0200 2012
|
445
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
446
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20[0m
|
447
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.0ms)
|
448
|
+
Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.3ms)
|
449
|
+
|
450
|
+
|
451
|
+
Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:04:28 +0200 2012
|
452
|
+
|
453
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"):
|
454
|
+
|
455
|
+
|
456
|
+
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)
|
457
|
+
|
458
|
+
|
459
|
+
Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:04:28 +0200 2012
|
460
|
+
|
461
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"):
|
462
|
+
|
463
|
+
|
464
|
+
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)
|
465
|
+
|
466
|
+
|
467
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:04:45 +0200 2012
|
468
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
469
|
+
[1m[35mActionSmser::DeliveryReport Load (0.1ms)[0m SELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20
|
470
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.0ms)
|
471
|
+
Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.3ms)
|
472
|
+
|
473
|
+
|
474
|
+
Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:04:45 +0200 2012
|
475
|
+
|
476
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"):
|
477
|
+
|
478
|
+
|
479
|
+
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)
|
480
|
+
|
481
|
+
|
482
|
+
Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:04:45 +0200 2012
|
483
|
+
|
484
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"):
|
485
|
+
|
486
|
+
|
487
|
+
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)
|
488
|
+
|
489
|
+
|
490
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:05:46 +0200 2012
|
491
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
492
|
+
[1m[36mActionSmser::DeliveryReport Load (0.1ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20[0m
|
493
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (5.0ms)
|
494
|
+
Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.3ms)
|
495
|
+
|
496
|
+
|
497
|
+
Started GET "/stylesheets/action_smser/application.css" for 127.0.0.1 at Wed Jan 04 17:05:46 +0200 2012
|
498
|
+
|
499
|
+
ActionController::RoutingError (No route matches [GET] "/stylesheets/action_smser/application.css"):
|
500
|
+
|
501
|
+
|
502
|
+
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)
|
503
|
+
|
504
|
+
|
505
|
+
Started GET "/javascripts/action_smser/application.js" for 127.0.0.1 at Wed Jan 04 17:05:46 +0200 2012
|
506
|
+
|
507
|
+
ActionController::RoutingError (No route matches [GET] "/javascripts/action_smser/application.js"):
|
508
|
+
|
509
|
+
|
510
|
+
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)
|
511
|
+
|
512
|
+
|
513
|
+
Started GET "/action_smser/delivery_reports/gateway_commit/asdf" for 127.0.0.1 at Wed Jan 04 17:20:28 +0200 2012
|
514
|
+
Processing by ActionSmser::DeliveryReportsController#gateway_commit as HTML
|
515
|
+
Parameters: {"gateway"=>"asdf"}
|
516
|
+
Rendered text template (0.0ms)
|
517
|
+
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
518
|
+
|
519
|
+
|
520
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Wed Jan 04 17:20:34 +0200 2012
|
521
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
522
|
+
Rendered text template (0.0ms)
|
523
|
+
Completed 403 Forbidden in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
524
|
+
|
525
|
+
|
526
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Thu Jan 05 16:00:15 +0200 2012
|
527
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
528
|
+
Rendered text template (0.0ms)
|
529
|
+
Completed 403 Forbidden in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
|
530
|
+
|
531
|
+
|
532
|
+
Started GET "/action_smser/delivery_reports/" for 127.0.0.1 at Thu Jan 05 16:00:23 +0200 2012
|
533
|
+
Processing by ActionSmser::DeliveryReportsController#index as HTML
|
534
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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')[0m
|
535
|
+
[1m[35m (0.2ms)[0m 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
|
536
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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')[0m
|
537
|
+
[1m[35m (0.2ms)[0m 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
|
538
|
+
[1m[36mActionSmser::DeliveryReport Load (0.2ms)[0m [1mSELECT "action_smser_delivery_reports".* FROM "action_smser_delivery_reports" LIMIT 20[0m
|
539
|
+
Rendered /home/ohu/koodi/gems/action_smser/app/views/action_smser/delivery_reports/index.html.erb within layouts/action_smser/application (26.2ms)
|
540
|
+
Completed 200 OK in 31ms (Views: 29.6ms | ActiveRecord: 1.1ms)
|