aadhar 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NThjMmE3MWE3YjY3Yjc1OTVhYWQ0MTlkZTRkNTEzMzYzMTAyM2RmMA==
4
+ ZjAwZmUxNzRkMzBkYmQ1OWMwZTA0Y2RiZDllMGQ1ZTk2NjhjZjM1YQ==
5
5
  data.tar.gz: !binary |-
6
- MTIwYzk2ZmViMGRhNjE3M2I4NWIxNTdjYWZjZDhjM2I4NjhhZTU4OA==
6
+ MDljZjg1MDY0ZjA4NmM4YzYxZThmNjY4ZjlhY2FlNzIwMGFhMzYwMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjYxODYyOTE1ZGM3N2Y1MDdjMmUzOTc2MTE2OTI3NDdiMWUzYjcyYzQ5N2Qx
10
- ZjQ2Mzk5Y2QxN2JkZDA4MzNhOTRjZWU2ODc0ZGJlMjc0YjdiNGQzZmFmMzVk
11
- OWQ2YzZlZjc5N2VlMjY4YmZhMjM3YTU5YjAyOWU4ZTdhOWI3YzM=
9
+ OTNmMzQ2ODVlYzQwNTJlOWVkNDJhYzVmMmI1NDNhZDBiZTM3ZmJhZjFhNGEy
10
+ NzM1MjNkOGExMzQyM2U5N2ZjNzcyMDI2MjM2ZWZhNTgxMzQ2NGZmY2I2ZmU5
11
+ MmUyMWQ2MGU2MjkxMmZkODhmMzcwMTEwMjkzYzg5ZTMzNjJkZGU=
12
12
  data.tar.gz: !binary |-
13
- ZGNiZGU1YjgxOTlkNDBiNTg0MTczNDBkNmExNDc1OTEyZjhiNzJlYmM1ZmJi
14
- Nzg0MzYzZDNlNDljNjcxNjAyZTgxZTI1MTFiODc4YjI4MTk4MDRiMTcxOWNm
15
- ODlhNzQ1NGFiMGVkZmQ5Y2I2M2JjYjE0NzA3MTgwYmYwZGExYWQ=
13
+ MjM5YmYyM2IzYWFkYzMxYzE5MDhkNjRkMzdiZmU1YjJhYjZjMGRkZjM0ZThl
14
+ ODg5YzYwODU2YTRkYTlkZjJiMDEyMWQ3MDY4NTNiYjAyNzUyNzhhZGE4ZDlh
15
+ M2U5MzY3ZDg4NGY2NDQ2NWM4MTI5NDZkNDJiNmFhYjNiNzVjZGM=
@@ -1,11 +1,4 @@
1
- class Aadhar::ApplicationController < ActionController::API
2
-
3
- def authenticate
4
- render :status => 401, :json => { :success => false, :info => "Unauthorized"} if !current_user.present?
5
- end
6
-
7
- def current_user
8
- @current_user ||= User.where(authentication_token: params[:auth_token]).first
9
- end
1
+ class Aadhar::ApplicationController < ActionController::Base
2
+ include Aadhar::Authenticate
10
3
 
11
4
  end
@@ -1,4 +1,4 @@
1
- class Aadhar::SessionsController < ApplicationController
1
+ class Aadhar::SessionsController < Aadhar::ApplicationController
2
2
 
3
3
  def create
4
4
  user = User.authenticate(params[:email], params[:password])
@@ -1,4 +1,4 @@
1
- class Aadhar::UsersController < ApplicationController
1
+ class Aadhar::UsersController < Aadhar::ApplicationController
2
2
 
3
3
  def create
4
4
  @user = User.new(user_params)
@@ -1,4 +1,5 @@
1
1
  require "aadhar/engine"
2
+ require "aadhar/authenticate"
2
3
 
3
4
  module Aadhar
4
5
  end
@@ -0,0 +1,13 @@
1
+ module Aadhar
2
+ module Authenticate
3
+ extend ActiveSupport::Concern
4
+
5
+ def authenticate
6
+ render :status => 401, :json => { :success => false, :info => "Unauthorized"} if !current_user.present?
7
+ end
8
+
9
+ def current_user
10
+ @current_user ||= User.where(authentication_token: params[:auth_token]).first
11
+ end
12
+ end
13
+ end
@@ -1,5 +1,11 @@
1
1
  module Aadhar
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace Aadhar
4
+
5
+ initializer "aadhar.load_helpers" do
6
+ ActiveSupport.on_load(:action_controller) do
7
+ include Aadhar::Authenticate
8
+ end
9
+ end
4
10
  end
5
11
  end
