cadinsor 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +109 -0
  4. data/README.rdoc +3 -0
  5. data/Rakefile +34 -0
  6. data/app/controllers/cadinsor/api_keys_controller.rb +29 -0
  7. data/app/controllers/cadinsor/application_controller.rb +4 -0
  8. data/app/helpers/cadinsor/api_keys_helper.rb +4 -0
  9. data/app/helpers/cadinsor/application_helper.rb +4 -0
  10. data/app/models/cadinsor/api_key.rb +19 -0
  11. data/app/models/cadinsor/client_app.rb +13 -0
  12. data/app/views/cadinsor/api_keys/create.rabl +3 -0
  13. data/app/views/cadinsor/api_keys/show.rabl +10 -0
  14. data/app/views/cadinsor/application/cadinsor_error_response.rabl +3 -0
  15. data/app/views/layouts/cadinsor/application.html.erb +14 -0
  16. data/config/initializers/rabl_config.rb +4 -0
  17. data/config/routes.rb +4 -0
  18. data/db/migrate/20140111160304_create_cadinsor_client_apps.rb +9 -0
  19. data/db/migrate/20140111160653_create_cadinsor_api_keys.rb +10 -0
  20. data/lib/cadinsor.rb +6 -0
  21. data/lib/cadinsor/engine.rb +10 -0
  22. data/lib/cadinsor/extensions.rb +61 -0
  23. data/lib/cadinsor/extensions/request_error.rb +6 -0
  24. data/lib/cadinsor/version.rb +3 -0
  25. data/lib/generators/cadinsor/install/USAGE +7 -0
  26. data/lib/generators/cadinsor/install/install_generator.rb +30 -0
  27. data/lib/generators/cadinsor/install/templates/cadinsor_initializer.erb +29 -0
  28. data/lib/tasks/api_key.rake +27 -0
  29. data/lib/tasks/cadinsor_tasks.rake +4 -0
  30. data/lib/tasks/client_app.rake +85 -0
  31. data/test/cadinsor_test.rb +7 -0
  32. data/test/controllers/cadinsor/api_keys_controller_test.rb +9 -0
  33. data/test/dummy/Gemfile.lock +25 -0
  34. data/test/dummy/README.rdoc +28 -0
  35. data/test/dummy/Rakefile +6 -0
  36. data/test/dummy/app/assets/javascripts/application.js +13 -0
  37. data/test/dummy/app/assets/javascripts/cadinsor_tests.js +2 -0
  38. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  39. data/test/dummy/app/assets/stylesheets/cadinsor_tests.css +4 -0
  40. data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
  41. data/test/dummy/app/controllers/application_controller.rb +5 -0
  42. data/test/dummy/app/controllers/cadinsor_tests_controller.rb +26 -0
  43. data/test/dummy/app/helpers/application_helper.rb +2 -0
  44. data/test/dummy/app/helpers/cadinsor_tests_helper.rb +2 -0
  45. data/test/dummy/app/views/cadinsor_tests/do_not_check.rabl +3 -0
  46. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  47. data/test/dummy/bin/bundle +3 -0
  48. data/test/dummy/bin/rails +4 -0
  49. data/test/dummy/bin/rake +4 -0
  50. data/test/dummy/config.ru +4 -0
  51. data/test/dummy/config/application.rb +23 -0
  52. data/test/dummy/config/boot.rb +5 -0
  53. data/test/dummy/config/database.yml +25 -0
  54. data/test/dummy/config/environment.rb +5 -0
  55. data/test/dummy/config/environments/development.rb +29 -0
  56. data/test/dummy/config/environments/production.rb +80 -0
  57. data/test/dummy/config/environments/test.rb +36 -0
  58. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  59. data/test/dummy/config/initializers/cadinsor.rb +29 -0
  60. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  61. data/test/dummy/config/initializers/inflections.rb +16 -0
  62. data/test/dummy/config/initializers/mime_types.rb +5 -0
  63. data/test/dummy/config/initializers/secret_token.rb +12 -0
  64. data/test/dummy/config/initializers/session_store.rb +3 -0
  65. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  66. data/test/dummy/config/locales/en.yml +23 -0
  67. data/test/dummy/config/routes.rb +4 -0
  68. data/test/dummy/db/development.sqlite3 +0 -0
  69. data/test/dummy/db/migrate/20140115125610_create_cadinsor_client_apps.cadinsor.rb +11 -0
  70. data/test/dummy/db/migrate/20140115125611_create_cadinsor_api_keys.cadinsor.rb +11 -0
  71. data/test/dummy/db/schema.rb +33 -0
  72. data/test/dummy/db/test.sqlite3 +0 -0
  73. data/test/dummy/log/development.log +2737 -0
  74. data/test/dummy/public/404.html +58 -0
  75. data/test/dummy/public/422.html +58 -0
  76. data/test/dummy/public/500.html +57 -0
  77. data/test/dummy/public/favicon.ico +0 -0
  78. data/test/dummy/test/controllers/cadinsor_tests_controller_test.rb +9 -0
  79. data/test/dummy/test/helpers/cadinsor_tests_helper_test.rb +4 -0
  80. data/test/fixtures/cadinsor/api_keys.yml +11 -0
  81. data/test/fixtures/cadinsor/client_apps.yml +11 -0
  82. data/test/helpers/cadinsor/api_keys_helper_test.rb +6 -0
  83. data/test/integration/navigation_test.rb +10 -0
  84. data/test/models/cadinsor/api_key_test.rb +9 -0
  85. data/test/models/cadinsor/client_app_test.rb +9 -0
  86. data/test/test_helper.rb +15 -0
  87. metadata +228 -0
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -0,0 +1,23 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require 'rails/all'
4
+
5
+ Bundler.require(*Rails.groups)
6
+ require "cadinsor"
7
+
8
+ module Dummy
9
+ class Application < Rails::Application
10
+ # Settings in config/environments/* take precedence over those specified here.
11
+ # Application configuration should go into files in config/initializers
12
+ # -- all .rb files in that directory are automatically loaded.
13
+
14
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
15
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
16
+ # config.time_zone = 'Central Time (US & Canada)'
17
+
18
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
19
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
20
+ # config.i18n.default_locale = :de
21
+ end
22
+ end
23
+
@@ -0,0 +1,5 @@
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
5
+ $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,25 @@
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: db/test.sqlite3
18
+ pool: 5
19
+ timeout: 5000
20
+
21
+ production:
22
+ adapter: sqlite3
23
+ database: db/production.sqlite3
24
+ pool: 5
25
+ timeout: 5000
@@ -0,0 +1,5 @@
1
+ # Load the Rails application.
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the Rails application.
5
+ Dummy::Application.initialize!
@@ -0,0 +1,29 @@
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
+ # Do not eager load code on boot.
10
+ config.eager_load = false
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
+ # Raise an error on page load if there are pending migrations
23
+ config.active_record.migration_error = :page_load
24
+
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
28
+ config.assets.debug = true
29
+ end
@@ -0,0 +1,80 @@
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
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both thread web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
21
+
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
23
+ config.serve_static_assets = false
24
+
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
28
+
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
30
+ config.assets.compile = false
31
+
32
+ # Generate digests for assets URLs.
33
+ config.assets.digest = true
34
+
35
+ # Version of your assets, change this if you want to expire all your assets.
36
+ config.assets.version = '1.0'
37
+
38
+ # Specifies the header that your server uses for sending files.
39
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
40
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
41
+
42
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
43
+ # config.force_ssl = true
44
+
45
+ # Set to :debug to see everything in the log.
46
+ config.log_level = :info
47
+
48
+ # Prepend all log lines with the following tags.
49
+ # config.log_tags = [ :subdomain, :uuid ]
50
+
51
+ # Use a different logger for distributed setups.
52
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
53
+
54
+ # Use a different cache store in production.
55
+ # config.cache_store = :mem_cache_store
56
+
57
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
58
+ # config.action_controller.asset_host = "http://assets.example.com"
59
+
60
+ # Precompile additional assets.
61
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
62
+ # config.assets.precompile += %w( search.js )
63
+
64
+ # Ignore bad email addresses and do not raise email delivery errors.
65
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
66
+ # config.action_mailer.raise_delivery_errors = false
67
+
68
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
69
+ # the I18n.default_locale when a translation can not be found).
70
+ config.i18n.fallbacks = true
71
+
72
+ # Send deprecation notices to registered listeners.
73
+ config.active_support.deprecation = :notify
74
+
75
+ # Disable automatic flushing of the log to improve performance.
76
+ # config.autoflush_log = false
77
+
78
+ # Use default logging formatter so that PID and timestamp are not suppressed.
79
+ config.log_formatter = ::Logger::Formatter.new
80
+ end
@@ -0,0 +1,36 @@
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
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = "public, max-age=3600"
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Print deprecation notices to the stderr.
35
+ config.active_support.deprecation = :stderr
36
+ 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,29 @@
1
+ # Cadinsor Initializer - Generated on January 16, 2014 11:23
2
+ # Please visit github.com/lewstherin/cadinsor for more information on this initializer.
3
+
4
+ require 'cadinsor'
5
+ # Cadinsor Configuration Options
6
+ # # Set the api key expiry time.
7
+ # # If this value is set, any key that is generated will stop being valid after 5 minutes
8
+ # Cadinsor::Engine.config.key_expiry_time_in_mins = 5
9
+ # # Set the value of the client app id field name in params.
10
+ # # If set to :app_id (defaults to :client_app_id), Cadinsor will look for the client application id in params[:app_id]
11
+ # Cadinsor::Engine.config.client_app_id_param_name = :client_app_id
12
+ # # Set the value of the field name of the api key in params.
13
+ # # If set to :key, Cadinsor will look for the api key in params[:key]
14
+ # Cadinsor::Engine.config.api_key_param_name = :api_key
15
+ # # Set the value of the field name of the request signature in params.
16
+ # # If set to :signature, Cadinsor will look for the request signature in params[:signature]
17
+ # Cadinsor::Engine.config.request_signature_param_name = :signature
18
+
19
+ # Include Cadinsor methods in the application controller
20
+
21
+ class ApplicationController < ActionController::Base
22
+ include Cadinsor::Extensions
23
+ # When a request fails the cadinsor checks, it raises the Request Error exception
24
+ # The default behaviour redirects the request to a json/xml error page, with the reason for failure
25
+ # Edit this block if you would like the exception to be handled differently.
26
+ rescue_from Cadinsor::Extensions::RequestError do |exception_object|
27
+ cadinsor_rescue(exception_object.message)
28
+ end
29
+ end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,12 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure your secret_key_base is kept private
11
+ # if you're sharing your code publicly.
12
+ Dummy::Application.config.secret_key_base = 'b64cf08c7adcc25a824828bec8053f5b39b26ab2b3e3378922c4647a133e19267280ab18bfafa1ce4e085612be1e5eac10efcf0a16856f85ec4bde5ce0689253'
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
@@ -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] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ mount Cadinsor::Engine => '/cadinsor'
3
+ get ':controller(/:action(/:id))(.:format)'
4
+ end
Binary file
@@ -0,0 +1,11 @@
1
+ # This migration comes from cadinsor (originally 20140111160304)
2
+ class CreateCadinsorClientApps < ActiveRecord::Migration
3
+ def change
4
+ create_table :cadinsor_client_apps do |t|
5
+ t.string :name
6
+ t.string :secret
7
+ t.boolean :enabled
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,11 @@
1
+ # This migration comes from cadinsor (originally 20140111160653)
2
+ class CreateCadinsorApiKeys < ActiveRecord::Migration
3
+ def change
4
+ create_table :cadinsor_api_keys do |t|
5
+ t.string :key
6
+ t.integer :client_app_id
7
+ t.timestamps
8
+ end
9
+ add_index :cadinsor_api_keys, :key
10
+ end
11
+ end
@@ -0,0 +1,33 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20140115125611) do
15
+
16
+ create_table "cadinsor_api_keys", force: true do |t|
17
+ t.string "key"
18
+ t.integer "client_app_id"
19
+ t.datetime "created_at"
20
+ t.datetime "updated_at"
21
+ end
22
+
23
+ add_index "cadinsor_api_keys", ["key"], name: "index_cadinsor_api_keys_on_key"
24
+
25
+ create_table "cadinsor_client_apps", force: true do |t|
26
+ t.string "name"
27
+ t.string "secret"
28
+ t.boolean "enabled"
29
+ t.datetime "created_at"
30
+ t.datetime "updated_at"
31
+ end
32
+
33
+ end
File without changes
@@ -0,0 +1,2737 @@
1
+  (162.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (108.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateCadinsorClientApps (20140115091712)
5
+  (0.2ms) begin transaction
6
+  (0.7ms) CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime) 
7
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140115091712"]]
8
+  (123.8ms) commit transaction
9
+ Migrating to CreateCadinsorApiKeys (20140115091713)
10
+  (0.2ms) begin transaction
11
+  (0.5ms) CREATE TABLE "cadinsor_api_keys" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(255), "client_app_id" integer, "created_at" datetime, "updated_at" datetime) 
12
+  (0.3ms) CREATE INDEX "index_api_keys_on_value" ON "api_keys" ("value")
13
+ SQLite3::SQLException: no such table: main.api_keys: CREATE INDEX "index_api_keys_on_value" ON "api_keys" ("value")
14
+  (0.3ms) rollback transaction
15
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
+ Migrating to CreateCadinsorApiKeys (20140115091713)
17
+  (0.1ms) begin transaction
18
+  (0.4ms) CREATE TABLE "cadinsor_api_keys" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(255), "client_app_id" integer, "created_at" datetime, "updated_at" datetime) 
19
+  (0.2ms) CREATE INDEX "index_api_keys_on_value" ON "api_keys" ("value")
20
+ SQLite3::SQLException: no such table: main.api_keys: CREATE INDEX "index_api_keys_on_value" ON "api_keys" ("value")
21
+  (0.1ms) rollback transaction
22
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
+ Migrating to CreateCadinsorClientApps (20140115125251)
24
+  (0.1ms) begin transaction
25
+  (0.2ms) CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime) 
26
+ SQLite3::SQLException: table "cadinsor_client_apps" already exists: CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime)
27
+  (0.1ms) rollback transaction
28
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29
+ Migrating to CreateCadinsorClientApps (20140115125251)
30
+  (0.1ms) begin transaction
31
+  (0.2ms) CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime) 
32
+ SQLite3::SQLException: table "cadinsor_client_apps" already exists: CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime)
33
+  (0.1ms) rollback transaction
34
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
35
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
36
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
37
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
38
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
39
+ Migrating to CreateCadinsorClientApps (20140115125251)
40
+  (0.1ms) begin transaction
41
+  (0.2ms) CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime) 
42
+ SQLite3::SQLException: table "cadinsor_client_apps" already exists: CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime)
43
+  (0.1ms) rollback transaction
44
+  (132.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
45
+  (207.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
46
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
+ Migrating to CreateCadinsorClientApps (20140115125251)
48
+  (0.1ms) begin transaction
49
+  (0.7ms) CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime) 
50
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140115125251"]]
51
+  (124.7ms) commit transaction
52
+ Migrating to CreateCadinsorApiKeys (20140115125252)
53
+  (0.2ms) begin transaction
54
+  (0.5ms) CREATE TABLE "cadinsor_api_keys" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(255), "client_app_id" integer, "created_at" datetime, "updated_at" datetime) 
55
+  (0.3ms) CREATE INDEX "index_cadinsor_api_keys_on_value" ON "cadinsor_api_keys" ("value")
56
+ SQLite3::SQLException: table cadinsor_api_keys has no column named value: CREATE INDEX "index_cadinsor_api_keys_on_value" ON "cadinsor_api_keys" ("value")
57
+  (0.2ms) rollback transaction
58
+  (172.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
59
+  (124.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
60
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
+ Migrating to CreateCadinsorClientApps (20140115125251)
62
+  (0.1ms) begin transaction
63
+  (0.7ms) CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime) 
64
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140115125251"]]
65
+  (118.2ms) commit transaction
66
+ Migrating to CreateCadinsorApiKeys (20140115125252)
67
+  (0.2ms) begin transaction
68
+  (0.5ms) CREATE TABLE "cadinsor_api_keys" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(255), "client_app_id" integer, "created_at" datetime, "updated_at" datetime) 
69
+  (0.3ms) CREATE INDEX "index_cadinsor_api_keys_on_value" ON "cadinsor_api_keys" ("value")
70
+ SQLite3::SQLException: table cadinsor_api_keys has no column named value: CREATE INDEX "index_cadinsor_api_keys_on_value" ON "cadinsor_api_keys" ("value")
71
+  (0.2ms) rollback transaction
72
+  (144.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
73
+  (141.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
74
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
75
+ Migrating to CreateCadinsorClientApps (20140115125610)
76
+  (0.1ms) begin transaction
77
+  (0.7ms) CREATE TABLE "cadinsor_client_apps" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "secret" varchar(255), "enabled" boolean, "created_at" datetime, "updated_at" datetime) 
78
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140115125610"]]
79
+  (120.1ms) commit transaction
80
+ Migrating to CreateCadinsorApiKeys (20140115125611)
81
+  (0.2ms) begin transaction
82
+  (0.6ms) CREATE TABLE "cadinsor_api_keys" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar(255), "client_app_id" integer, "created_at" datetime, "updated_at" datetime) 
83
+  (12.5ms) CREATE INDEX "index_cadinsor_api_keys_on_key" ON "cadinsor_api_keys" ("key")
84
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140115125611"]]
85
+  (123.1ms) commit transaction
86
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
87
+
88
+
89
+ Started GET "/temp_scaffs/" for 127.0.0.1 at 2014-01-15 18:45:58 +0530
90
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
91
+
92
+ ActionController::RoutingError (No route matches [GET] "/temp_scaffs"):
93
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
94
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
95
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
96
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
97
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
98
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
99
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
100
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
101
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
102
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
103
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
104
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
105
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
106
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
107
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
108
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
109
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
110
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
111
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
112
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
113
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
114
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
115
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
116
+
117
+
118
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
119
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
120
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms)
121
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.6ms)
122
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (34.6ms)
123
+
124
+
125
+ Started GET "/cadinsor/api_keys/create.json" for 127.0.0.1 at 2014-01-15 18:46:22 +0530
126
+ Processing by Cadinsor::ApiKeysController#create as JSON
127
+ Parameters: {"responds"=>[:json, :xml]}
128
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'gMKbk3n7aZ1QVBV2kLI1JJ7RBk8NKmROTcRkwCXsq94' LIMIT 1
129
+  (0.1ms) begin transaction
130
+ SQL (63.5ms) INSERT INTO "cadinsor_api_keys" ("created_at", "key", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 13:16:22 UTC +00:00], ["key", "gMKbk3n7aZ1QVBV2kLI1JJ7RBk8NKmROTcRkwCXsq94"], ["updated_at", Wed, 15 Jan 2014 13:16:22 UTC +00:00]]
131
+  (111.8ms) commit transaction
132
+ Redirected to http://localhost:3000/cadinsor/api_keys/show.json?id=1
133
+ Completed 302 Found in 305ms (ActiveRecord: 176.2ms)
134
+
135
+
136
+ Started GET "/cadinsor/api_keys/show.json?id=1" for 127.0.0.1 at 2014-01-15 18:46:22 +0530
137
+ Processing by Cadinsor::ApiKeysController#show as JSON
138
+ Parameters: {"id"=>"1", "responds"=>[:json, :xml]}
139
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 1 LIMIT 1
140
+ Completed 500 Internal Server Error in 53ms
141
+
142
+ ActionView::MissingTemplate (Missing template cadinsor/api_keys/show, cadinsor/application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
143
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
144
+ * "/home/lewstherin/git/cadinsor/app/views"
145
+ ):
146
+ actionpack (4.0.2) lib/action_view/path_set.rb:46:in `find'
147
+ actionpack (4.0.2) lib/action_view/lookup_context.rb:122:in `find'
148
+ actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
149
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
150
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:8:in `render'
151
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
152
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:23:in `render'
153
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:127:in `_render_template'
154
+ actionpack (4.0.2) lib/action_controller/metal/streaming.rb:219:in `_render_template'
155
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:120:in `render_to_body'
156
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
157
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
158
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
159
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
160
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
161
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
162
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
163
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
164
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
165
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
166
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
167
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
168
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
169
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
170
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
171
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
172
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
173
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__954816275042357558__process_action__callbacks'
174
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
175
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
176
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
177
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
178
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
179
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
180
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
181
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
182
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
183
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
184
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
185
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
186
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
187
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
188
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
189
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
190
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
191
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
192
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
193
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
194
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
195
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
196
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
197
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
198
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
199
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
200
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
201
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
202
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
203
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
204
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
205
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
206
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
207
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
208
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
209
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
210
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
211
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
212
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
213
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
214
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2229485838720270692__call__callbacks'
215
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
216
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
217
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
218
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
219
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
220
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
221
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
222
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
223
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
224
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
225
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
226
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
227
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
228
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
229
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
230
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
231
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
232
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
233
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
234
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
235
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
236
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
237
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
238
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
239
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
240
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
241
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
242
+
243
+
244
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
245
+
246
+
247
+ Started GET "/temp_scaffs/" for 127.0.0.1 at 2014-01-15 18:48:05 +0530
248
+
249
+ ActionController::RoutingError (No route matches [GET] "/temp_scaffs"):
250
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
251
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
252
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
253
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
254
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
255
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
256
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
257
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
258
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
259
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
260
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
261
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
262
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
263
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
264
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
265
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
266
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
267
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
268
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
269
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
270
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
271
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
272
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
273
+
274
+
275
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
276
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
277
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
278
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
279
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (16.2ms)
280
+
281
+
282
+ Started GET "/cadinsor/api_keys/create.json" for 127.0.0.1 at 2014-01-15 18:48:15 +0530
283
+ Processing by Cadinsor::ApiKeysController#create as JSON
284
+ Parameters: {"responds"=>[:json, :xml]}
285
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'ewsEi2iZ9Zr_2uqlifTbzot3XeBHzGEeDgK-w2Yw-Rg' LIMIT 1
286
+  (0.2ms) begin transaction
287
+ SQL (0.8ms) INSERT INTO "cadinsor_api_keys" ("created_at", "key", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 13:18:15 UTC +00:00], ["key", "ewsEi2iZ9Zr_2uqlifTbzot3XeBHzGEeDgK-w2Yw-Rg"], ["updated_at", Wed, 15 Jan 2014 13:18:15 UTC +00:00]]
288
+  (167.7ms) commit transaction
289
+ Redirected to http://localhost:3000/cadinsor/api_keys/show.json?id=2
290
+ Completed 302 Found in 186ms (ActiveRecord: 169.6ms)
291
+
292
+
293
+ Started GET "/cadinsor/api_keys/show.json?id=2" for 127.0.0.1 at 2014-01-15 18:48:15 +0530
294
+ Processing by Cadinsor::ApiKeysController#show as JSON
295
+ Parameters: {"id"=>"2", "responds"=>[:json, :xml]}
296
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 2 LIMIT 1
297
+ Completed 500 Internal Server Error in 3ms
298
+
299
+ ActionView::MissingTemplate (Missing template cadinsor/api_keys/show, cadinsor/application/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
300
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
301
+ * "/home/lewstherin/git/cadinsor/app/views"
302
+ ):
303
+ actionpack (4.0.2) lib/action_view/path_set.rb:46:in `find'
304
+ actionpack (4.0.2) lib/action_view/lookup_context.rb:122:in `find'
305
+ actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
306
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:35:in `determine_template'
307
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:8:in `render'
308
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
309
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:23:in `render'
310
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:127:in `_render_template'
311
+ actionpack (4.0.2) lib/action_controller/metal/streaming.rb:219:in `_render_template'
312
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:120:in `render_to_body'
313
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
314
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
315
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
316
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
317
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
318
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
319
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
320
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
321
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
322
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
323
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
324
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
325
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
326
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
327
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
328
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
329
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
330
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__954816275042357558__process_action__callbacks'
331
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
332
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
333
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
334
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
335
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
336
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
337
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
338
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
339
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
340
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
341
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
342
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
343
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
344
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
345
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
346
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
347
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
348
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
349
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
350
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
351
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
352
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
353
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
354
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
355
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
356
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
357
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
358
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
359
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
360
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
361
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
362
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
363
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
364
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
365
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
366
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
367
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
368
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
369
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
370
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
371
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2229485838720270692__call__callbacks'
372
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
373
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
374
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
375
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
376
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
377
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
378
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
379
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
380
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
381
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
382
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
383
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
384
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
385
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
386
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
387
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
388
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
389
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
390
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
391
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
392
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
393
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
394
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
395
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
396
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
397
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
398
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
399
+
400
+
401
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
402
+
403
+
404
+ Started GET "/cadinsor/api_keys/create.xml" for 127.0.0.1 at 2014-01-15 18:58:08 +0530
405
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
406
+ Processing by Cadinsor::ApiKeysController#create as XML
407
+ Parameters: {"responds"=>[:json, :xml]}
408
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'IOnK55pcX8_JF7FrM9XNY_s5Xp7XN1UAnhCNhsLR_ug' LIMIT 1
409
+  (0.1ms) begin transaction
410
+ SQL (24.0ms) INSERT INTO "cadinsor_api_keys" ("created_at", "key", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 13:28:09 UTC +00:00], ["key", "IOnK55pcX8_JF7FrM9XNY_s5Xp7XN1UAnhCNhsLR_ug"], ["updated_at", Wed, 15 Jan 2014 13:28:09 UTC +00:00]]
411
+  (134.6ms) commit transaction
412
+ Redirected to http://localhost:3000/cadinsor/api_keys/show.xml?id=3
413
+ Completed 302 Found in 201ms (ActiveRecord: 159.6ms)
414
+
415
+
416
+ Started GET "/cadinsor/api_keys/show.xml?id=3" for 127.0.0.1 at 2014-01-15 18:58:09 +0530
417
+ Processing by Cadinsor::ApiKeysController#show as XML
418
+ Parameters: {"id"=>"3", "responds"=>[:json, :xml]}
419
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 3 LIMIT 1
420
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (62.5ms)
421
+ Completed 200 OK in 255ms (Views: 251.6ms | ActiveRecord: 0.4ms)
422
+
423
+
424
+ Started GET "/cadinsor/api_keys/show.xml?id=3" for 127.0.0.1 at 2014-01-15 18:59:05 +0530
425
+ Processing by Cadinsor::ApiKeysController#show as XML
426
+ Parameters: {"id"=>"3", "responds"=>[:json, :xml]}
427
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 3 LIMIT 1
428
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (1.7ms)
429
+ Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.4ms)
430
+
431
+
432
+ Started GET "/cadinsor/api_keys/show.xml?id=4" for 127.0.0.1 at 2014-01-15 18:59:24 +0530
433
+ Processing by Cadinsor::ApiKeysController#show as XML
434
+ Parameters: {"id"=>"4", "responds"=>[:json, :xml]}
435
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 4 LIMIT 1
436
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (0.7ms)
437
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms)
438
+
439
+
440
+ Started GET "/cadinsor/api_keys/show.xml?id=20" for 127.0.0.1 at 2014-01-15 18:59:29 +0530
441
+ Processing by Cadinsor::ApiKeysController#show as XML
442
+ Parameters: {"id"=>"20", "responds"=>[:json, :xml]}
443
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 20 LIMIT 1
444
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (0.6ms)
445
+ Completed 200 OK in 44ms (Views: 42.6ms | ActiveRecord: 0.2ms)
446
+
447
+
448
+ Started GET "/cadinsor/api_keys/show.xml?id=2" for 127.0.0.1 at 2014-01-15 18:59:31 +0530
449
+ Processing by Cadinsor::ApiKeysController#show as XML
450
+ Parameters: {"id"=>"2", "responds"=>[:json, :xml]}
451
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 2 LIMIT 1
452
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (1.4ms)
453
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.3ms)
454
+
455
+
456
+ Started GET "/cadinsor/api_keys/show.xml?id=2" for 127.0.0.1 at 2014-01-15 19:01:36 +0530
457
+
458
+ ActionController::RoutingError (No route matches [GET] "/cadinsor/api_keys/show.xml"):
459
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
460
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
461
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
462
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
463
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
464
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
465
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
466
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
467
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
468
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
469
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
470
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
471
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
472
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
473
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
474
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
475
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
476
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
477
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
478
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
479
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
480
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
481
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
482
+
483
+
484
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
485
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.7ms)
486
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
487
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.2ms)
488
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (60.1ms)
489
+
490
+
491
+ Started GET "/cadinsor/api_keys/create.json" for 127.0.0.1 at 2014-01-15 19:01:45 +0530
492
+ Processing by Cadinsor::ApiKeysController#create as JSON
493
+ Parameters: {"responds"=>[:json, :xml]}
494
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = '16_vFQZqY1gtdrpc4OA8FAOZhBaL3Sp60tUah9COQjo' LIMIT 1
495
+  (0.1ms) begin transaction
496
+ SQL (1.3ms) INSERT INTO "cadinsor_api_keys" ("created_at", "key", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 13:31:45 UTC +00:00], ["key", "16_vFQZqY1gtdrpc4OA8FAOZhBaL3Sp60tUah9COQjo"], ["updated_at", Wed, 15 Jan 2014 13:31:45 UTC +00:00]]
497
+  (135.2ms) commit transaction
498
+ Redirected to http://localhost:3000/cadinsor/api_keys/show.json?id=4
499
+ Completed 302 Found in 158ms (ActiveRecord: 137.5ms)
500
+
501
+
502
+ Started GET "/cadinsor/api_keys/show.json?id=4" for 127.0.0.1 at 2014-01-15 19:01:45 +0530
503
+
504
+ ActionController::RoutingError (No route matches [GET] "/cadinsor/api_keys/show.json"):
505
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
506
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
507
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
508
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
509
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
510
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
511
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
512
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
513
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
514
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
515
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
516
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
517
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
518
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
519
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
520
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
521
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
522
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
523
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
524
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
525
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
526
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
527
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
528
+
529
+
530
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
531
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
532
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
533
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
534
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (17.7ms)
535
+
536
+
537
+ Started GET "/cadinsor/api_keys/create.json" for 127.0.0.1 at 2014-01-15 19:02:33 +0530
538
+ Processing by Cadinsor::ApiKeysController#create as JSON
539
+ Parameters: {"responds"=>[:json, :xml]}
540
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
541
+  (0.1ms) begin transaction
542
+ SQL (0.4ms) INSERT INTO "cadinsor_api_keys" ("created_at", "key", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 13:32:33 UTC +00:00], ["key", "LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"], ["updated_at", Wed, 15 Jan 2014 13:32:33 UTC +00:00]]
543
+  (126.7ms) commit transaction
544
+ Redirected to http://localhost:3000/cadinsor/api_keys/show.json?id=5&method=post
545
+ Completed 302 Found in 142ms (ActiveRecord: 128.1ms)
546
+
547
+
548
+ Started GET "/cadinsor/api_keys/show.json?id=5&method=post" for 127.0.0.1 at 2014-01-15 19:02:33 +0530
549
+
550
+ ActionController::RoutingError (No route matches [GET] "/cadinsor/api_keys/show.json"):
551
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
552
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
553
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
554
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
555
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
556
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
557
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
558
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
559
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
560
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
561
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
562
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
563
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
564
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
565
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
566
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
567
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
568
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
569
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
570
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
571
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
572
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
573
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
574
+
575
+
576
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
577
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
578
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms)
579
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms)
580
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (16.2ms)
581
+
582
+
583
+ Started GET "/cadinsor/api_keys/show.json?id=5" for 127.0.0.1 at 2014-01-15 19:04:38 +0530
584
+ Processing by Cadinsor::ApiKeysController#show as JSON
585
+ Parameters: {"id"=>"5", "responds"=>[:json, :xml]}
586
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."id" = 5 LIMIT 1
587
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (23.1ms)
588
+ Completed 200 OK in 78ms (Views: 25.8ms | ActiveRecord: 0.9ms)
589
+
590
+
591
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 19:04:53 +0530
592
+ Processing by Cadinsor::ApiKeysController#show as JSON
593
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
594
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
595
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (0.9ms)
596
+ Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.4ms)
597
+
598
+
599
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 19:06:23 +0530
600
+ Processing by Cadinsor::ApiKeysController#show as JSON
601
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
602
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
603
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (17.9ms)
604
+ Completed 200 OK in 31ms (Views: 20.7ms | ActiveRecord: 0.8ms)
605
+
606
+
607
+ Started GET "/cadinsor/api_keys/create.xml" for 127.0.0.1 at 2014-01-15 19:07:07 +0530
608
+ Processing by Cadinsor::ApiKeysController#create as XML
609
+ Parameters: {"responds"=>[:json, :xml]}
610
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'JM2H2DZVuaroJGk1WoAv4IAQez4Lo6i6gD94QaEYJFM' LIMIT 1
611
+  (0.1ms) begin transaction
612
+ SQL (0.5ms) INSERT INTO "cadinsor_api_keys" ("created_at", "key", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 15 Jan 2014 13:37:07 UTC +00:00], ["key", "JM2H2DZVuaroJGk1WoAv4IAQez4Lo6i6gD94QaEYJFM"], ["updated_at", Wed, 15 Jan 2014 13:37:07 UTC +00:00]]
613
+  (154.7ms) commit transaction
614
+ Redirected to http://localhost:3000/cadinsor/api_keys/show.xml?key=JM2H2DZVuaroJGk1WoAv4IAQez4Lo6i6gD94QaEYJFM
615
+ Completed 302 Found in 161ms (ActiveRecord: 155.5ms)
616
+
617
+
618
+ Started GET "/cadinsor/api_keys/show.xml?key=JM2H2DZVuaroJGk1WoAv4IAQez4Lo6i6gD94QaEYJFM" for 127.0.0.1 at 2014-01-15 19:07:07 +0530
619
+ Processing by Cadinsor::ApiKeysController#show as XML
620
+ Parameters: {"key"=>"JM2H2DZVuaroJGk1WoAv4IAQez4Lo6i6gD94QaEYJFM", "responds"=>[:json, :xml]}
621
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'JM2H2DZVuaroJGk1WoAv4IAQez4Lo6i6gD94QaEYJFM' LIMIT 1
622
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (1.5ms)
623
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.3ms)
624
+
625
+
626
+ Started GET "/cadinsor_tests/do_not_check" for 127.0.0.1 at 2014-01-15 19:10:00 +0530
627
+
628
+ RuntimeError (You should not use the `match` method in your router without specifying an HTTP method.
629
+ If you want to expose your action to both GET and POST, add `via: [:get, :post]` option.
630
+ If you want to expose your action to GET, use `get` in the router:
631
+ Instead of: match "controller#action"
632
+ Do: get "controller#action"):
633
+ config/routes.rb:3:in `block in <top (required)>'
634
+ config/routes.rb:1:in `<top (required)>'
635
+
636
+
637
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
638
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
639
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
640
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.3ms)
641
+
642
+
643
+ Started GET "/cadinsor_tests/do_not_check" for 127.0.0.1 at 2014-01-15 19:10:24 +0530
644
+ Processing by CadinsorTestsController#do_not_check as HTML
645
+ Completed 406 Not Acceptable in 1ms
646
+
647
+ ActionController::UnknownFormat (ActionController::UnknownFormat):
648
+ app/controllers/cadinsor_tests_controller.rb:21:in `do_not_check'
649
+
650
+
651
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
652
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
653
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (73.0ms)
654
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (85.1ms)
655
+
656
+
657
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
658
+ Processing by CadinsorTestsController#do_not_check as JSON
659
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
660
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
661
+
662
+
663
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
664
+ Processing by CadinsorTestsController#do_not_check as JSON
665
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
666
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
667
+
668
+
669
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
670
+ Processing by CadinsorTestsController#do_not_check as JSON
671
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
672
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
673
+
674
+
675
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
676
+ Processing by CadinsorTestsController#do_not_check as JSON
677
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
678
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
679
+
680
+
681
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
682
+ Processing by CadinsorTestsController#do_not_check as JSON
683
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
684
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
685
+
686
+
687
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
688
+ Processing by CadinsorTestsController#do_not_check as JSON
689
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
690
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
691
+
692
+
693
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
694
+ Processing by CadinsorTestsController#do_not_check as JSON
695
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
696
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
697
+
698
+
699
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
700
+ Processing by CadinsorTestsController#do_not_check as JSON
701
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
702
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
703
+
704
+
705
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
706
+ Processing by CadinsorTestsController#do_not_check as JSON
707
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
708
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
709
+
710
+
711
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:31 +0530
712
+ Processing by CadinsorTestsController#do_not_check as JSON
713
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
714
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
715
+
716
+
717
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
718
+ Processing by CadinsorTestsController#do_not_check as JSON
719
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
720
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
721
+
722
+
723
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
724
+ Processing by CadinsorTestsController#do_not_check as JSON
725
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
726
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
727
+
728
+
729
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
730
+ Processing by CadinsorTestsController#do_not_check as JSON
731
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
732
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
733
+
734
+
735
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
736
+ Processing by CadinsorTestsController#do_not_check as JSON
737
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
738
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
739
+
740
+
741
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
742
+ Processing by CadinsorTestsController#do_not_check as JSON
743
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
744
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
745
+
746
+
747
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
748
+ Processing by CadinsorTestsController#do_not_check as JSON
749
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
750
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
751
+
752
+
753
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
754
+ Processing by CadinsorTestsController#do_not_check as JSON
755
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
756
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
757
+
758
+
759
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
760
+ Processing by CadinsorTestsController#do_not_check as JSON
761
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
762
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
763
+
764
+
765
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
766
+ Processing by CadinsorTestsController#do_not_check as JSON
767
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
768
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
769
+
770
+
771
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
772
+ Processing by CadinsorTestsController#do_not_check as JSON
773
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
774
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
775
+
776
+
777
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:10:32 +0530
778
+ Processing by CadinsorTestsController#do_not_check as JSON
779
+ Redirected to http://localhost:3000/cadinsor_tests/do_not_check.json
780
+ Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
781
+
782
+
783
+ Started GET "/cadinsor_tests/do_not_check.json" for 127.0.0.1 at 2014-01-15 19:11:14 +0530
784
+ Processing by CadinsorTestsController#do_not_check as JSON
785
+ Rendered cadinsor_tests/do_not_check.rabl (1.5ms)
786
+ Completed 200 OK in 49ms (Views: 48.0ms | ActiveRecord: 0.0ms)
787
+
788
+
789
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:11:25 +0530
790
+ Processing by CadinsorTestsController#default_check as JSON
791
+ Completed 500 Internal Server Error in 2ms
792
+
793
+ NameError (undefined local variable or method `protect_with_cadinsor' for #<CadinsorTestsController:0x00000002aff940>):
794
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__899872244830542594__process_action__callbacks'
795
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
796
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
797
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
798
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
799
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
800
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
801
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
802
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
803
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
804
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
805
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
806
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
807
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
808
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
809
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
810
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
811
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
812
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
813
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
814
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
815
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
816
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
817
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
818
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
819
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
820
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
821
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
822
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
823
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
824
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
825
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
826
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
827
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
828
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
829
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3938654999618638343__call__callbacks'
830
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
831
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
832
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
833
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
834
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
835
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
836
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
837
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
838
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
839
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
840
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
841
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
842
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
843
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
844
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
845
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
846
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
847
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
848
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
849
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
850
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
851
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
852
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
853
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
854
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
855
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
856
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
857
+
858
+
859
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
860
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
861
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
862
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.9ms)
863
+
864
+
865
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:14:37 +0530
866
+ Processing by CadinsorTestsController#default_check as JSON
867
+ Completed 500 Internal Server Error in 3ms
868
+
869
+ ActionView::MissingTemplate (Missing template cadinsor_tests/cadinsor_error_response, application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
870
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
871
+ * "/home/lewstherin/git/cadinsor/app/views"
872
+ ):
873
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
874
+
875
+
876
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)
877
+
878
+
879
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:16:15 +0530
880
+ Processing by CadinsorTestsController#default_check as JSON
881
+ Completed 500 Internal Server Error in 2ms
882
+
883
+ ActionView::MissingTemplate (Missing template cadinsor_tests/cadinsor_error_response, application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
884
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
885
+ * "/home/lewstherin/git/cadinsor/app/views"
886
+ ):
887
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
888
+
889
+
890
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)
891
+
892
+
893
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:16:48 +0530
894
+ Processing by CadinsorTestsController#default_check as JSON
895
+ Completed 500 Internal Server Error in 2ms
896
+
897
+ ActionView::MissingTemplate (Missing template cadinsor_tests/cadinsor_error_response, application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
898
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
899
+ * "/home/lewstherin/git/cadinsor/app/views"
900
+ ):
901
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
902
+
903
+
904
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.9ms)
905
+
906
+
907
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:16:52 +0530
908
+ Processing by CadinsorTestsController#default_check as JSON
909
+ Completed 500 Internal Server Error in 2ms
910
+
911
+ ActionView::MissingTemplate (Missing template cadinsor_tests/cadinsor_error_response, application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
912
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
913
+ * "/home/lewstherin/git/cadinsor/app/views"
914
+ ):
915
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
916
+
917
+
918
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)
919
+
920
+
921
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:17:07 +0530
922
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
923
+ Processing by CadinsorTestsController#default_check as JSON
924
+ Completed 500 Internal Server Error in 43ms
925
+
926
+ ActionView::MissingTemplate (Missing template application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
927
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
928
+ * "/home/lewstherin/git/cadinsor/app/views"
929
+ * "/home/lewstherin/git/cadinsor/test/dummy"
930
+ * "/"
931
+ ):
932
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
933
+
934
+
935
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.7ms)
936
+
937
+
938
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:18:17 +0530
939
+ Processing by CadinsorTestsController#default_check as JSON
940
+ Completed 500 Internal Server Error in 4ms
941
+
942
+ ActionView::MissingTemplate (Missing template application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
943
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
944
+ * "/home/lewstherin/git/cadinsor/app/views"
945
+ * "/home/lewstherin/git/cadinsor/test/dummy"
946
+ * "/"
947
+ ):
948
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
949
+
950
+
951
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.8ms)
952
+
953
+
954
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:18:26 +0530
955
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
956
+ Processing by CadinsorTestsController#default_check as JSON
957
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (1.6ms)
958
+ Completed 200 OK in 36ms (Views: 35.5ms | ActiveRecord: 0.0ms)
959
+
960
+
961
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:21:36 +0530
962
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
963
+ Processing by CadinsorTestsController#default_check as JSON
964
+ Completed 500 Internal Server Error in 6ms
965
+
966
+ ActionView::MissingTemplate (Missing template cadinsor_tests/cadinsor_error_response, application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
967
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
968
+ * "/home/lewstherin/git/cadinsor/app/views"
969
+ ):
970
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
971
+
972
+
973
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.4ms)
974
+
975
+
976
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:22:10 +0530
977
+ Processing by CadinsorTestsController#default_check as JSON
978
+ Completed 500 Internal Server Error in 4ms
979
+
980
+ ActionView::MissingTemplate (Missing template cadinsor_tests/cadinsor_error_response, application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
981
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
982
+ * "/home/lewstherin/git/cadinsor/app/views"
983
+ ):
984
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
985
+
986
+
987
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)
988
+
989
+
990
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:22:16 +0530
991
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
992
+ Processing by CadinsorTestsController#default_check as JSON
993
+ Completed 500 Internal Server Error in 6ms
994
+
995
+ ActionView::MissingTemplate (Missing template cadinsor_tests/cadinsor_error_response, application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
996
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
997
+ * "/home/lewstherin/git/cadinsor/app/views"
998
+ ):
999
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
1000
+
1001
+
1002
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.5ms)
1003
+
1004
+
1005
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:23:11 +0530
1006
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1007
+ Processing by CadinsorTestsController#default_check as JSON
1008
+ Completed 500 Internal Server Error in 6ms
1009
+
1010
+ ActionView::MissingTemplate (Missing template cadinsor_tests/application/cadinsor_error_response, application/application/cadinsor_error_response with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in:
1011
+ * "/home/lewstherin/git/cadinsor/test/dummy/app/views"
1012
+ * "/home/lewstherin/git/cadinsor/app/views"
1013
+ ):
1014
+ config/initializers/cadinsor.rb:27:in `block in <class:ApplicationController>'
1015
+
1016
+
1017
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.3ms)
1018
+
1019
+
1020
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:25:02 +0530
1021
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1022
+ Processing by CadinsorTestsController#default_check as JSON
1023
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.9ms)
1024
+ Completed 200 OK in 25ms (Views: 23.7ms | ActiveRecord: 0.0ms)
1025
+
1026
+
1027
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 19:26:55 +0530
1028
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1029
+ Processing by CadinsorTestsController#default_check as JSON
1030
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (1.0ms)
1031
+ Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)
1032
+
1033
+
1034
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:41:13 +0530
1035
+ Processing by Cadinsor::ApiKeysController#show as JSON
1036
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1037
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1038
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (101.7ms)
1039
+ Completed 500 Internal Server Error in 278ms
1040
+
1041
+ ActionView::Template::Error (undefined method `key_expiry_in_mins' for #<Rails::Engine::Configuration:0x00000002a30848>):
1042
+ 1: object @key
1043
+ 2: if !@key
1044
+ 3: node(:status) {"Error."}
1045
+ 4: node(:errors) {"No valid key found with id: " + params[:id].to_s}
1046
+ 5: else
1047
+ railties (4.0.2) lib/rails/railtie/configuration.rb:95:in `method_missing'
1048
+ /home/lewstherin/git/cadinsor/app/models/cadinsor/api_key.rb:14:in `expired?'
1049
+ (eval):9:in `block in render'
1050
+ rabl (0.9.3) lib/rabl/builder.rb:96:in `call'
1051
+ rabl (0.9.3) lib/rabl/builder.rb:96:in `node'
1052
+ rabl (0.9.3) lib/rabl/builder.rb:71:in `block in update_settings'
1053
+ rabl (0.9.3) lib/rabl/builder.rb:70:in `each'
1054
+ rabl (0.9.3) lib/rabl/builder.rb:70:in `update_settings'
1055
+ rabl (0.9.3) lib/rabl/builder.rb:41:in `compile_hash'
1056
+ rabl (0.9.3) lib/rabl/builder.rb:28:in `block in build'
1057
+ rabl (0.9.3) lib/rabl/builder.rb:196:in `cache_results'
1058
+ rabl (0.9.3) lib/rabl/builder.rb:27:in `build'
1059
+ rabl (0.9.3) lib/rabl/engine.rb:51:in `to_hash'
1060
+ rabl (0.9.3) lib/rabl/engine.rb:63:in `to_json'
1061
+ rabl (0.9.3) lib/rabl/engine.rb:39:in `block in render'
1062
+ rabl (0.9.3) lib/rabl/engine.rb:285:in `cache_results'
1063
+ rabl (0.9.3) lib/rabl/engine.rb:39:in `render'
1064
+ /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl:2:in `__home_lewstherin_git_cadinsor_app_views_cadinsor_api_keys_show_rabl__1336920788923579651_30371200'
1065
+ actionpack (4.0.2) lib/action_view/template.rb:143:in `block in render'
1066
+ activesupport (4.0.2) lib/active_support/notifications.rb:161:in `instrument'
1067
+ actionpack (4.0.2) lib/action_view/template.rb:141:in `render'
1068
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
1069
+ actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1070
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1071
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1072
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1073
+ actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1074
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
1075
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
1076
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
1077
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:17:in `render'
1078
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
1079
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:23:in `render'
1080
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:127:in `_render_template'
1081
+ actionpack (4.0.2) lib/action_controller/metal/streaming.rb:219:in `_render_template'
1082
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:120:in `render_to_body'
1083
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
1084
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
1085
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
1086
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
1087
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
1088
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
1089
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
1090
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
1091
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
1092
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
1093
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
1094
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
1095
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
1096
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
1097
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
1098
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
1099
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1100
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__4444344735624309044__process_action__callbacks'
1101
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1102
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1103
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1104
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1105
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1106
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1107
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1108
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1109
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1110
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1111
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1112
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1113
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1114
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1115
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1116
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1117
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1118
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1119
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1120
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1121
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1122
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1123
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1124
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
1125
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1126
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1127
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1128
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1129
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1130
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1131
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1132
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1133
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1134
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1135
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1136
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1137
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1138
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1139
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1140
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1141
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2714121023278322260__call__callbacks'
1142
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1143
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1144
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1145
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1146
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1147
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1148
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1149
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1150
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1151
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1152
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1153
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1154
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1155
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1156
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1157
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1158
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1159
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1160
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1161
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1162
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1163
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1164
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1165
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1166
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1167
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1168
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1169
+
1170
+
1171
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1172
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (217.7ms)
1173
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (231.4ms)
1174
+
1175
+
1176
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:42:51 +0530
1177
+ Processing by Cadinsor::ApiKeysController#show as JSON
1178
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1179
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1180
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (61.5ms)
1181
+ Completed 200 OK in 67ms (Views: 64.7ms | ActiveRecord: 0.4ms)
1182
+
1183
+
1184
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:43:37 +0530
1185
+ Processing by Cadinsor::ApiKeysController#show as JSON
1186
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1187
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1188
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (2.7ms)
1189
+ Completed 500 Internal Server Error in 8ms
1190
+
1191
+ ActionView::Template::Error (undefined method `key_expiry_in_mins' for #<Rails::Engine::Configuration:0x00000002a30848>):
1192
+ 1: object @key
1193
+ 2: if !@key
1194
+ 3: node(:status) {"Error."}
1195
+ 4: node(:errors) {"No valid key found with id: " + params[:id].to_s}
1196
+ 5: else
1197
+ railties (4.0.2) lib/rails/railtie/configuration.rb:95:in `method_missing'
1198
+ /home/lewstherin/git/cadinsor/app/models/cadinsor/api_key.rb:14:in `expired?'
1199
+ (eval):9:in `block in render'
1200
+ rabl (0.9.3) lib/rabl/builder.rb:96:in `call'
1201
+ rabl (0.9.3) lib/rabl/builder.rb:96:in `node'
1202
+ rabl (0.9.3) lib/rabl/builder.rb:71:in `block in update_settings'
1203
+ rabl (0.9.3) lib/rabl/builder.rb:70:in `each'
1204
+ rabl (0.9.3) lib/rabl/builder.rb:70:in `update_settings'
1205
+ rabl (0.9.3) lib/rabl/builder.rb:41:in `compile_hash'
1206
+ rabl (0.9.3) lib/rabl/builder.rb:28:in `block in build'
1207
+ rabl (0.9.3) lib/rabl/builder.rb:196:in `cache_results'
1208
+ rabl (0.9.3) lib/rabl/builder.rb:27:in `build'
1209
+ rabl (0.9.3) lib/rabl/engine.rb:51:in `to_hash'
1210
+ rabl (0.9.3) lib/rabl/engine.rb:63:in `to_json'
1211
+ rabl (0.9.3) lib/rabl/engine.rb:39:in `block in render'
1212
+ rabl (0.9.3) lib/rabl/engine.rb:285:in `cache_results'
1213
+ rabl (0.9.3) lib/rabl/engine.rb:39:in `render'
1214
+ /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl:2:in `__home_lewstherin_git_cadinsor_app_views_cadinsor_api_keys_show_rabl__1336920788923579651_70315527490080'
1215
+ actionpack (4.0.2) lib/action_view/template.rb:143:in `block in render'
1216
+ activesupport (4.0.2) lib/active_support/notifications.rb:161:in `instrument'
1217
+ actionpack (4.0.2) lib/action_view/template.rb:141:in `render'
1218
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
1219
+ actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
1220
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1221
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1222
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1223
+ actionpack (4.0.2) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
1224
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
1225
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
1226
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
1227
+ actionpack (4.0.2) lib/action_view/renderer/template_renderer.rb:17:in `render'
1228
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:42:in `render_template'
1229
+ actionpack (4.0.2) lib/action_view/renderer/renderer.rb:23:in `render'
1230
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:127:in `_render_template'
1231
+ actionpack (4.0.2) lib/action_controller/metal/streaming.rb:219:in `_render_template'
1232
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:120:in `render_to_body'
1233
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
1234
+ actionpack (4.0.2) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
1235
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:97:in `render'
1236
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:16:in `render'
1237
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
1238
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
1239
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
1240
+ activesupport (4.0.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
1241
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
1242
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
1243
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
1244
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:40:in `render'
1245
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
1246
+ actionpack (4.0.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
1247
+ actionpack (4.0.2) lib/abstract_controller/base.rb:189:in `process_action'
1248
+ actionpack (4.0.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
1249
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
1250
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__4444344735624309044__process_action__callbacks'
1251
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1252
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1253
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1254
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1255
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1256
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1257
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1258
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1259
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1260
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1261
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1262
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1263
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1264
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1265
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1266
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1267
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1268
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1269
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1270
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1271
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1272
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1273
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1274
+ railties (4.0.2) lib/rails/railtie/configurable.rb:30:in `method_missing'
1275
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1276
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1277
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1278
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1279
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1280
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1281
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1282
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1283
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1284
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1285
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1286
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1287
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1288
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1289
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1290
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1291
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2714121023278322260__call__callbacks'
1292
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1293
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1294
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1295
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1296
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1297
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1298
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1299
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1300
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1301
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1302
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1303
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1304
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1305
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1306
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1307
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1308
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1309
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1310
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1311
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1312
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1313
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1314
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1315
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1316
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1317
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1318
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1319
+
1320
+
1321
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1322
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
1323
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.4ms)
1324
+
1325
+
1326
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:44:41 +0530
1327
+ Processing by Cadinsor::ApiKeysController#show as JSON
1328
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1329
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1330
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (1.7ms)
1331
+ Completed 200 OK in 15ms (Views: 4.4ms | ActiveRecord: 0.8ms)
1332
+
1333
+
1334
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:45:19 +0530
1335
+ Processing by Cadinsor::ApiKeysController#show as JSON
1336
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1337
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1338
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (1.3ms)
1339
+ Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 0.3ms)
1340
+
1341
+
1342
+ Started GET "/cadinsor/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:45:38 +0530
1343
+ Processing by Cadinsor::ApiKeysController#show as XML
1344
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1345
+ Cadinsor::ApiKey Load (0.5ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1346
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (85.9ms)
1347
+ Completed 200 OK in 94ms (Views: 90.7ms | ActiveRecord: 0.5ms)
1348
+
1349
+
1350
+ Started GET "/cadinsor/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:46:34 +0530
1351
+ Processing by Cadinsor::ApiKeysController#show as XML
1352
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1353
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1354
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (1.5ms)
1355
+ Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.4ms)
1356
+
1357
+
1358
+ Started GET "/cadinsor/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:47:07 +0530
1359
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1360
+ Processing by Cadinsor::ApiKeysController#show as XML
1361
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1362
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1363
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (7.3ms)
1364
+ Completed 200 OK in 32ms (Views: 19.5ms | ActiveRecord: 0.6ms)
1365
+
1366
+
1367
+ Started GET "/cadinsor/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:47:36 +0530
1368
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1369
+ Processing by Cadinsor::ApiKeysController#show as XML
1370
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1371
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1372
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (8.2ms)
1373
+ Completed 200 OK in 29ms (Views: 13.9ms | ActiveRecord: 0.7ms)
1374
+
1375
+
1376
+ Started GET "/cadinsor/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 21:48:57 +0530
1377
+ Processing by Cadinsor::ApiKeysController#show as XML
1378
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1379
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1380
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (37.3ms)
1381
+ Completed 200 OK in 52ms (Views: 40.1ms | ActiveRecord: 0.7ms)
1382
+
1383
+
1384
+ Started GET "/cad/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 22:25:27 +0530
1385
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1386
+
1387
+ ActionController::RoutingError (No route matches [GET] "/cad/api_keys/show.xml"):
1388
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1389
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1390
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1391
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1392
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1393
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1394
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1395
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1396
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1397
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1398
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1399
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1400
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1401
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1402
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1403
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1404
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1405
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1406
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1407
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1408
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1409
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1410
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1411
+
1412
+
1413
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
1414
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.8ms)
1415
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms)
1416
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.0ms)
1417
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (38.1ms)
1418
+
1419
+
1420
+ Started GET "/cad/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 22:26:15 +0530
1421
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1422
+
1423
+ ActionController::RoutingError (No route matches [GET] "/cad/api_keys/show.xml"):
1424
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1425
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1426
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1427
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1428
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1429
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1430
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1431
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1432
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1433
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1434
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1435
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1436
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1437
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1438
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1439
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1440
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1441
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1442
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1443
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1444
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1445
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1446
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1447
+
1448
+
1449
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
1450
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
1451
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.2ms)
1452
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (18.6ms)
1453
+
1454
+
1455
+ Started GET "/cad/api_keys/show.xml?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 22:36:21 +0530
1456
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1457
+
1458
+ ActionController::RoutingError (No route matches [GET] "/cad/api_keys/show.xml"):
1459
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1460
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1461
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1462
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1463
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1464
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1465
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1466
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1467
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1468
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1469
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1470
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1471
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1472
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1473
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1474
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1475
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1476
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1477
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1478
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1479
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1480
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1481
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1482
+
1483
+
1484
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
1485
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
1486
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.0ms)
1487
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (29.4ms)
1488
+
1489
+
1490
+ Started GET "/" for 127.0.0.1 at 2014-01-15 23:58:05 +0530
1491
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1492
+ Processing by Rails::WelcomeController#index as HTML
1493
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.2/lib/rails/templates/rails/welcome/index.html.erb (4.3ms)
1494
+ Completed 200 OK in 52ms (Views: 51.1ms | ActiveRecord: 0.0ms)
1495
+
1496
+
1497
+ Started GET "/cadinsor_tests/default_check.json" for 127.0.0.1 at 2014-01-15 23:58:20 +0530
1498
+ Processing by CadinsorTestsController#default_check as JSON
1499
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.9ms)
1500
+ Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.0ms)
1501
+
1502
+
1503
+ Started GET "/cadinsor/api_keys/show.json?key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-15 23:58:59 +0530
1504
+ Processing by Cadinsor::ApiKeysController#show as JSON
1505
+ Parameters: {"key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "responds"=>[:json, :xml]}
1506
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1507
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/api_keys/show.rabl (71.5ms)
1508
+ Completed 200 OK in 153ms (Views: 89.5ms | ActiveRecord: 0.8ms)
1509
+
1510
+
1511
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:01:08 +0530
1512
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1513
+ Processing by CadinsorTestsController#default_check as JSON
1514
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1515
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (18.1ms)
1516
+ Completed 200 OK in 47ms (Views: 46.3ms | ActiveRecord: 0.0ms)
1517
+
1518
+
1519
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&api_key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:01:41 +0530
1520
+ Processing by CadinsorTestsController#default_check as JSON
1521
+ Parameters: {"id"=>"1", "random"=>"22abc", "api_key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1522
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.9ms)
1523
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
1524
+
1525
+
1526
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:02:18 +0530
1527
+ Processing by CadinsorTestsController#default_check as JSON
1528
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1529
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.4ms)
1530
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
1531
+
1532
+
1533
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:03:18 +0530
1534
+ Processing by CadinsorTestsController#default_check as JSON
1535
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1536
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.3ms)
1537
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
1538
+
1539
+
1540
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:03:54 +0530
1541
+ Processing by CadinsorTestsController#default_check as JSON
1542
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1543
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.6ms)
1544
+ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
1545
+
1546
+
1547
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:04:27 +0530
1548
+ Processing by CadinsorTestsController#default_check as JSON
1549
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1550
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.7ms)
1551
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
1552
+
1553
+
1554
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:04:40 +0530
1555
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1556
+ Processing by CadinsorTestsController#default_check as JSON
1557
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1558
+ Completed 500 Internal Server Error in 1ms
1559
+
1560
+ RuntimeError (--- :key
1561
+ ...
1562
+ ):
1563
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:8:in `check_request_with_cadinsor'
1564
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__4601179474988900117__process_action__callbacks'
1565
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1566
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1567
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1568
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1569
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1570
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1571
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1572
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1573
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1574
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1575
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1576
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1577
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1578
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1579
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1580
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1581
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1582
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1583
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1584
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1585
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1586
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1587
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1588
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1589
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1590
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1591
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1592
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1593
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1594
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1595
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1596
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1597
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1598
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1599
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__871786306086154129__call__callbacks'
1600
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1601
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1602
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1603
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1604
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1605
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1606
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1607
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1608
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1609
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1610
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1611
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1612
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1613
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1614
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1615
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1616
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1617
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1618
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1619
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1620
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1621
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1622
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1623
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1624
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1625
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1626
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1627
+
1628
+
1629
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.1ms)
1630
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.0ms)
1631
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (74.1ms)
1632
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (97.7ms)
1633
+
1634
+
1635
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:05:15 +0530
1636
+ Processing by CadinsorTestsController#default_check as JSON
1637
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1638
+ Completed 500 Internal Server Error in 1ms
1639
+
1640
+ RuntimeError (--- :key
1641
+ ...
1642
+ ):
1643
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:8:in `check_request_with_cadinsor'
1644
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__4601179474988900117__process_action__callbacks'
1645
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1646
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1647
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1648
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1649
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1650
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1651
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1652
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1653
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1654
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1655
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1656
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1657
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1658
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1659
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1660
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1661
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1662
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1663
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1664
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1665
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1666
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1667
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1668
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1669
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1670
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1671
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1672
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1673
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1674
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1675
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1676
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1677
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1678
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1679
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__871786306086154129__call__callbacks'
1680
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1681
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1682
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1683
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1684
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1685
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1686
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1687
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1688
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1689
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1690
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1691
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1692
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1693
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1694
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1695
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1696
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1697
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1698
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1699
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1700
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1701
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1702
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1703
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1704
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1705
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1706
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1707
+
1708
+
1709
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
1710
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
1711
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
1712
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.4ms)
1713
+
1714
+
1715
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:05:29 +0530
1716
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1717
+ Processing by CadinsorTestsController#default_check as JSON
1718
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1719
+ Completed 500 Internal Server Error in 1ms
1720
+
1721
+ RuntimeError (---
1722
+ ...
1723
+ ):
1724
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:8:in `check_request_with_cadinsor'
1725
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__580274938611288668__process_action__callbacks'
1726
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1727
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1728
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1729
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1730
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1731
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1732
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1733
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1734
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1735
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1736
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1737
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1738
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1739
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1740
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1741
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1742
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1743
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1744
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1745
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1746
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1747
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1748
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1749
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1750
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1751
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1752
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1753
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1754
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1755
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1756
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1757
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1758
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1759
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1760
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__295183625094841979__call__callbacks'
1761
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1762
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1763
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1764
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1765
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1766
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1767
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1768
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1769
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1770
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1771
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1772
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1773
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1774
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1775
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1776
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1777
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1778
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1779
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1780
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1781
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1782
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1783
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1784
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1785
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1786
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1787
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1788
+
1789
+
1790
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
1791
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
1792
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (20.2ms)
1793
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (35.1ms)
1794
+
1795
+
1796
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:09:01 +0530
1797
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1798
+ Processing by CadinsorTestsController#default_check as JSON
1799
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1800
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1801
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.8ms)
1802
+ Completed 200 OK in 76ms (Views: 6.2ms | ActiveRecord: 1.3ms)
1803
+
1804
+
1805
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY" for 127.0.0.1 at 2014-01-16 00:09:34 +0530
1806
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1807
+ Processing by CadinsorTestsController#default_check as JSON
1808
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY"}
1809
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1810
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (1.0ms)
1811
+ Completed 200 OK in 25ms (Views: 7.5ms | ActiveRecord: 0.7ms)
1812
+
1813
+
1814
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1" for 127.0.0.1 at 2014-01-16 00:09:44 +0530
1815
+ Processing by CadinsorTestsController#default_check as JSON
1816
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1"}
1817
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1818
+ Completed 500 Internal Server Error in 29ms
1819
+
1820
+ LoadError (Unable to autoload constant Cadinsor::ClientAPP, expected /home/lewstherin/git/cadinsor/app/models/cadinsor/client_app.rb to define it):
1821
+ activesupport (4.0.2) lib/active_support/dependencies.rb:464:in `load_missing_constant'
1822
+ activesupport (4.0.2) lib/active_support/dependencies.rb:184:in `const_missing'
1823
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:45:in `cadinsor_validate_app'
1824
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:11:in `check_request_with_cadinsor'
1825
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__2858517360747896509__process_action__callbacks'
1826
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1827
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1828
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1829
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1830
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1831
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1832
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1833
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1834
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1835
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1836
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1837
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1838
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1839
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1840
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1841
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1842
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1843
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1844
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1845
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1846
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1847
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1848
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1849
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1850
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1851
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1852
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1853
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1854
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1855
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1856
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1857
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1858
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1859
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1860
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__3297917663449234889__call__callbacks'
1861
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1862
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1863
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1864
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1865
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1866
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1867
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1868
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1869
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1870
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1871
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1872
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1873
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1874
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1875
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1876
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1877
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1878
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1879
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1880
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1881
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1882
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1883
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1884
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1885
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1886
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1887
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1888
+
1889
+
1890
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
1891
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
1892
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (83.5ms)
1893
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (104.6ms)
1894
+
1895
+
1896
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1" for 127.0.0.1 at 2014-01-16 00:10:38 +0530
1897
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1898
+ Processing by CadinsorTestsController#default_check as JSON
1899
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1"}
1900
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1901
+ Cadinsor::ClientApp Load (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
1902
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.8ms)
1903
+ Completed 200 OK in 23ms (Views: 6.3ms | ActiveRecord: 1.2ms)
1904
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = '1VMCsDYwipAppjjtr2km8pDARS1kTkstjtFgWIu_a5Q' LIMIT 1
1905
+  (0.3ms) begin transaction
1906
+ Cadinsor::ClientApp Exists (0.3ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."name" IS NULL LIMIT 1
1907
+ Cadinsor::ClientApp Exists (0.3ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = '1VMCsDYwipAppjjtr2km8pDARS1kTkstjtFgWIu_a5Q' LIMIT 1
1908
+  (0.2ms) rollback transaction
1909
+  (0.2ms) begin transaction
1910
+ Cadinsor::ClientApp Exists (0.2ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."name" = 'alpha' LIMIT 1
1911
+ Cadinsor::ClientApp Exists (0.1ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'blah' LIMIT 1
1912
+ SQL (78.8ms) INSERT INTO "cadinsor_client_apps" ("created_at", "name", "secret", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 18:43:30 UTC +00:00], ["name", "alpha"], ["secret", "blah"], ["updated_at", Wed, 15 Jan 2014 18:43:30 UTC +00:00]]
1913
+  (150.7ms) commit transaction
1914
+
1915
+
1916
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1" for 127.0.0.1 at 2014-01-16 00:13:47 +0530
1917
+ Processing by CadinsorTestsController#default_check as JSON
1918
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1"}
1919
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
1920
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
1921
+ Completed 500 Internal Server Error in 24ms
1922
+
1923
+ ArgumentError (wrong number of arguments (4 for 5)):
1924
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:49:in `cadinsor_validate_signature'
1925
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
1926
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__697835299833086858__process_action__callbacks'
1927
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1928
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
1929
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
1930
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1931
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
1932
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1933
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
1934
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1935
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
1936
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1937
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
1938
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
1939
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
1940
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1941
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
1942
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
1943
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
1944
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
1945
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
1946
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
1947
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
1948
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
1949
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
1950
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
1951
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
1952
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1953
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
1954
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
1955
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
1956
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
1957
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
1958
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
1959
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
1960
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1961
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__556305339858164788__call__callbacks'
1962
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
1963
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1964
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
1965
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
1966
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1967
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1968
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
1969
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
1970
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
1971
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
1972
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
1973
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
1974
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1975
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
1976
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
1977
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
1978
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1979
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
1980
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
1981
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
1982
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
1983
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
1984
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
1985
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
1986
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
1987
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
1988
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
1989
+
1990
+
1991
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (3.2ms)
1992
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
1993
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (18.8ms)
1994
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (75.1ms)
1995
+
1996
+
1997
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1" for 127.0.0.1 at 2014-01-16 00:17:06 +0530
1998
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1999
+ Processing by CadinsorTestsController#default_check as JSON
2000
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1"}
2001
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2002
+ Cadinsor::ClientApp Load (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2003
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (2.7ms)
2004
+ Completed 200 OK in 35ms (Views: 12.9ms | ActiveRecord: 1.1ms)
2005
+
2006
+
2007
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=hi" for 127.0.0.1 at 2014-01-16 00:17:20 +0530
2008
+ Processing by CadinsorTestsController#default_check as JSON
2009
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"hi"}
2010
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2011
+ Cadinsor::ClientApp Load (0.2ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2012
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2013
+ Completed 500 Internal Server Error in 61ms
2014
+
2015
+ NoMethodError (undefined method `hex_digest' for Digest::SHA2:Class):
2016
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:56:in `cadinsor_validate_signature'
2017
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
2018
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__1048403162897858892__process_action__callbacks'
2019
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2020
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
2021
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
2022
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2023
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
2024
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2025
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
2026
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2027
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2028
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2029
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
2030
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
2031
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
2032
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2033
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
2034
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
2035
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2036
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
2037
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
2038
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
2039
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
2040
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
2041
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2042
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
2043
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2044
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2045
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
2046
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2047
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2048
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2049
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
2050
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2051
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
2052
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2053
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__1005819653237886833__call__callbacks'
2054
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2055
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2056
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2057
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2058
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2059
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2060
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
2061
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
2062
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2063
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
2064
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
2065
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
2066
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2067
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2068
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2069
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2070
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2071
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
2072
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2073
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
2074
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
2075
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2076
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2077
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2078
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2079
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2080
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2081
+
2082
+
2083
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
2084
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
2085
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (24.1ms)
2086
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (43.5ms)
2087
+
2088
+
2089
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=hi" for 127.0.0.1 at 2014-01-16 00:17:47 +0530
2090
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2091
+ Processing by CadinsorTestsController#default_check as JSON
2092
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"hi"}
2093
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2094
+ Cadinsor::ClientApp Load (0.2ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2095
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2096
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (1.6ms)
2097
+ Completed 200 OK in 73ms (Views: 12.5ms | ActiveRecord: 1.9ms)
2098
+
2099
+
2100
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:19:24 +0530
2101
+ Processing by CadinsorTestsController#default_check as JSON
2102
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2103
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2104
+ Cadinsor::ClientApp Load (0.2ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2105
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2106
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.5ms)
2107
+ Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.5ms)
2108
+
2109
+
2110
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:20:33 +0530
2111
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2112
+ Processing by CadinsorTestsController#default_check as JSON
2113
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2114
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2115
+ Cadinsor::ClientApp Load (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2116
+ CACHE (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2117
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (0.8ms)
2118
+ Completed 200 OK in 74ms (Views: 7.2ms | ActiveRecord: 1.4ms)
2119
+
2120
+
2121
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:24:11 +0530
2122
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2123
+ Processing by CadinsorTestsController#default_check as JSON
2124
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2125
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2126
+ Cadinsor::ClientApp Load (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2127
+ CACHE (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2128
+ Completed 500 Internal Server Error in 29ms
2129
+
2130
+ RuntimeError (--- default_check1cadinsor_testsjson1LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY22abcblah
2131
+ ...
2132
+ ):
2133
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:57:in `cadinsor_validate_signature'
2134
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
2135
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__1523648632004606178__process_action__callbacks'
2136
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2137
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
2138
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
2139
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2140
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
2141
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2142
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
2143
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2144
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2145
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2146
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
2147
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
2148
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
2149
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2150
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
2151
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
2152
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2153
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
2154
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
2155
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
2156
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
2157
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
2158
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2159
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
2160
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2161
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2162
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
2163
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2164
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2165
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2166
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
2167
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2168
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
2169
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2170
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2699670077864987329__call__callbacks'
2171
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2172
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2173
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2174
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2175
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2176
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2177
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
2178
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
2179
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2180
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
2181
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
2182
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
2183
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2184
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2185
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2186
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2187
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2188
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
2189
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2190
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
2191
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
2192
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2193
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2194
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2195
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2196
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2197
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2198
+
2199
+
2200
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
2201
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
2202
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (55.8ms)
2203
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (70.9ms)
2204
+
2205
+
2206
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:26:18 +0530
2207
+ Processing by CadinsorTestsController#default_check as JSON
2208
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2209
+ Cadinsor::ApiKey Load (0.6ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2210
+ Cadinsor::ClientApp Load (0.3ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2211
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2212
+ Completed 500 Internal Server Error in 5ms
2213
+
2214
+ RuntimeError (--- default_check1cadinsor_testsjson1LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY22abcblah
2215
+ ...
2216
+ ):
2217
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:57:in `cadinsor_validate_signature'
2218
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
2219
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__1523648632004606178__process_action__callbacks'
2220
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2221
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
2222
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
2223
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2224
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
2225
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2226
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
2227
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2228
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2229
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2230
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
2231
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
2232
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
2233
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2234
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
2235
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
2236
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2237
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
2238
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
2239
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
2240
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
2241
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
2242
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2243
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
2244
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2245
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2246
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
2247
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2248
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2249
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2250
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
2251
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2252
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
2253
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2254
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2699670077864987329__call__callbacks'
2255
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2256
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2257
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2258
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2259
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2260
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2261
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
2262
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
2263
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2264
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
2265
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
2266
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
2267
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2268
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2269
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2270
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2271
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2272
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
2273
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2274
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
2275
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
2276
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2277
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2278
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2279
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2280
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2281
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2282
+
2283
+
2284
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (29.3ms)
2285
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.6ms)
2286
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
2287
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (89.3ms)
2288
+
2289
+
2290
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:26:36 +0530
2291
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2292
+ Processing by CadinsorTestsController#default_check as JSON
2293
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2294
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2295
+ Cadinsor::ClientApp Load (0.5ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2296
+ CACHE (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2297
+ Completed 500 Internal Server Error in 47ms
2298
+
2299
+ RuntimeError (---
2300
+ id: '1'
2301
+ random: 22abc
2302
+ key: LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY
2303
+ app_id: '1'
2304
+ signature: 957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12
2305
+ controller: cadinsor_tests
2306
+ action: default_check
2307
+ format: json
2308
+ ):
2309
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:57:in `cadinsor_validate_signature'
2310
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
2311
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__704999579244131917__process_action__callbacks'
2312
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2313
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
2314
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
2315
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2316
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
2317
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2318
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
2319
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2320
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2321
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2322
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
2323
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
2324
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
2325
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2326
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
2327
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
2328
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2329
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
2330
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
2331
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
2332
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
2333
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
2334
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2335
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
2336
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2337
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2338
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
2339
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2340
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2341
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2342
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
2343
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2344
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
2345
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2346
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2607620169566472483__call__callbacks'
2347
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2348
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2349
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2350
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2351
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2352
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2353
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
2354
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
2355
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2356
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
2357
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
2358
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
2359
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2360
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2361
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2362
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2363
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2364
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
2365
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2366
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
2367
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
2368
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2369
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2370
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2371
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2372
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2373
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2374
+
2375
+
2376
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
2377
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
2378
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (34.3ms)
2379
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (51.0ms)
2380
+
2381
+
2382
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:28:29 +0530
2383
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2384
+ Processing by CadinsorTestsController#default_check as JSON
2385
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2386
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2387
+ Cadinsor::ClientApp Load (0.5ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2388
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2389
+ Completed 500 Internal Server Error in 49ms
2390
+
2391
+ RuntimeError (---
2392
+ id: '1'
2393
+ random: 22abc
2394
+ key: LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY
2395
+ app_id: '1'
2396
+ signature: 957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12
2397
+ controller: cadinsor_tests
2398
+ action: default_check
2399
+ format: json
2400
+ ):
2401
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:57:in `cadinsor_validate_signature'
2402
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
2403
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__2127010716867466086__process_action__callbacks'
2404
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2405
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
2406
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
2407
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2408
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
2409
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2410
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
2411
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2412
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2413
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2414
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
2415
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
2416
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
2417
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2418
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
2419
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
2420
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2421
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
2422
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
2423
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
2424
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
2425
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
2426
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2427
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
2428
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2429
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2430
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
2431
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2432
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2433
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2434
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
2435
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2436
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
2437
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2438
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__2650199827203731881__call__callbacks'
2439
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2440
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2441
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2442
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2443
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2444
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2445
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
2446
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
2447
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2448
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
2449
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
2450
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
2451
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2452
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2453
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2454
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2455
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2456
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
2457
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2458
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
2459
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
2460
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2461
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2462
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2463
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2464
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2465
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2466
+
2467
+
2468
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
2469
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms)
2470
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (18.7ms)
2471
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (40.2ms)
2472
+
2473
+
2474
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:28:47 +0530
2475
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2476
+ Processing by CadinsorTestsController#default_check as JSON
2477
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2478
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2479
+ Cadinsor::ClientApp Load (0.2ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2480
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2481
+ Completed 500 Internal Server Error in 32ms
2482
+
2483
+ RuntimeError (--- 11LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY22abcblah
2484
+ ...
2485
+ ):
2486
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:57:in `cadinsor_validate_signature'
2487
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
2488
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__1394578509741922273__process_action__callbacks'
2489
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2490
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
2491
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
2492
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2493
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
2494
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2495
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
2496
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2497
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2498
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2499
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
2500
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
2501
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
2502
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2503
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
2504
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
2505
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2506
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
2507
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
2508
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
2509
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
2510
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
2511
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2512
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
2513
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2514
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2515
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
2516
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2517
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2518
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2519
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
2520
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2521
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
2522
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2523
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__829695801641322460__call__callbacks'
2524
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2525
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2526
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2527
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2528
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2529
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2530
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
2531
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
2532
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2533
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
2534
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
2535
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
2536
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2537
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2538
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2539
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2540
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2541
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
2542
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2543
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
2544
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
2545
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2546
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2547
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2548
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2549
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2550
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2551
+
2552
+
2553
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
2554
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms)
2555
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (21.5ms)
2556
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (39.9ms)
2557
+
2558
+
2559
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:29:05 +0530
2560
+ Processing by CadinsorTestsController#default_check as JSON
2561
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2562
+ Cadinsor::ApiKey Load (0.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2563
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2564
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2565
+ Completed 500 Internal Server Error in 6ms
2566
+
2567
+ RuntimeError (--- 11LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY22abcblah
2568
+ ...
2569
+ ):
2570
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:57:in `cadinsor_validate_signature'
2571
+ /home/lewstherin/git/cadinsor/lib/cadinsor/extensions.rb:12:in `check_request_with_cadinsor'
2572
+ activesupport (4.0.2) lib/active_support/callbacks.rb:377:in `_run__1394578509741922273__process_action__callbacks'
2573
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2574
+ actionpack (4.0.2) lib/abstract_controller/callbacks.rb:17:in `process_action'
2575
+ actionpack (4.0.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
2576
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2577
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `block in instrument'
2578
+ activesupport (4.0.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2579
+ activesupport (4.0.2) lib/active_support/notifications.rb:159:in `instrument'
2580
+ actionpack (4.0.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2581
+ actionpack (4.0.2) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
2582
+ activerecord (4.0.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2583
+ actionpack (4.0.2) lib/abstract_controller/base.rb:136:in `process'
2584
+ actionpack (4.0.2) lib/abstract_controller/rendering.rb:44:in `process'
2585
+ actionpack (4.0.2) lib/action_controller/metal.rb:195:in `dispatch'
2586
+ actionpack (4.0.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2587
+ actionpack (4.0.2) lib/action_controller/metal.rb:231:in `block in action'
2588
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `call'
2589
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
2590
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:48:in `call'
2591
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:71:in `block in call'
2592
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `each'
2593
+ actionpack (4.0.2) lib/action_dispatch/journey/router.rb:59:in `call'
2594
+ actionpack (4.0.2) lib/action_dispatch/routing/route_set.rb:680:in `call'
2595
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
2596
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
2597
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
2598
+ actionpack (4.0.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2599
+ actionpack (4.0.2) lib/action_dispatch/middleware/flash.rb:241:in `call'
2600
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
2601
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
2602
+ actionpack (4.0.2) lib/action_dispatch/middleware/cookies.rb:486:in `call'
2603
+ activerecord (4.0.2) lib/active_record/query_cache.rb:36:in `call'
2604
+ activerecord (4.0.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
2605
+ activerecord (4.0.2) lib/active_record/migration.rb:369:in `call'
2606
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2607
+ activesupport (4.0.2) lib/active_support/callbacks.rb:373:in `_run__829695801641322460__call__callbacks'
2608
+ activesupport (4.0.2) lib/active_support/callbacks.rb:80:in `run_callbacks'
2609
+ actionpack (4.0.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2610
+ actionpack (4.0.2) lib/action_dispatch/middleware/reloader.rb:64:in `call'
2611
+ actionpack (4.0.2) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
2612
+ actionpack (4.0.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2613
+ actionpack (4.0.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2614
+ railties (4.0.2) lib/rails/rack/logger.rb:38:in `call_app'
2615
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `block in call'
2616
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `block in tagged'
2617
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:25:in `tagged'
2618
+ activesupport (4.0.2) lib/active_support/tagged_logging.rb:67:in `tagged'
2619
+ railties (4.0.2) lib/rails/rack/logger.rb:20:in `call'
2620
+ actionpack (4.0.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2621
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
2622
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
2623
+ activesupport (4.0.2) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
2624
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2625
+ actionpack (4.0.2) lib/action_dispatch/middleware/static.rb:64:in `call'
2626
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
2627
+ railties (4.0.2) lib/rails/engine.rb:511:in `call'
2628
+ railties (4.0.2) lib/rails/application.rb:97:in `call'
2629
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
2630
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
2631
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
2632
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2633
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2634
+ /home/lewstherin/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2635
+
2636
+
2637
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
2638
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (41.4ms)
2639
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
2640
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (89.0ms)
2641
+
2642
+
2643
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12" for 127.0.0.1 at 2014-01-16 00:29:21 +0530
2644
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2645
+ Processing by CadinsorTestsController#default_check as JSON
2646
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"957b4de7a98011186991129307a28a6c56a55f5ef1cbb8735e147cf37207fe12"}
2647
+ Cadinsor::ApiKey Load (0.3ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2648
+ Cadinsor::ClientApp Load (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2649
+ CACHE (0.1ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2650
+ Rendered /home/lewstherin/git/cadinsor/app/views/cadinsor/application/cadinsor_error_response.rabl (1.6ms)
2651
+ Completed 200 OK in 64ms (Views: 35.0ms | ActiveRecord: 1.3ms)
2652
+
2653
+
2654
+ Started GET "/cadinsor_tests/default_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=071773356b65b4a3648fe14c2d0cff6e5ac9fb8792be513ae0d4ec2231d916f5" for 127.0.0.1 at 2014-01-16 00:29:41 +0530
2655
+ Processing by CadinsorTestsController#default_check as JSON
2656
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"071773356b65b4a3648fe14c2d0cff6e5ac9fb8792be513ae0d4ec2231d916f5"}
2657
+ Cadinsor::ApiKey Load (0.5ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2658
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2659
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2660
+ Rendered cadinsor_tests/do_not_check.rabl (0.8ms)
2661
+ Completed 200 OK in 43ms (Views: 36.4ms | ActiveRecord: 0.9ms)
2662
+
2663
+
2664
+ Started GET "/cadinsor_tests/inside_method_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=071773356b65b4a3648fe14c2d0cff6e5ac9fb8792be513ae0d4ec2231d916f5" for 127.0.0.1 at 2014-01-16 00:33:22 +0530
2665
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2666
+ Processing by CadinsorTestsController#inside_method_check as JSON
2667
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"071773356b65b4a3648fe14c2d0cff6e5ac9fb8792be513ae0d4ec2231d916f5"}
2668
+ Completed 500 Internal Server Error in 3ms
2669
+
2670
+ NameError (undefined local variable or method `protect_with_cadinsor' for #<CadinsorTestsController:0x00000003df8ad8>):
2671
+ app/controllers/cadinsor_tests_controller.rb:13:in `inside_method_check'
2672
+
2673
+
2674
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms)
2675
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
2676
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (19.0ms)
2677
+ Rendered /home/lewstherin/.rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (32.9ms)
2678
+
2679
+
2680
+ Started GET "/cadinsor_tests/inside_method_check.json?id=1&random=22abc&key=LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY&app_id=1&signature=071773356b65b4a3648fe14c2d0cff6e5ac9fb8792be513ae0d4ec2231d916f5" for 127.0.0.1 at 2014-01-16 00:33:52 +0530
2681
+ Processing by CadinsorTestsController#inside_method_check as JSON
2682
+ Parameters: {"id"=>"1", "random"=>"22abc", "key"=>"LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY", "app_id"=>"1", "signature"=>"071773356b65b4a3648fe14c2d0cff6e5ac9fb8792be513ae0d4ec2231d916f5"}
2683
+ Cadinsor::ApiKey Load (0.2ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys" WHERE "cadinsor_api_keys"."key" = 'LoVA3sggNmVKYHzcMMKT1J9EPbLZozpA8zNkzE3yxLY' LIMIT 1
2684
+ Cadinsor::ClientApp Load (0.2ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2685
+ CACHE (0.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 1 LIMIT 1
2686
+ Rendered cadinsor_tests/do_not_check.rabl (0.9ms)
2687
+ Completed 200 OK in 125ms (Views: 18.6ms | ActiveRecord: 1.7ms)
2688
+ Cadinsor::ClientApp Load (0.3ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'bW495Fi7zMPMR14pw55mXIq2anqk9vXcPrOz9kr6hSc' LIMIT 1
2689
+ Cadinsor::ClientApp Load (0.3ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'CBJ-izz0S3ktKjB0W9ju4zrWgRXV4bSXQ6b1__jSFQw' LIMIT 1
2690
+ Cadinsor::ClientApp Load (0.3ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'Yu1l-m3K2goYHlRoOH6VA4zS6zwHydPKrArkHFEaHDs' LIMIT 1
2691
+  (0.2ms) begin transaction
2692
+ Cadinsor::ClientApp Exists (0.3ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."name" = 'asas' LIMIT 1
2693
+ Cadinsor::ClientApp Exists (0.2ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'Yu1l-m3K2goYHlRoOH6VA4zS6zwHydPKrArkHFEaHDs' LIMIT 1
2694
+ SQL (152.9ms) INSERT INTO "cadinsor_client_apps" ("created_at", "name", "secret", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 15 Jan 2014 19:53:22 UTC +00:00], ["name", "asas"], ["secret", "Yu1l-m3K2goYHlRoOH6VA4zS6zwHydPKrArkHFEaHDs"], ["updated_at", Wed, 15 Jan 2014 19:53:22 UTC +00:00]]
2695
+  (132.9ms) commit transaction
2696
+ Cadinsor::ClientApp Load (1.2ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2697
+ Cadinsor::ClientApp Load (0.9ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2698
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 2 LIMIT 1
2699
+ Cadinsor::ClientApp Load (0.5ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'l56xQxOAzTKNXG8eqAF51wHGV0KH7K4qHDf98_PB9jE' LIMIT 1
2700
+ Cadinsor::ClientApp Load (1.9ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2701
+ Cadinsor::ClientApp Load (0.2ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 2 LIMIT 1
2702
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'fvdFf68RMdv6nlCZLekT37rj0q-h-5nGdT5DdMurKz8' LIMIT 1
2703
+  (0.2ms) begin transaction
2704
+ Cadinsor::ClientApp Exists (0.5ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE ("cadinsor_client_apps"."name" = 'asas' AND "cadinsor_client_apps"."id" != 2) LIMIT 1
2705
+ Cadinsor::ClientApp Exists (0.2ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE ("cadinsor_client_apps"."secret" = 'fvdFf68RMdv6nlCZLekT37rj0q-h-5nGdT5DdMurKz8' AND "cadinsor_client_apps"."id" != 2) LIMIT 1
2706
+ SQL (152.1ms) UPDATE "cadinsor_client_apps" SET "secret" = ?, "updated_at" = ? WHERE "cadinsor_client_apps"."id" = 2 [["secret", "fvdFf68RMdv6nlCZLekT37rj0q-h-5nGdT5DdMurKz8"], ["updated_at", Wed, 15 Jan 2014 19:54:50 UTC +00:00]]
2707
+  (346.2ms) commit transaction
2708
+ Cadinsor::ClientApp Load (1.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2709
+ Cadinsor::ClientApp Load (0.5ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 2 LIMIT 1
2710
+ Cadinsor::ClientApp Load (0.5ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'x1vYoKgqNk2QVoU3toH25DSJ9yroe01RwRFHRXj0vgA' LIMIT 1
2711
+  (0.2ms) begin transaction
2712
+ Cadinsor::ClientApp Exists (0.3ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE ("cadinsor_client_apps"."name" = 'asas' AND "cadinsor_client_apps"."id" != 2) LIMIT 1
2713
+ Cadinsor::ClientApp Exists (0.1ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE ("cadinsor_client_apps"."secret" = 'x1vYoKgqNk2QVoU3toH25DSJ9yroe01RwRFHRXj0vgA' AND "cadinsor_client_apps"."id" != 2) LIMIT 1
2714
+ SQL (2.7ms) UPDATE "cadinsor_client_apps" SET "secret" = ?, "updated_at" = ? WHERE "cadinsor_client_apps"."id" = 2 [["secret", "x1vYoKgqNk2QVoU3toH25DSJ9yroe01RwRFHRXj0vgA"], ["updated_at", Wed, 15 Jan 2014 19:55:04 UTC +00:00]]
2715
+  (125.7ms) commit transaction
2716
+ Cadinsor::ClientApp Load (1.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2717
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 2 LIMIT 1
2718
+ Cadinsor::ClientApp Load (0.3ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."secret" = 'YBJY8e8g1OUeWzHkVbqTxEcEHsPQ3G3Cx2I9cfKKRvs' LIMIT 1
2719
+  (0.2ms) begin transaction
2720
+ Cadinsor::ClientApp Exists (0.5ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE ("cadinsor_client_apps"."name" = 'asas' AND "cadinsor_client_apps"."id" != 2) LIMIT 1
2721
+ Cadinsor::ClientApp Exists (0.3ms) SELECT 1 AS one FROM "cadinsor_client_apps" WHERE ("cadinsor_client_apps"."secret" = 'die' AND "cadinsor_client_apps"."id" != 2) LIMIT 1
2722
+ SQL (5.5ms) UPDATE "cadinsor_client_apps" SET "secret" = ?, "updated_at" = ? WHERE "cadinsor_client_apps"."id" = 2 [["secret", "die"], ["updated_at", Wed, 15 Jan 2014 19:55:32 UTC +00:00]]
2723
+  (369.0ms) commit transaction
2724
+ Cadinsor::ClientApp Load (0.9ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2725
+ Cadinsor::ClientApp Load (0.3ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 2 LIMIT 1
2726
+ Cadinsor::ClientApp Load (0.9ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2727
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 4 LIMIT 1
2728
+ Cadinsor::ClientApp Load (1.9ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2729
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 3 LIMIT 1
2730
+ Cadinsor::ClientApp Load (1.0ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2731
+ Cadinsor::ClientApp Load (0.4ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = 2 LIMIT 1
2732
+  (0.3ms) begin transaction
2733
+ SQL (34.2ms) DELETE FROM "cadinsor_client_apps" WHERE "cadinsor_client_apps"."id" = ? [["id", 2]]
2734
+  (132.7ms) commit transaction
2735
+ Cadinsor::ClientApp Load (1.9ms) SELECT "cadinsor_client_apps".* FROM "cadinsor_client_apps"
2736
+ Cadinsor::ApiKey Load (2.4ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys"
2737
+ Cadinsor::ApiKey Load (1.1ms) SELECT "cadinsor_api_keys".* FROM "cadinsor_api_keys"