@@ -1,3 +1,3 @@
1
1
  module Aadhar
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,56 @@
1
+ body { background-color: #fff; color: #333; }
2
+
3
+ body, p, ol, ul, td {
4
+ font-family: verdana, arial, helvetica, sans-serif;
5
+ font-size: 13px;
6
+ line-height: 18px;
7
+ }
8
+
9
+ pre {
10
+ background-color: #eee;
11
+ padding: 10px;
12
+ font-size: 11px;
13
+ }
14
+
15
+ a { color: #000; }
16
+ a:visited { color: #666; }
17
+ a:hover { color: #fff; background-color:#000; }
18
+
19
+ div.field, div.actions {
20
+ margin-bottom: 10px;
21
+ }
22
+
23
+ #notice {
24
+ color: green;
25
+ }
26
+
27
+ .field_with_errors {
28
+ padding: 2px;
29
+ background-color: red;
30
+ display: table;
31
+ }
32
+
33
+ #error_explanation {
34
+ width: 450px;
35
+ border: 2px solid red;
36
+ padding: 7px;
37
+ padding-bottom: 0;
38
+ margin-bottom: 20px;
39
+ background-color: #f0f0f0;
40
+ }
41
+
42
+ #error_explanation h2 {
43
+ text-align: left;
44
+ font-weight: bold;
45
+ padding: 5px 5px 5px 15px;
46
+ font-size: 12px;
47
+ margin: -7px;
48
+ margin-bottom: 0px;
49
+ background-color: #c00;
50
+ color: #fff;
51
+ }
52
+
53
+ #error_explanation ul li {
54
+ font-size: 12px;
55
+ list-style: square;
56
+ }
@@ -0,0 +1,60 @@
1
+ class HighScoresController < ApplicationController
2
+ before_filter :authenticate
3
+ before_action :set_high_score, only: [:show, :edit, :update, :destroy]
4
+
5
+ # GET /high_scores
6
+ def index
7
+ binding.pry
8
+ @high_scores = HighScore.all
9
+ end
10
+
11
+ # GET /high_scores/1
12
+ def show
13
+ end
14
+
15
+ # GET /high_scores/new
16
+ def new
17
+ @high_score = HighScore.new
18
+ end
19
+
20
+ # GET /high_scores/1/edit
21
+ def edit
22
+ end
23
+
24
+ # POST /high_scores
25
+ def create
26
+ @high_score = HighScore.new(high_score_params)
27
+
28
+ if @high_score.save
29
+ redirect_to @high_score, notice: 'High score was successfully created.'
30
+ else
31
+ render :new
32
+ end
33
+ end
34
+
35
+ # PATCH/PUT /high_scores/1
36
+ def update
37
+ if @high_score.update(high_score_params)
38
+ redirect_to @high_score, notice: 'High score was successfully updated.'
39
+ else
40
+ render :edit
41
+ end
42
+ end
43
+
44
+ # DELETE /high_scores/1
45
+ def destroy
46
+ @high_score.destroy
47
+ redirect_to high_scores_url, notice: 'High score was successfully destroyed.'
48
+ end
49
+
50
+ private
51
+ # Use callbacks to share common setup or constraints between actions.
52
+ def set_high_score
53
+ @high_score = HighScore.find(params[:id])
54
+ end
55
+
56
+ # Only allow a trusted parameter "white list" through.
57
+ def high_score_params
58
+ params.require(:high_score).permit(:game, :score)
59
+ end
60
+ end
@@ -0,0 +1,2 @@
1
+ module HighScoresHelper
2
+ end
@@ -0,0 +1,2 @@
1
+ class HighScore < ActiveRecord::Base
2
+ end
@@ -0,0 +1,25 @@
1
+ <%= form_for(@high_score) do |f| %>
2
+ <% if @high_score.errors.any? %>
3
+ <div id="error_explanation">
4
+ <h2><%= pluralize(@high_score.errors.count, "error") %> prohibited this high_score from being saved:</h2>
5
+
6
+ <ul>
7
+ <% @high_score.errors.full_messages.each do |message| %>
8
+ <li><%= message %></li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
13
+
14
+ <div class="field">
15
+ <%= f.label :game %><br>
16
+ <%= f.text_field :game %>
17
+ </div>
18
+ <div class="field">
19
+ <%= f.label :score %><br>
20
+ <%= f.number_field :score %>
21
+ </div>
22
+ <div class="actions">
23
+ <%= f.submit %>
24
+ </div>
25
+ <% end %>
@@ -0,0 +1,6 @@
1
+ <h1>Editing High Score</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Show', @high_score %> |
6
+ <%= link_to 'Back', high_scores_path %>
@@ -0,0 +1,29 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <h1>Listing High Scores</h1>
4
+
5
+ <table>
6
+ <thead>
7
+ <tr>
8
+ <th>Game</th>
9
+ <th>Score</th>
10
+ <th colspan="3"></th>
11
+ </tr>
12
+ </thead>
13
+
14
+ <tbody>
15
+ <% @high_scores.each do |high_score| %>
16
+ <tr>
17
+ <td><%= high_score.game %></td>
18
+ <td><%= high_score.score %></td>
19
+ <td><%= link_to 'Show', high_score %></td>
20
+ <td><%= link_to 'Edit', edit_high_score_path(high_score) %></td>
21
+ <td><%= link_to 'Destroy', high_score, method: :delete, data: { confirm: 'Are you sure?' } %></td>
22
+ </tr>
23
+ <% end %>
24
+ </tbody>
25
+ </table>
26
+
27
+ <br>
28
+
29
+ <%= link_to 'New High score', new_high_score_path %>
@@ -0,0 +1,5 @@
1
+ <h1>New High Score</h1>
2
+
3
+ <%= render 'form' %>
4
+
5
+ <%= link_to 'Back', high_scores_path %>
@@ -0,0 +1,14 @@
1
+ <p id="notice"><%= notice %></p>
2
+
3
+ <p>
4
+ <strong>Game:</strong>
5
+ <%= @high_score.game %>
6
+ </p>
7
+
8
+ <p>
9
+ <strong>Score:</strong>
10
+ <%= @high_score.score %>
11
+ </p>
12
+
13
+ <%= link_to 'Edit', edit_high_score_path(@high_score) %> |
14
+ <%= link_to 'Back', high_scores_path %>
@@ -1,4 +1,6 @@
1
1
  Rails.application.routes.draw do
2
2
 
3
+ resources :high_scores
4
+
3
5
  mount Aadhar::Engine => "/aadhar"
4
6
  end
@@ -0,0 +1,10 @@
1
+ class CreateHighScores < ActiveRecord::Migration
2
+ def change
3
+ create_table :high_scores do |t|
4
+ t.string :game
5
+ t.integer :score
6
+
7
+ t.timestamps null: false
8
+ end
9
+ end
10
+ end
@@ -11,7 +11,14 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150130043153) do
14
+ ActiveRecord::Schema.define(version: 20150206194145) do
15
+
16
+ create_table "high_scores", force: :cascade do |t|
17
+ t.string "game", limit: 255
18
+ t.integer "score", limit: 4
19
+ t.datetime "created_at", null: false
20
+ t.datetime "updated_at", null: false
21
+ end
15
22
 
16
23
  create_table "users", force: :cascade do |t|
17
24
  t.string "name", limit: 255
@@ -1558,3 +1558,947 @@ Content-Transfer-Encoding: 7bit
1558
1558
 
1559
1559
  [ActiveJob] [ActionMailer::DeliveryJob] [77707b52-c348-4757-a61b-694b1a727976] Performed ActionMailer::DeliveryJob from Inline(mailers) in 665.41ms
1560
1560
  Completed 200 OK in 940ms (Views: 0.3ms | ActiveRecord: 63.9ms)
1561
+
1562
+
1563
+ Started POST "/users.json" for 127.0.0.1 at 2015-02-06 13:22:24 -0600
1564
+
1565
+ ActionController::RoutingError (No route matches [POST] "/users.json"):
1566
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1567
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1568
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1569
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1570
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1571
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1572
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1573
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1574
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1575
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1576
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1577
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1578
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1579
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1580
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1581
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1582
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1583
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1584
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1585
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1586
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1587
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1588
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1589
+
1590
+
1591
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
1592
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
1593
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
1594
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (55.8ms)
1595
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (30.6ms)
1596
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (130.4ms)
1597
+
1598
+
1599
+ Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-02-06 13:22:33 -0600
1600
+
1601
+ ActionController::RoutingError (uninitialized constant ActionController::API):
1602
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:1:in `<top (required)>'
1603
+ /home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:1:in `<top (required)>'
1604
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get'
1605
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize'
1606
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each'
1607
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject'
1608
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize'
1609
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
1610
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller'
1611
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve'
1612
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1613
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1614
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1615
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1616
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1617
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1618
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1619
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1620
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1621
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1622
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1623
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1624
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1625
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
1626
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1627
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1628
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1629
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1630
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1631
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1632
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1633
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1634
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1635
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1636
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1637
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1638
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1639
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1640
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1641
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1642
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1643
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1644
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1645
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1646
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1647
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1648
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1649
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1650
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1651
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1652
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1653
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1654
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1655
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1656
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1657
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1658
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1659
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1660
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1661
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1662
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1663
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1664
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1665
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1666
+
1667
+
1668
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
1669
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
1670
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms)
1671
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms)
1672
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
1673
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (21.1ms)
1674
+
1675
+
1676
+ Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-02-06 13:23:32 -0600
1677
+
1678
+ ActionController::RoutingError (uninitialized constant Aadhar::Controllers):
1679
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:2:in `<class:ApplicationController>'
1680
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:1:in `<top (required)>'
1681
+ /home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:1:in `<top (required)>'
1682
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get'
1683
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize'
1684
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each'
1685
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject'
1686
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize'
1687
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
1688
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller'
1689
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve'
1690
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1691
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1692
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1693
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1694
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1695
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1696
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1697
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1698
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1699
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1700
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1701
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1702
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1703
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
1704
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1705
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1706
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1707
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1708
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1709
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1710
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1711
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1712
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1713
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1714
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1715
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1716
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1717
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1718
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1719
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1720
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1721
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1722
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1723
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1724
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1725
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1726
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1727
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1728
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1729
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1730
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1731
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1732
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1733
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1734
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1735
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1736
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1737
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1738
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1739
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1740
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1741
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1742
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1743
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1744
+
1745
+
1746
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
1747
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
1748
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
1749
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (30.6ms)
1750
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.8ms)
1751
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (89.8ms)
1752
+
1753
+
1754
+ Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-02-06 13:24:48 -0600
1755
+
1756
+ ActionController::RoutingError (uninitialized constant Aadhar::Controllers):
1757
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:2:in `<class:ApplicationController>'
1758
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:1:in `<top (required)>'
1759
+ /home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:1:in `<top (required)>'
1760
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get'
1761
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize'
1762
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each'
1763
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject'
1764
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize'
1765
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
1766
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller'
1767
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve'
1768
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1769
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1770
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1771
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1772
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1773
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1774
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1775
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1776
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1777
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1778
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1779
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1780
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1781
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
1782
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1783
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1784
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1785
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1786
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1787
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1788
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1789
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1790
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1791
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1792
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1793
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1794
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1795
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1796
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1797
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1798
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1799
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1800
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1801
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1802
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1803
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1804
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1805
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1806
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1807
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1808
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1809
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1810
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1811
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1812
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1813
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1814
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1815
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1816
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1817
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1818
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1819
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1820
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1821
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1822
+
1823
+
1824
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
1825
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
1826
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
1827
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (32.4ms)
1828
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (17.0ms)
1829
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (92.5ms)
1830
+
1831
+
1832
+ Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-02-06 13:28:28 -0600
1833
+
1834
+ ActionController::RoutingError (uninitialized constant Aadhar::Authenticate):
1835
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:2:in `<class:ApplicationController>'
1836
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:1:in `<top (required)>'
1837
+ /home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:1:in `<top (required)>'
1838
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get'
1839
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize'
1840
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each'
1841
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject'
1842
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize'
1843
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
1844
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller'
1845
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve'
1846
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1847
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1848
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1849
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1850
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1851
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1852
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1853
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1854
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1855
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1856
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1857
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1858
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1859
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
1860
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1861
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1862
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1863
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1864
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1865
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1866
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1867
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1868
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1869
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1870
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1871
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1872
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1873
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1874
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1875
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1876
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1877
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1878
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1879
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1880
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1881
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1882
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1883
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1884
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1885
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1886
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1887
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1888
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1889
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1890
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1891
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1892
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1893
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1894
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1895
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1896
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1897
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1898
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1899
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1900
+
1901
+
1902
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms)
1903
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
1904
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
1905
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (31.9ms)
1906
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (15.7ms)
1907
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (92.4ms)
1908
+
1909
+
1910
+ Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-02-06 13:29:12 -0600
1911
+
1912
+ ActionController::RoutingError (uninitialized constant Authenticate):
1913
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:2:in `<class:ApplicationController>'
1914
+ /home/krunal/code/aadhar/app/controllers/aadhar/application_controller.rb:1:in `<top (required)>'
1915
+ /home/krunal/code/aadhar/app/controllers/aadhar/users_controller.rb:1:in `<top (required)>'
1916
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `const_get'
1917
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:263:in `block in constantize'
1918
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `each'
1919
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `inject'
1920
+ activesupport (4.2.0) lib/active_support/inflector/methods.rb:259:in `constantize'
1921
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:69:in `controller_reference'
1922
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:59:in `controller'
1923
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:38:in `serve'
1924
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1925
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1926
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1927
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1928
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1929
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1930
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1931
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1932
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1933
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1934
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1935
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1936
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1937
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
1938
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1939
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1940
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1941
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1942
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1943
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1944
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1945
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1946
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1947
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1948
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1949
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1950
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1951
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1952
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1953
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1954
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1955
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1956
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1957
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1958
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1959
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1960
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1961
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1962
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1963
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1964
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1965
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1966
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1967
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1968
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1969
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1970
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1971
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1972
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1973
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1974
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1975
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
1976
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
1977
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
1978
+
1979
+
1980
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
1981
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
1982
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
1983
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (32.4ms)
1984
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.8ms)
1985
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (91.7ms)
1986
+
1987
+
1988
+ Started POST "/aadhar/users.json" for 127.0.0.1 at 2015-02-06 13:30:40 -0600
1989
+ Processing by Aadhar::UsersController#create as JSON
1990
+ Parameters: {"user"=>{"email"=>"krumasta@gmail.com", "name"=>"Krunal"}}
1991
+  (0.1ms) BEGIN
1992
+ User Exists (0.3ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY 'krumasta@gmail.com' LIMIT 1
1993
+ SQL (0.2ms) INSERT INTO `users` (`email`, `name`, `password_salt`, `password_hash`, `change_password`, `created_at`, `updated_at`) VALUES ('krumasta@gmail.com', 'Krunal', '$2a$10$KSNV/Xea.JFUAzylezVWje', '$2a$10$KSNV/Xea.JFUAzylezVWjep8QJEsoZWRzoqIi9ay5eZ1uJkKbP9M.', 1, '2015-02-06 19:30:41.629784', '2015-02-06 19:30:41.629784')
1994
+  (63.9ms) COMMIT
1995
+ [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 82ad0c30-1971-491f-9e7e-772b15421da4) to Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/10, "mpfhgzh"
1996
+ [ActiveJob] User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 10 LIMIT 1
1997
+ [ActiveJob] [ActionMailer::DeliveryJob] [82ad0c30-1971-491f-9e7e-772b15421da4] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "UserMailer", "signup_email", "deliver_now", gid://dummy/User/10, "mpfhgzh"
1998
+ [ActiveJob] [ActionMailer::DeliveryJob] [82ad0c30-1971-491f-9e7e-772b15421da4] Rendered /home/krunal/code/aadhar/app/views/user_mailer/signup_email.html.erb within layouts/aadhar/mailer (2.1ms)
1999
+ [ActiveJob] [ActionMailer::DeliveryJob] [82ad0c30-1971-491f-9e7e-772b15421da4]
2000
+ UserMailer#signup_email: processed outbound mail in 345.2ms
2001
+ [ActiveJob] [ActionMailer::DeliveryJob] [82ad0c30-1971-491f-9e7e-772b15421da4]
2002
+ Sent mail to krumasta@gmail.com (52.1ms)
2003
+ [ActiveJob] [ActionMailer::DeliveryJob] [82ad0c30-1971-491f-9e7e-772b15421da4] Date: Fri, 06 Feb 2015 13:30:42 -0600
2004
+ From: support@oneclick.com
2005
+ To: krumasta@gmail.com
2006
+ Message-ID: <54d5166247e49_352a2797a6411265@krunal-Lenovo-IdeaPad-U530-Touch.mail>
2007
+ Subject: OneClick Account Information
2008
+ Mime-Version: 1.0
2009
+ Content-Type: text/html;
2010
+ charset=UTF-8
2011
+ Content-Transfer-Encoding: 7bit
2012
+
2013
+ <html>
2014
+ <body>
2015
+ <!DOCTYPE html>
2016
+ <html>
2017
+ <head>
2018
+ <meta content='text/html; charset=UTF-8' http-equiv='Content-Type' />
2019
+ </head>
2020
+ <body>
2021
+ <center>
2022
+ <table width="580" cellspacing="0" cellpadding="0" border="0" style="font-family:arial,'lucida grande','lucida sans','lucida sans unicode',tahoma,verdana,sans-serif;background:#FFF;border:2px solid #eee;padding: 10px 0px;background-color:#fff;text-align:left;">
2023
+ <tr>
2024
+ <td valign="top" style="padding: 15px;font-size: 14px; color: #000000; background-color:#ffffff;">
2025
+ Hi Krunal,
2026
+ <p style="margin:20px 0px;">Here are your login details.</p>
2027
+
2028
+ <p style="margin:10px 0px;color:#CC3333; font-weight: bold; font-size: 18px;">Account Information</p>
2029
+ <p style="margin:10px 0px;">Login ID: <b>krumasta@gmail.com</b></p>
2030
+ <p style="margin:10px 0px;">Password: <b>mpfhgzh</b></p>
2031
+ <br/>
2032
+ <p style="margin:20px 0px 10px 0px;">
2033
+ <b>For questions and support:</b>
2034
+ </p>
2035
+ <p style="margin:20px 0px 10px 0px;">
2036
+ To help you get started quickly with Oneclick, we encourage you to read our
2037
+ &nbsp;
2038
+ <a href = 'http://oneclick.com/help'>help blog</a>
2039
+ </p>
2040
+ <p style="margin:20px 0px 10px 0px;">
2041
+ Remember, you can always email us with your questions and feedback at support@oneclick.com or visit us at our contact us page for more information on support.
2042
+ </p>
2043
+ </td>
2044
+ </tr>
2045
+ <tr>
2046
+ <td style="padding: 10px 15px 15px; font-size:16px;background:#fff;">
2047
+ <p style="margin:0px 0px;">
2048
+ Thanks,<br>
2049
+ The OneClick Team<br>
2050
+ </p>
2051
+ </td>
2052
+ </tr>
2053
+
2054
+ </table>
2055
+ </center>
2056
+ </body>
2057
+ </html>
2058
+ </body>
2059
+ </html>
2060
+
2061
+ [ActiveJob] [ActionMailer::DeliveryJob] [82ad0c30-1971-491f-9e7e-772b15421da4] Performed ActionMailer::DeliveryJob from Inline(mailers) in 398.75ms
2062
+ Completed 200 OK in 880ms (Views: 0.3ms | ActiveRecord: 67.1ms)
2063
+
2064
+
2065
+ Started POST "/aadhar/sessions.json" for 127.0.0.1 at 2015-02-06 13:36:04 -0600
2066
+ Processing by Aadhar::SessionsController#create as JSON
2067
+ Parameters: {"email"=>"krumasta@gmail.com", "password"=>"[FILTERED]", "session"=>{"email"=>"krumasta@gmail.com", "password"=>"[FILTERED]"}}
2068
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`email` = 'krumasta@gmail.com' LIMIT 1
2069
+ User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE `users`.`authentication_token` = 'ehCCc-HsmQqSZ_MDs2F6Ew' LIMIT 1
2070
+  (0.0ms) BEGIN
2071
+ User Exists (0.2ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'krumasta@gmail.com' AND `users`.`id` != 10) LIMIT 1
2072
+ SQL (0.2ms) UPDATE `users` SET `authentication_token` = 'ehCCc-HsmQqSZ_MDs2F6Ew', `updated_at` = '2015-02-06 19:36:04.683555' WHERE `users`.`id` = 10
2073
+  (163.6ms) COMMIT
2074
+ Completed 200 OK in 242ms (Views: 0.4ms | ActiveRecord: 164.4ms)
2075
+
2076
+
2077
+ Started POST "/passwords.json?auth_token=ehCCc-HsmQqSZ_MDs2F6Ew" for 127.0.0.1 at 2015-02-06 13:36:19 -0600
2078
+
2079
+ ActionController::RoutingError (No route matches [POST] "/passwords.json"):
2080
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2081
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2082
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2083
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2084
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2085
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2086
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2087
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2088
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2089
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2090
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2091
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2092
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2093
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2094
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2095
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2096
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2097
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2098
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2099
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2100
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2101
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2102
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2103
+
2104
+
2105
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
2106
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
2107
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
2108
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (45.0ms)
2109
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (15.5ms)
2110
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (76.7ms)
2111
+
2112
+
2113
+ Started POST "/aadhar/passwords.json?auth_token=ehCCc-HsmQqSZ_MDs2F6Ew" for 127.0.0.1 at 2015-02-06 13:36:31 -0600
2114
+ Processing by Aadhar::PasswordsController#update as JSON
2115
+ Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "auth_token"=>"ehCCc-HsmQqSZ_MDs2F6Ew"}
2116
+ Completed 500 Internal Server Error in 1ms
2117
+
2118
+ NoMethodError (undefined method `authenticate' for #<Aadhar::PasswordsController:0x000000051183c0>):
2119
+ activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
2120
+ activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `call'
2121
+ activesupport (4.2.0) lib/active_support/callbacks.rb:145:in `block in halting_and_conditional'
2122
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
2123
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2124
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2125
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2126
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
2127
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2128
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2129
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
2130
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2131
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
2132
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2133
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2134
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2135
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
2136
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
2137
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
2138
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2139
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
2140
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
2141
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2142
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
2143
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2144
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2145
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2146
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2147
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2148
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
2149
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
2150
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
2151
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2152
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2153
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2154
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2155
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
2156
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
2157
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
2158
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2159
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2160
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
2161
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
2162
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2163
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2164
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2165
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2166
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2167
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2168
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2169
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2170
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2171
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2172
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2173
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2174
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2175
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2176
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2177
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2178
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2179
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2180
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2181
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2182
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2183
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2184
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2185
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2186
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2187
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2188
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2189
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2190
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2191
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2192
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2193
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2194
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2195
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2196
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2197
+
2198
+
2199
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.2ms)
2200
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
2201
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
2202
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (59.3ms)
2203
+
2204
+
2205
+ Started POST "/aadhar/passwords.json?auth_token=ehCCc-HsmQqSZ_MDs2F6Ew" for 127.0.0.1 at 2015-02-06 13:40:43 -0600
2206
+ Processing by Aadhar::PasswordsController#update as JSON
2207
+ Parameters: {"password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "auth_token"=>"ehCCc-HsmQqSZ_MDs2F6Ew"}
2208
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`authentication_token` = 'ehCCc-HsmQqSZ_MDs2F6Ew' ORDER BY `users`.`id` ASC LIMIT 1
2209
+  (0.2ms) BEGIN
2210
+ User Exists (0.4ms) SELECT 1 AS one FROM `users` WHERE (`users`.`email` = BINARY 'krumasta@gmail.com' AND `users`.`id` != 10) LIMIT 1
2211
+ SQL (1.3ms) UPDATE `users` SET `change_password` = 0, `password_salt` = '$2a$10$6G.uysQ49KB20KMN2Jq4h.', `password_hash` = '$2a$10$6G.uysQ49KB20KMN2Jq4h.QcYKA7l8oJ01tWABm/u89la.Ge4MyiG', `updated_at` = '2015-02-06 19:40:44.059013' WHERE `users`.`id` = 10
2212
+  (38.0ms) COMMIT
2213
+ Completed 200 OK in 294ms (Views: 0.4ms | ActiveRecord: 41.8ms)
2214
+ ActiveRecord::SchemaMigration Load (12.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2215
+ Migrating to CreateHighScores (20150206194145)
2216
+  (483.1ms) CREATE TABLE `high_scores` (`id` int(11) auto_increment PRIMARY KEY, `game` varchar(255), `score` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
2217
+  (0.1ms) BEGIN
2218
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150206194145')
2219
+  (38.4ms) COMMIT
2220
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2221
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2222
+ ,fk.referenced_column_name as 'primary_key'
2223
+ ,fk.column_name as 'column'
2224
+ ,fk.constraint_name as 'name'
2225
+ FROM information_schema.key_column_usage fk
2226
+ WHERE fk.referenced_column_name is not null
2227
+ AND fk.table_schema = 'test_dummy_development'
2228
+ AND fk.table_name = 'high_scores'
2229
+ 
2230
+  (0.1ms) SHOW CREATE TABLE `high_scores`
2231
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2232
+ ,fk.referenced_column_name as 'primary_key'
2233
+ ,fk.column_name as 'column'
2234
+ ,fk.constraint_name as 'name'
2235
+ FROM information_schema.key_column_usage fk
2236
+ WHERE fk.referenced_column_name is not null
2237
+ AND fk.table_schema = 'test_dummy_development'
2238
+ AND fk.table_name = 'users'
2239
+ 
2240
+  (0.1ms) SHOW CREATE TABLE `users`
2241
+
2242
+
2243
+ Started GET "/highscores.json?auth_token=ehCCc-HsmQqSZ_MDs2F6Ew" for 127.0.0.1 at 2015-02-06 13:43:50 -0600
2244
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2245
+
2246
+ ActionController::RoutingError (No route matches [GET] "/highscores.json"):
2247
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
2248
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2249
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2250
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2251
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2252
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2253
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2254
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2255
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2256
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2257
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2258
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2259
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2260
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2261
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2262
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2263
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2264
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2265
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2266
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2267
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2268
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2269
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2270
+
2271
+
2272
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
2273
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
2274
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
2275
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (6.1ms)
2276
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (46.2ms)
2277
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (98.4ms)
2278
+
2279
+
2280
+ Started GET "/high_scores.json?auth_token=ehCCc-HsmQqSZ_MDs2F6Ew" for 127.0.0.1 at 2015-02-06 13:44:19 -0600
2281
+ Processing by HighScoresController#index as JSON
2282
+ Parameters: {"auth_token"=>"ehCCc-HsmQqSZ_MDs2F6Ew"}
2283
+ Completed 500 Internal Server Error in 1ms
2284
+
2285
+ NoMethodError (undefined method `authenticate' for #<HighScoresController:0x00000004c28b30>):
2286
+ activesupport (4.2.0) lib/active_support/callbacks.rb:427:in `block in make_lambda'
2287
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `call'
2288
+ activesupport (4.2.0) lib/active_support/callbacks.rb:163:in `block in halting'
2289
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
2290
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
2291
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2292
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2293
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
2294
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2295
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2296
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2297
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
2298
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2299
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2300
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
2301
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2302
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
2303
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2304
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2305
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2306
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
2307
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
2308
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
2309
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2310
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
2311
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
2312
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2313
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
2314
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2315
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2316
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2317
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2318
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
2319
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
2320
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
2321
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2322
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2323
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
2324
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
2325
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2326
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2327
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2328
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2329
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2330
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2331
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2332
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2333
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2334
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2335
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2336
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2337
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2338
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2339
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2340
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2341
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2342
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2343
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2344
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2345
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2346
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2347
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2348
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2349
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2350
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2351
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2352
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2353
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2354
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2355
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2356
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2357
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2358
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2359
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2360
+
2361
+
2362
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.4ms)
2363
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.4ms)
2364
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.7ms)
2365
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (13.7ms)
2366
+
2367
+
2368
+ Started GET "/high_scores.json?auth_token=ehCCc-HsmQqSZ_MDs2F6Ew" for 127.0.0.1 at 2015-02-06 13:46:08 -0600
2369
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2370
+ Processing by HighScoresController#index as JSON
2371
+ Parameters: {"auth_token"=>"ehCCc-HsmQqSZ_MDs2F6Ew"}
2372
+ User Load (0.3ms) SELECT `users`.* FROM `users` WHERE `users`.`authentication_token` = 'ehCCc-HsmQqSZ_MDs2F6Ew' ORDER BY `users`.`id` ASC LIMIT 1
2373
+ Completed 500 Internal Server Error in 22ms
2374
+
2375
+ NoMethodError (undefined method `pry' for #<Binding:0x0000000440e5d0>):
2376
+ app/controllers/high_scores_controller.rb:7:in `index'
2377
+
2378
+
2379
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (27.4ms)
2380
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
2381
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.2ms)
2382
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (55.7ms)
2383
+
2384
+
2385
+ Started GET "/high_scores.json?auth_token=ehCCc-HsmQqSZ_MDs2F6Ew" for 127.0.0.1 at 2015-02-06 13:47:30 -0600
2386
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2387
+ Processing by HighScoresController#index as JSON
2388
+ Parameters: {"auth_token"=>"ehCCc-HsmQqSZ_MDs2F6Ew"}
2389
+ User Load (0.2ms) SELECT `users`.* FROM `users` WHERE `users`.`authentication_token` = 'ehCCc-HsmQqSZ_MDs2F6Ew' ORDER BY `users`.`id` ASC LIMIT 1
2390
+ Completed 500 Internal Server Error in 7354ms
2391
+
2392
+ ActionView::MissingTemplate (Missing template high_scores/index, application/index with {:locale=>[:en], :formats=>[:json], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
2393
+ * "/home/krunal/code/aadhar/test/dummy/app/views"
2394
+ * "/home/krunal/code/aadhar/app/views"
2395
+ ):
2396
+ actionview (4.2.0) lib/action_view/path_set.rb:46:in `find'
2397
+ actionview (4.2.0) lib/action_view/lookup_context.rb:121:in `find'
2398
+ actionview (4.2.0) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
2399
+ actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
2400
+ actionview (4.2.0) lib/action_view/renderer/template_renderer.rb:8:in `render'
2401
+ actionview (4.2.0) lib/action_view/renderer/renderer.rb:42:in `render_template'
2402
+ actionview (4.2.0) lib/action_view/renderer/renderer.rb:23:in `render'
2403
+ actionview (4.2.0) lib/action_view/rendering.rb:100:in `_render_template'
2404
+ actionpack (4.2.0) lib/action_controller/metal/streaming.rb:217:in `_render_template'
2405
+ actionview (4.2.0) lib/action_view/rendering.rb:83:in `render_to_body'
2406
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
2407
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
2408
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
2409
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
2410
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
2411
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
2412
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2413
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
2414
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
2415
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
2416
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
2417
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
2418
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2419
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2420
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
2421
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
2422
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2423
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2424
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2425
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
2426
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2427
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2428
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
2429
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
2430
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2431
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2432
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
2433
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2434
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2435
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2436
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
2437
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2438
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2439
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
2440
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2441
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
2442
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2443
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2444
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2445
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
2446
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
2447
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
2448
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2449
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
2450
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
2451
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2452
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
2453
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2454
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2455
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2456
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2457
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
2458
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
2459
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
2460
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2461
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2462
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
2463
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
2464
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2465
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2466
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2467
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2468
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2469
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2470
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2471
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2472
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2473
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2474
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2475
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2476
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2477
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2478
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2479
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2480
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2481
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2482
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2483
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2484
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2485
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2486
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2487
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2488
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2489
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2490
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2491
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2492
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2493
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2494
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2495
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2496
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
2497
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
2498
+ /home/krunal/.rvm/rubies/ruby-1.9.3-p545/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
2499
+
2500
+
2501
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (25.5ms)
2502
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
2503
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.9ms)
2504
+ Rendered /home/krunal/.rvm/gems/ruby-1.9.3-p545/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (53.9ms)