summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorazul <azul@leap.se>2014-07-09 13:25:31 +0200
committerazul <azul@leap.se>2014-07-09 13:25:31 +0200
commitdc740e4311101bf7297996788b25a99edafbe759 (patch)
treed989456179551fb167f6c41ba4b54bbd4a77a7ac
parent19da5429308412c19176733d2b32ccbf2c08df1c (diff)
parent0cc11ebb609de225fbeacbf80788b992b88b6ce6 (diff)
Merge pull request #173 from azul/feature/unblock-handles
Allow admins to unblock handles
-rw-r--r--app/assets/javascripts/users.js12
-rw-r--r--app/assets/stylesheets/application.scss2
-rw-r--r--app/assets/stylesheets/backport.scss24
-rw-r--r--app/assets/stylesheets/leap.scss21
-rw-r--r--app/controllers/identities_controller.rb34
-rw-r--r--app/controllers/users_controller.rb4
-rw-r--r--app/controllers/v1/users_controller.rb2
-rw-r--r--app/helpers/link_helper.rb25
-rw-r--r--app/helpers/navigation_helper.rb35
-rw-r--r--app/helpers/search_helper.rb9
-rw-r--r--app/helpers/table_helper.rb13
-rw-r--r--app/models/identity.rb24
-rw-r--r--app/models/user.rb4
-rw-r--r--app/views/common/_action.html.haml2
-rw-r--r--app/views/common/_navigation_item.html.haml9
-rw-r--r--app/views/common/_search.html.haml8
-rw-r--r--app/views/common/_table.html.haml18
-rw-r--r--app/views/identities/_identity.html.haml7
-rw-r--r--app/views/identities/index.html.haml5
-rw-r--r--app/views/layouts/_admin_navigation_item.html.haml3
-rw-r--r--app/views/layouts/_header.html.haml10
-rw-r--r--app/views/layouts/_navigation.html.haml15
-rw-r--r--app/views/users/index.html.haml13
-rw-r--r--config/initializers/braintree.rb26
-rw-r--r--config/locales/users.en.yml7
-rw-r--r--config/routes.rb2
-rw-r--r--engines/billing/config/initializers/braintree.rb23
-rw-r--r--engines/support/app/helpers/tickets_helper.rb42
-rw-r--r--engines/support/app/views/tickets/index.html.haml16
-rw-r--r--test/dummy/README.rdoc261
-rw-r--r--test/dummy/Rakefile7
-rw-r--r--test/dummy/app/assets/javascripts/application.js16
-rw-r--r--test/dummy/app/controllers/application_controller.rb5
-rw-r--r--test/dummy/app/helpers/application_helper.rb2
-rw-r--r--test/dummy/app/mailers/.gitkeep0
-rw-r--r--test/dummy/app/models/.gitkeep0
-rw-r--r--test/dummy/app/views/layouts/application.html.erb14
-rw-r--r--test/dummy/config.ru4
-rw-r--r--test/dummy/config/application.rb64
-rw-r--r--test/dummy/config/boot.rb10
-rw-r--r--test/dummy/config/cert56
-rw-r--r--test/dummy/config/environment.rb5
-rw-r--r--test/dummy/config/environments/development.rb31
-rw-r--r--test/dummy/config/environments/production.rb64
-rw-r--r--test/dummy/config/environments/test.rb35
-rw-r--r--test/dummy/config/initializers/backtrace_silencers.rb7
-rw-r--r--test/dummy/config/initializers/inflections.rb15
-rw-r--r--test/dummy/config/initializers/mime_types.rb5
-rw-r--r--test/dummy/config/initializers/secret_token.rb7
-rw-r--r--test/dummy/config/initializers/session_store.rb9
-rw-r--r--test/dummy/config/initializers/wrap_parameters.rb10
-rw-r--r--test/dummy/config/locales/en.yml5
-rw-r--r--test/dummy/config/routes.rb58
-rw-r--r--test/dummy/lib/assets/.gitkeep0
-rw-r--r--test/dummy/log/.gitkeep0
-rw-r--r--test/dummy/log/development.log2505
-rw-r--r--test/dummy/public/404.html26
-rw-r--r--test/dummy/public/422.html26
-rw-r--r--test/dummy/public/500.html25
-rw-r--r--test/dummy/public/favicon.ico0
-rwxr-xr-xtest/dummy/script/rails6
-rw-r--r--test/factories.rb6
-rw-r--r--test/functional/identities_controller_test.rb42
-rw-r--r--test/integration/browser/admin_test.rb28
-rw-r--r--test/support/browser_integration_test.rb2
65 files changed, 393 insertions, 3378 deletions
diff --git a/app/assets/javascripts/users.js b/app/assets/javascripts/users.js
index e6c2fcc..e0f1c9d 100644
--- a/app/assets/javascripts/users.js
+++ b/app/assets/javascripts/users.js
@@ -14,6 +14,7 @@
//
var poll_users,
+ poll_identities,
prevent_default,
clear_errors,
clear_field_errors,
@@ -31,6 +32,12 @@
}).done(process);
};
+ poll_identities = function(query, process) {
+ return $.get("/identities.json", {
+ query: query
+ }).done(process);
+ };
+
clear_errors = function() {
return $('#messages').empty();
};
@@ -173,9 +180,8 @@
$('#update_login_and_password').submit(srp.update);
$('#update_pgp_key').submit(prevent_default);
$('#update_pgp_key').submit(update_user);
- return $('#user-typeahead').typeahead({
- source: poll_users
- });
+ $('#user-typeahead').typeahead({ source: poll_users });
+ $('#identity-typeahead').typeahead({ source: poll_identities });
});
}).call(this);
diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss
index 28206b1..9cd3a55 100644
--- a/app/assets/stylesheets/application.scss
+++ b/app/assets/stylesheets/application.scss
@@ -11,6 +11,8 @@
//
@import "bootstrap";
@import "bootstrap-responsive";
+// backport bootstrap 3.2 features
+@import "backport";
//
// LEAP web app specific overrides
diff --git a/app/assets/stylesheets/backport.scss b/app/assets/stylesheets/backport.scss
new file mode 100644
index 0000000..cadb035
--- /dev/null
+++ b/app/assets/stylesheets/backport.scss
@@ -0,0 +1,24 @@
+//
+// Backporting styles from bootstrap 3.2
+//
+
+
+// List options
+
+// Unstyled keeps list items block level, just removes default browser padding and list-style
+.list-unstyled {
+ padding-left: 0;
+ list-style: none;
+}
+
+// Inline turns list items into inline-block
+.list-inline {
+ @extend .list-unstyled;
+ margin-left: -5px;
+
+ > li {
+ display: inline-block;
+ padding-left: 5px;
+ padding-right: 5px;
+ }
+}
diff --git a/app/assets/stylesheets/leap.scss b/app/assets/stylesheets/leap.scss
index 77104e5..3b7075c 100644
--- a/app/assets/stylesheets/leap.scss
+++ b/app/assets/stylesheets/leap.scss
@@ -145,6 +145,27 @@ input, textarea {
}
//
+// IDENTITIES
+//
+
+// Color code for the identity labels
+.identity{
+ &.main_email .label {
+ @extend .label-info
+ }
+ &.alias .label {
+ @extend .label-success
+ }
+ &.forward .label {
+ @extend .label-warning
+ }
+ &.disabled .label {
+ @extend .label-default
+ }
+}
+
+
+//
// BORING DEFAULT MASTHEAD
//
diff --git a/app/controllers/identities_controller.rb b/app/controllers/identities_controller.rb
new file mode 100644
index 0000000..8bd3b28
--- /dev/null
+++ b/app/controllers/identities_controller.rb
@@ -0,0 +1,34 @@
+class IdentitiesController < ApplicationController
+
+ respond_to :html, :json
+ before_filter :require_login
+ before_filter :require_admin
+ before_filter :fetch_identity, only: :destroy
+ before_filter :protect_main_email, only: :destroy
+
+ def index
+ if params[:query].present?
+ @identities = Identity.address_starts_with(params[:query]).limit(100)
+ else
+ @identities = []
+ end
+ respond_with @identities.map(&:login).sort
+ end
+
+ def destroy
+ @identity.destroy
+ redirect_to identities_path
+ end
+
+ protected
+ def fetch_identity
+ @identity = Identity.find(params[:id])
+ end
+
+ def protect_main_email
+ if @identity.status == :main_email
+ flash[:error] = "You cannot destroy the main email. Remove or Rename the user instead."
+ redirect_to identities_path
+ end
+ end
+end
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index c8e09b6..5951413 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -12,12 +12,12 @@ class UsersController < UsersBaseController
respond_to :html
def index
- if params[:query]
+ if params[:query].present?
if @user = User.find_by_login(params[:query])
redirect_to @user
return
else
- @users = User.by_login.startkey(params[:query]).endkey(params[:query].succ)
+ @users = User.login_starts_with(params[:query])
end
else
@users = User.by_created_at.descending
diff --git a/app/controllers/v1/users_controller.rb b/app/controllers/v1/users_controller.rb
index 8897d01..006e6d8 100644
--- a/app/controllers/v1/users_controller.rb
+++ b/app/controllers/v1/users_controller.rb
@@ -11,7 +11,7 @@ module V1
# used for autocomplete for admins in the web ui
def index
if params[:query]
- @users = User.by_login.startkey(params[:query]).endkey(params[:query].succ)
+ @users = User.login_starts_with(params[:query])
respond_with @users.map(&:login).sort
else
render :json => {'error' => 'query required', 'status' => :unprocessable_entity}
diff --git a/app/helpers/link_helper.rb b/app/helpers/link_helper.rb
index 55e392b..ddb063e 100644
--- a/app/helpers/link_helper.rb
+++ b/app/helpers/link_helper.rb
@@ -1,5 +1,30 @@
module LinkHelper
+ Action = Struct.new(:target, :verb, :options) do
+ def to_partial_path; 'common/action'; end
+ def label; options[:label]; end
+ def class; verb; end
+ def url
+ case verb
+ when :show, :destroy then target
+ when :edit, :new then [verb, target]
+ end
+ end
+
+ def html_options
+ if verb == :destroy
+ {method: :delete}
+ end
+ end
+ end
+
+ def actions(target)
+ target.actions.map do |action|
+ Action.new target, action,
+ label: t(".#{action}", cascade: true)
+ end
+ end
+
#
# markup for bootstrap button
#
diff --git a/app/helpers/navigation_helper.rb b/app/helpers/navigation_helper.rb
index 19cb934..779ce58 100644
--- a/app/helpers/navigation_helper.rb
+++ b/app/helpers/navigation_helper.rb
@@ -1,19 +1,19 @@
module NavigationHelper
#
- # used to create a side navigation link.
+ # Create a navigation link.
#
- # Signature is the same as link_to, except it accepts an :active value in the html_options
+ # Signature is the same as link_to, except...
+ # * it accepts an :active flag in the html_options
+ # * it accepts an :icon string in the html_options
+ # * the label (first arg) will be translated
#
def link_to_navigation(*args)
- if args.last.is_a? Hash
- html_options = args.pop.dup
- active_class = html_options.delete(:active) ? 'active' : nil
- html_options[:class] = [html_options[:class], active_class].join(' ')
- args << html_options
- else
- active_class = nil
- end
+ html_options = args.extract_options! || {}
+ active_class = extract_active_class!(html_options)
+ icon = extract_icon!(html_options)
+ args[0] = icon + translate(args[0], cascade: true)
+ args << html_options if html_options.present?
content_tag :li, :class => active_class do
link_to(*args)
end
@@ -59,6 +59,21 @@ module NavigationHelper
private
+ def extract_active_class!(options)
+ active_class = options.delete(:active) ? 'active' : nil
+ options[:class] = [options[:class], active_class].compact.join(' ')
+ active_class
+ end
+
+ def extract_icon!(options)
+ icon = options.delete(:icon)
+ if icon.present?
+ content_tag(:i, '', class: 'icon-'+ icon)
+ else
+ ""
+ end
+ end
+
def controller_string
@controller_string ||= params[:controller].to_s.gsub(/^\//, '')
end
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
new file mode 100644
index 0000000..35b9358
--- /dev/null
+++ b/app/helpers/search_helper.rb
@@ -0,0 +1,9 @@
+module SearchHelper
+
+ def search(target)
+ render 'common/search', path: url_for(target),
+ id: target.to_s.singularize,
+ submit_label: t('.search', cascade: true)
+ end
+
+end
diff --git a/app/helpers/table_helper.rb b/app/helpers/table_helper.rb
new file mode 100644
index 0000000..16a7019
--- /dev/null
+++ b/app/helpers/table_helper.rb
@@ -0,0 +1,13 @@
+module TableHelper
+
+ # we do the translation here so the .key lookup is relative
+ # to the partial the helper was called from.
+ def table(content, columns)
+ render 'common/table',
+ content: content,
+ columns: columns,
+ headers: columns.map {|h| t(".#{h}", cascading: true) },
+ none: t('.none', cascading: true)
+ end
+
+end
diff --git a/app/models/identity.rb b/app/models/identity.rb
index e7b5785..eb67b1b 100644
--- a/app/models/identity.rb
+++ b/app/models/identity.rb
@@ -46,6 +46,10 @@ class Identity < CouchRest::Model::Base
end
+ def self.address_starts_with(query)
+ self.by_address.startkey(query).endkey(query + "\ufff0")
+ end
+
def self.for(user, attributes = {})
find_for(user, attributes) || build_for(user, attributes)
end
@@ -95,6 +99,18 @@ class Identity < CouchRest::Model::Base
}
end
+ def status
+ return :blocked if disabled?
+ case destination
+ when address
+ :main_email
+ when /@#{APP_CONFIG[:domain]}\Z/i,
+ :alias
+ else
+ :forward
+ end
+ end
+
def enabled?
self.user_id
end
@@ -103,6 +119,14 @@ class Identity < CouchRest::Model::Base
!enabled?
end
+ def actions
+ if enabled?
+ [] # [:show, :edit]
+ else
+ [:destroy]
+ end
+ end
+
def disable
self.destination = nil
self.user_id = nil
diff --git a/app/models/user.rb b/app/models/user.rb
index f8b9ddc..6bc5841 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -42,6 +42,10 @@ class User < CouchRest::Model::Base
view :by_created_at
end # end of design
+ def self.login_starts_with(query)
+ self.by_login.startkey(query).endkey(query + "\ufff0")
+ end
+
def reload
@identity = nil
super
diff --git a/app/views/common/_action.html.haml b/app/views/common/_action.html.haml
new file mode 100644
index 0000000..71ffd96
--- /dev/null
+++ b/app/views/common/_action.html.haml
@@ -0,0 +1,2 @@
+%li.action{class: action.class}
+ =link_to action.label, action.url, action.html_options
diff --git a/app/views/common/_navigation_item.html.haml b/app/views/common/_navigation_item.html.haml
new file mode 100644
index 0000000..39b20d7
--- /dev/null
+++ b/app/views/common/_navigation_item.html.haml
@@ -0,0 +1,9 @@
+-#
+-# A very simple navigation link. It takes a symbol, uses it for the
+-# translation, path and determining if the link is active.
+-#
+-# For something more complex use link_to_navigation directly instead.
+-#
+- item = navigation_item.to_s
+= link_to_navigation ".#{item}", polymorphic_url(item),
+ active: controller?(item)
diff --git a/app/views/common/_search.html.haml b/app/views/common/_search.html.haml
new file mode 100644
index 0000000..9f14903
--- /dev/null
+++ b/app/views/common/_search.html.haml
@@ -0,0 +1,8 @@
+= form_tag path, :method => :get, :class => "form-search" do
+ .input-append
+ = text_field_tag :query, params[:query],
+ id: "#{id}-typeahead",
+ class: "search-query",
+ autocomplete: :off
+ %button.btn{:type => :submit}= submit_label
+
diff --git a/app/views/common/_table.html.haml b/app/views/common/_table.html.haml
new file mode 100644
index 0000000..44762da
--- /dev/null
+++ b/app/views/common/_table.html.haml
@@ -0,0 +1,18 @@
+-#
+-# A simple table with headers, content and a message if there is no
+-# content.
+-# You can use the table helper method to translate the headers and
+-# error message.
+-#
+%table.table.table-striped.table-bordered
+ %thead
+ %tr
+ - headers.each do |header|
+ %th= header
+ %tbody
+ - if content.present?
+ = render content.all
+ - else
+ %tr
+ %td{:colspan=>headers.count}= none
+
diff --git a/app/views/identities/_identity.html.haml b/app/views/identities/_identity.html.haml
new file mode 100644
index 0000000..7c4aeda
--- /dev/null
+++ b/app/views/identities/_identity.html.haml
@@ -0,0 +1,7 @@
+%tr[identity]{class: identity.status}
+ %td
+ %span.label= t(".#{identity.status}", cascading: true)
+ %td= identity.login
+ %td= identity.destination
+ %td
+ %ul.list-inline= render actions(identity)
diff --git a/app/views/identities/index.html.haml b/app/views/identities/index.html.haml
new file mode 100644
index 0000000..e4f48eb
--- /dev/null
+++ b/app/views/identities/index.html.haml
@@ -0,0 +1,5 @@
+-@show_navigation = false
+
+= search :identities
+= table @identities, %w(type username destination actions)
+-# = paginate @identities
diff --git a/app/views/layouts/_admin_navigation_item.html.haml b/app/views/layouts/_admin_navigation_item.html.haml
new file mode 100644
index 0000000..8dd8a39
--- /dev/null
+++ b/app/views/layouts/_admin_navigation_item.html.haml
@@ -0,0 +1,3 @@
+- item = admin_navigation_item.to_s
+%li{:class => ("active" if controller?(item))}
+ = link_to t(".#{item}", cascade: true), path_for(item)
diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml
index e827f60..7b7999a 100644
--- a/app/views/layouts/_header.html.haml
+++ b/app/views/layouts/_header.html.haml
@@ -1,12 +1,8 @@
- if admin?
%ul.nav.nav-tabs
- = # this navigation isn't quite right. also, we will want to active for an identity controller once it is added.
- %li{:class => ("active" if controller?('users', 'overviews') || params[:user_id])}
- = link_to t(".users"), users_path
- %li{:class => ("active" if controller?('tickets') && !params[:user_id])}
- = link_to t(".tickets", cascade: true), tickets_path
- %li
- = link_to t(:logout), logout_path, :method => :delete
+ = render partial: 'common/navigation_item',
+ collection: [:users, :identities, :tickets]
+ = link_to_navigation :logout, logout_path, :method => :delete
- if @user && @show_navigation
.lead
= @user.email_address
diff --git a/app/views/layouts/_navigation.html.haml b/app/views/layouts/_navigation.html.haml
index 94f71f7..dccba0c 100644
--- a/app/views/layouts/_navigation.html.haml
+++ b/app/views/layouts/_navigation.html.haml
@@ -1,7 +1,12 @@
%ul.nav.sidenav
- = link_to_navigation t(:overview), @user, :active => (controller?(:users) && action?(:show))
- = link_to_navigation t(:account_settings), edit_user_path(@user), :active => (controller?(:users) && !action?(:show))
+ = link_to_navigation :overview, @user,
+ active: (controller?(:users) && action?(:show))
+ = link_to_navigation :account_settings, edit_user_path(@user),
+ active: (controller?(:users) && !action?(:show))
- # will want link for identity settings
- = link_to_navigation t(".tickets"), auto_tickets_path, :active => controller?(:tickets)
- = link_to_navigation t(:billing_settings), billing_top_link(@user), :active => controller?(:customer, :payments, :subscriptions, :credit_card_info) if APP_CONFIG[:billing]
- = link_to_navigation t(:logout), logout_path, :method => :delete
+ = link_to_navigation ".tickets", auto_tickets_path,
+ active: controller?(:tickets)
+ - if APP_CONFIG[:billing]
+ = link_to_navigation :billing_settings, billing_top_link(@user),
+ active: controller?(:customer, :payments, :subscriptions, :credit_card_info)
+ = link_to_navigation :logout, logout_path, method: :delete
diff --git a/app/views/users/index.html.haml b/app/views/users/index.html.haml
index fc1001e..3ed8835 100644
--- a/app/views/users/index.html.haml
+++ b/app/views/users/index.html.haml
@@ -1,13 +1,4 @@
- @show_navigation = false
-= form_tag users_path, :method => :get, :class => "form-search" do
- .input-append
- = text_field_tag :query, params[:query], :id => 'user-typeahead', :class => "search-query", :autocomplete => :off
- %button.btn{:type => :submit}= t(:search)
-
-%table.table.table-striped
- %tr
- %th= t(:username)
- %th= t(:created)
- %th= t(:updated)
- = render @users.all
+= search :users
+= table @users, %w(username, created, updated)
diff --git a/config/initializers/braintree.rb b/config/initializers/braintree.rb
new file mode 100644
index 0000000..1eeb393
--- /dev/null
+++ b/config/initializers/braintree.rb
@@ -0,0 +1,26 @@
+if defined? Braintree
+
+ #
+ # set logger
+ #
+ if APP_CONFIG[:logfile].blank?
+ require 'syslog/logger'
+ Braintree::Configuration.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new('webapp'))
+ else
+ Braintree::Configuration.logger = Logger.new('log/braintree.log')
+ end
+
+ #
+ # You can set these per environment in config/config.yml:
+ #
+ # Environment must be one of: :development, :qa, :sandbox, :production
+ #
+ if billing = APP_CONFIG[:billing]
+ if braintree = billing[:braintree]
+ Braintree::Configuration.environment = braintree[:environment].downcase.to_sym
+ Braintree::Configuration.merchant_id = braintree[:merchant_id]
+ Braintree::Configuration.public_key = braintree[:public_key]
+ Braintree::Configuration.private_key = braintree[:private_key]
+ end
+ end
+end
diff --git a/config/locales/users.en.yml b/config/locales/users.en.yml
index f0fcb3d..bebf1cf 100644
--- a/config/locales/users.en.yml
+++ b/config/locales/users.en.yml
@@ -1,6 +1,9 @@
en:
- layouts:
- users: "Users"
+ common:
+ navigation_item:
+ users: "Users"
+ identities: "Usernames"
+ tickets: "Tickets"
user_control_panel: "user control panel"
account_settings: "Account Settings"
username: "Username"
diff --git a/config/routes.rb b/config/routes.rb
index 4ccfe62..468e14e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -48,6 +48,8 @@ LeapWeb::Application.routes.draw do
post 'deactivate', on: :member
post 'enable', on: :member
end
+
+ resources :identities, :only => [:index, :destroy]
end
get "/.well-known/host-meta" => 'webfinger#host_meta'
diff --git a/engines/billing/config/initializers/braintree.rb b/engines/billing/config/initializers/braintree.rb
deleted file mode 100644
index 3d87f4c..0000000
--- a/engines/billing/config/initializers/braintree.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-#
-# set logger
-#
-if APP_CONFIG[:logfile].blank?
- require 'syslog/logger'
- Braintree::Configuration.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new('webapp'))
-else
- Braintree::Configuration.logger = Logger.new('log/braintree.log')
-end
-
-#
-# You can set these per environment in config/config.yml:
-#
-# Environment must be one of: :development, :qa, :sandbox, :production
-#
-if billing = APP_CONFIG[:billing]
- if braintree = billing[:braintree]
- Braintree::Configuration.environment = braintree[:environment].downcase.to_sym
- Braintree::Configuration.merchant_id = braintree[:merchant_id]
- Braintree::Configuration.public_key = braintree[:public_key]
- Braintree::Configuration.private_key = braintree[:private_key]
- end
-end
diff --git a/engines/support/app/helpers/tickets_helper.rb b/engines/support/app/helpers/tickets_helper.rb
index 11b02e4..7db31dc 100644
--- a/engines/support/app/helpers/tickets_helper.rb
+++ b/engines/support/app/helpers/tickets_helper.rb
@@ -35,32 +35,32 @@ module TicketsHelper
#
def link_to_status(new_status)
- label = t(:".#{new_status}", cascade: true)
- link_to label, auto_tickets_path(:open_status => new_status, :sort_order => search_order)
+ label = ".#{new_status}"
+ link_to_navigation label, auto_tickets_path(open_status: new_status, sort_order: search_order)
end
def link_to_order(order_field)
- if search_order.start_with?(order_field)
- # link for currently-filtered field. Link to other direction of this field.
- if search_order.end_with? 'asc'
- direction = 'desc'
- icon_direction = 'up'
- else
- direction = 'asc'
- icon_direction = 'down'
- end
- arrow = content_tag(:i, '', class: 'icon-arrow-'+ icon_direction)
- else
- # for not-currently-filtered field, don't display an arrow, and link to descending direction
- arrow = ''
- direction = 'desc'
- end
+ direction = new_direction_for_order(order_field)
+ icon = icon_for_direction(direction)
+ # for not-currently-filtered field link to descending direction
+ direction ||= 'desc'
+ label = ".#{order_field}"
+ link_to_navigation label, auto_tickets_path(sort_order: order_field + '_at_' + direction, open_status: search_status),
+ icon: icon
+ end
- label = t(:".#{order_field}", cascade: true)
- link_to auto_tickets_path(:sort_order => order_field + '_at_' + direction, :open_status => search_status) do
- arrow + label
- end
+ def new_direction_for_order(order_field)
+ # return if we're not filtering by this field
+ return unless search_order.start_with?(order_field)
+ # Link to the other direction for the filtered field.
+ search_order.end_with?('asc') ? 'desc' : 'asc'
+ end
+
+ def icon_for_direction(direction)
+ # Don't display an icon if we do not filter this field
+ return if direction.blank?
+ direction == 'asc' ? 'arrow-down' : 'arrow-up'
end
end
diff --git a/engines/support/app/views/tickets/index.html.haml b/engines/support/app/views/tickets/index.html.haml
index 526cd6d..d107ce2 100644
--- a/engines/support/app/views/tickets/index.html.haml
+++ b/engines/support/app/views/tickets/index.html.haml
@@ -1,19 +1,5 @@
- @show_navigation = params[:user_id].present?
= render 'tickets/tabs'
-
-%table.table.table-striped.table-bordered
- %thead
- %tr
- %th= t(".subject")
- %th= t(".created")
- %th= t(".updated")
- %th= t(".voices")
- %tbody
- - if @tickets.any?
- = render @tickets.all
- - else
- %tr
- %td{:colspan=>4}= t(".none")
-
+= table @tickets, %w(subject created updated voices)
= paginate @tickets
diff --git a/test/dummy/README.rdoc b/test/dummy/README.rdoc
deleted file mode 100644
index 7c36f23..0000000
--- a/test/dummy/README.rdoc
+++ /dev/null
@@ -1,261 +0,0 @@
-== Welcome to Rails
-
-Rails is a web-application framework that includes everything needed to create
-database-backed web applications according to the Model-View-Control pattern.
-
-This pattern splits the view (also called the presentation) into "dumb"
-templates that are primarily responsible for inserting pre-built data in between
-HTML tags. The model contains the "smart" domain objects (such as Account,
-Product, Person, Post) that holds all the business logic and knows how to
-persist themselves to a database. The controller handles the incoming requests
-(such as Save New Account, Update Product, Show Post) by manipulating the model
-and directing data to the view.
-
-In Rails, the model is handled by what's called an object-relational mapping
-layer entitled Active Record. This layer allows you to present the data from
-database rows as objects and embellish these data objects with business logic
-methods. You can read more about Active Record in
-link:files/vendor/rails/activerecord/README.html.
-
-The controller and view are handled by the Action Pack, which handles both
-layers by its two parts: Action View and Action Controller. These two layers
-are bundled in a single package due to their heavy interdependence. This is
-unlike the relationship between the Active Record and Action Pack that is much
-more separate. Each of these packages can be used independently outside of
-Rails. You can read more about Action Pack in
-link:files/vendor/rails/actionpack/README.html.
-
-
-== Getting Started
-
-1. At the command prompt, create a new Rails application:
- <tt>rails new myapp</tt> (where <tt>myapp</tt> is the application name)
-
-2. Change directory to <tt>myapp</tt> and start the web server:
- <tt>cd myapp; rails server</tt> (run with --help for options)
-
-3. Go to http://localhost:3000/ and you'll see:
- "Welcome aboard: You're riding Ruby on Rails!"
-
-4. Follow the guidelines to start developing your application. You can find
-the following resources handy:
-
-* The Getting Started Guide: http://guides.rubyonrails.org/getting_started.html
-* Ruby on Rails Tutorial Book: http://www.railstutorial.org/
-
-
-== Debugging Rails
-
-Sometimes your application goes wrong. Fortunately there are a lot of tools that
-will help you debug it and get it back on the rails.
-
-First area to check is the application log files. Have "tail -f" commands
-running on the server.log and development.log. Rails will automatically display
-debugging and runtime information to these files. Debugging info will also be
-shown in the browser on requests from 127.0.0.1.
-
-You can also log your own messages directly into the log file from your code
-using the Ruby logger class from inside your controllers. Example:
-
- class WeblogController < ActionController::Base
- def destroy
- @weblog = Weblog.find(params[:id])
- @weblog.destroy
- logger.info("#{Time.now} Destroyed Weblog ID ##{@weblog.id}!")
- end
- end
-
-The result will be a message in your log file along the lines of:
-
- Mon Oct 08 14:22:29 +1000 2007 Destroyed Weblog ID #1!
-
-More information on how to use the logger is at http://www.ruby-doc.org/core/
-
-Also, Ruby documentation can be found at http://www.ruby-lang.org/. There are
-several books available online as well:
-
-* Programming Ruby: http://www.ruby-doc.org/docs/ProgrammingRuby/ (Pickaxe)
-* Learn to Program: http://pine.fm/LearnToProgram/ (a beginners guide)
-
-These two books will bring you up to speed on the Ruby language and also on
-programming in general.
-
-
-== Debugger
-
-Debugger support is available through the debugger command when you start your
-Mongrel or WEBrick server with --debugger. This means that you can break out of
-execution at any point in the code, investigate and change the model, and then,
-resume execution! You need to install ruby-debug to run the server in debugging
-mode. With gems, use <tt>sudo gem install ruby-debug</tt>. Example:
-
- class WeblogController < ActionController::Base
- def index
- @posts = Post.all
- debugger
- end
- end
-
-So the controller will accept the action, run the first line, then present you
-with a IRB prompt in the server window. Here you can do things like:
-
- >> @posts.inspect
- => "[#<Post:0x14a6be8
- @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>,
- #<Post:0x14a6620
- @attributes={"title"=>"Rails", "body"=>"Only ten..", "id"=>"2"}>]"
- >> @posts.first.title = "hello from a debugger"
- => "hello from a debugger"
-
-...and even better, you can examine how your runtime objects actually work:
-
- >> f = @posts.first
- => #<Post:0x13630c4 @attributes={"title"=>nil, "body"=>nil, "id"=>"1"}>
- >> f.
- Display all 152 possibilities? (y or n)
-
-Finally, when you're ready to resume execution, you can enter "cont".
-
-
-== Console
-
-The console is a Ruby shell, which allows you to interact with your
-application's domain model. Here you'll have all parts of the application
-configured, just like it is when the application is running. You can inspect
-domain models, change values, and save to the database. Starting the script
-without arguments will launch it in the development environment.
-
-To start the console, run <tt>rails console</tt> from the application
-directory.
-
-Options:
-
-* Passing the <tt>-s, --sandbox</tt> argument will rollback any modifications
- made to the database.
-* Passing an environment name as an argument will load the corresponding
- environment. Example: <tt>rails console production</tt>.
-
-To reload your controllers and models after launching the console run
-<tt>reload!</tt>
-
-More information about irb can be found at:
-link:http://www.rubycentral.org/pickaxe/irb.html
-
-
-== dbconsole
-
-You can go to the command line of your database directly through <tt>rails
-dbconsole</tt>. You would be connected to the database with the credentials
-defined in database.yml. Starting the script without arguments will connect you
-to the development database. Passing an argument will connect you to a different
-database, like <tt>rails dbconsole production</tt>. Currently works for MySQL,
-PostgreSQL and SQLite 3.
-
-== Description of Contents
-
-The default directory structure of a generated Ruby on Rails application:
-
- |-- app
- | |-- assets
- | |-- images
- | |-- javascripts
- | `-- stylesheets
- | |-- controllers
- | |-- helpers
- | |-- mailers
- | |-- models
- | `-- views
- | `-- layouts
- |-- config
- | |-- environments
- | |-- initializers
- | `-- locales
- |-- db
- |-- doc
- |-- lib
- | `-- tasks
- |-- log
- |-- public
- |-- script
- |-- test
- | |-- fixtures
- | |-- functional
- | |-- integration
- | |-- performance
- | `-- unit
- |-- tmp
- | |-- cache
- | |-- pids
- | |-- sessions
- | `-- sockets
- `-- vendor
- |-- assets
- `-- stylesheets
- `-- plugins
-
-app
- Holds all the code that's specific to this particular application.
-
-app/assets
- Contains subdirectories for images, stylesheets, and JavaScript files.
-
-app/controllers
- Holds controllers that should be named like weblogs_controller.rb for
- automated URL mapping. All controllers should descend from
- ApplicationController which itself descends from ActionController::Base.
-
-app/models
- Holds models that should be named like post.rb. Models descend from
- ActiveRecord::Base by default.
-
-app/views
- Holds the template files for the view that should be named like
- weblogs/index.html.erb for the WeblogsController#index action. All views use
- eRuby syntax by default.
-
-app/views/layouts
- Holds the template files for layouts to be used with views. This models the
- common header/footer method of wrapping views. In your views, define a layout
- using the <tt>layout :default</tt> and create a file named default.html.erb.
- Inside default.html.erb, call <% yield %> to render the view using this
- layout.
-
-app/helpers
- Holds view helpers that should be named like weblogs_helper.rb. These are
- generated for you automatically when using generators for controllers.
- Helpers can be used to wrap functionality for your views into methods.
-
-config
- Configuration files for the Rails environment, the routing map, the database,
- and other dependencies.
-
-db
- Contains the database schema in schema.rb. db/migrate contains all the
- sequence of Migrations for your schema.
-
-doc
- This directory is where your application documentation will be stored when
- generated using <tt>rake doc:app</tt>
-
-lib
- Application specific libraries. Basically, any kind of custom code that
- doesn't belong under controllers, models, or helpers. This directory is in
- the load path.
-
-public
- The directory available for the web server. Also contains the dispatchers and the
- default HTML files. This should be set as the DOCUMENT_ROOT of your web
- server.
-
-script
- Helper scripts for automation and generation.
-
-test
- Unit and functional tests along with fixtures. When using the rails generate
- command, template test files will be generated for you and placed in this
- directory.
-
-vendor
- External libraries that the application depends on. Also includes the plugins
- subdirectory. If the app has frozen rails, those gems also go here, under
- vendor/rails/. This directory is in the load path.
diff --git a/test/dummy/Rakefile b/test/dummy/Rakefile
deleted file mode 100644
index 3645852..0000000
--- a/test/dummy/Rakefile
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env rake
-# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-
-require File.expand_path('../config/application', __FILE__)
-
-Dummy::Application.load_tasks
diff --git a/test/dummy/app/assets/javascripts/application.js b/test/dummy/app/assets/javascripts/application.js
deleted file mode 100644
index b3ce228..0000000
--- a/test/dummy/app/assets/javascripts/application.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This is a manifest file that'll be compiled into application.js, which will include all the files
-// listed below.
-//
-// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
-// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
-//
-// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
-// the compiled file.
-//
-// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
-// GO AFTER THE REQUIRES BELOW.
-//
-//= require jquery
-//= require jquery_ujs
-//= require_tree .
-//= require srp
diff --git a/test/dummy/app/controllers/application_controller.rb b/test/dummy/app/controllers/application_controller.rb
deleted file mode 100644
index be7aa1f..0000000
--- a/test/dummy/app/controllers/application_controller.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-class ApplicationController < ActionController::Base
- protect_from_forgery
-
- ActiveSupport.run_load_hooks(:application_controller, self)
-end
diff --git a/test/dummy/app/helpers/application_helper.rb b/test/dummy/app/helpers/application_helper.rb
deleted file mode 100644
index de6be79..0000000
--- a/test/dummy/app/helpers/application_helper.rb
+++ /dev/null
@@ -1,2 +0,0 @@
-module ApplicationHelper
-end
diff --git a/test/dummy/app/mailers/.gitkeep b/test/dummy/app/mailers/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/test/dummy/app/mailers/.gitkeep
+++ /dev/null
diff --git a/test/dummy/app/models/.gitkeep b/test/dummy/app/models/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/test/dummy/app/models/.gitkeep
+++ /dev/null
diff --git a/test/dummy/app/views/layouts/application.html.erb b/test/dummy/app/views/layouts/application.html.erb
deleted file mode 100644
index 4cab268..0000000
--- a/test/dummy/app/views/layouts/application.html.erb
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Dummy</title>
- <%= stylesheet_link_tag "application", :media => "all" %>
- <%= javascript_include_tag "application" %>
- <%= csrf_meta_tags %>
-</head>
-<body>
-
-<%= yield %>
-
-</body>
-</html>
diff --git a/test/dummy/config.ru b/test/dummy/config.ru
deleted file mode 100644
index 1989ed8..0000000
--- a/test/dummy/config.ru
+++ /dev/null
@@ -1,4 +0,0 @@
-# This file is used by Rack-based servers to start the application.
-
-require ::File.expand_path('../config/environment', __FILE__)
-run Dummy::Application
diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb
deleted file mode 100644
index 9e345a6..0000000
--- a/test/dummy/config/application.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-require File.expand_path('../boot', __FILE__)
-
-# Pick the frameworks you want:
-# require "active_record/railtie"
-require "action_controller/railtie"
-require "action_mailer/railtie"
-require "active_resource/railtie"
-require "sprockets/railtie"
-require "rails/test_unit/railtie"
-
-Bundler.require
-
-module Dummy
- class Application < Rails::Application
- # Settings in config/environments/* take precedence over those specified here.
- # Application configuration should go into files in config/initializers
- # -- all .rb files in that directory are automatically loaded.
-
- # Custom directories with classes and modules you want to be autoloadable.
- # config.autoload_paths += %W(#{config.root}/extras)
-
- # Only load the plugins named here, in the order given (default is alphabetical).
- # :all can be used as a placeholder for all plugins not explicitly named.
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
-
- # Activate observers that should always be running.
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
-
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
- # config.time_zone = 'Central Time (US & Canada)'
-
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
- # config.i18n.default_locale = :de
-
- # Configure the default encoding used in templates for Ruby 1.9.
- config.encoding = "utf-8"
-
- # Configure sensitive parameters which will be filtered from the log file.
- config.filter_parameters += [:password]
-
- # Enable escaping HTML in JSON.
- config.active_support.escape_html_entities_in_json = true
-
- # Use SQL instead of Active Record's schema dumper when creating the database.
- # This is necessary if your schema can't be completely dumped by the schema dumper,
- # like if you have constraints or database-specific column types
- # config.active_record.schema_format = :sql
-
- # Enforce whitelist mode for mass assignment.
- # This will create an empty whitelist of attributes available for mass-assignment for all models
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
- # parameters by using an attr_accessible or attr_protected declaration.
- # config.active_record.whitelist_attributes = true
-
- # Enable the asset pipeline
- config.assets.enabled = true
-
- # Version of your assets, change this if you want to expire all your assets
- config.assets.version = '1.0'
- end
-end
-
diff --git a/test/dummy/config/boot.rb b/test/dummy/config/boot.rb
deleted file mode 100644
index eba0681..0000000
--- a/test/dummy/config/boot.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-require 'rubygems'
-gemfile = File.expand_path('../../../../Gemfile', __FILE__)
-
-if File.exist?(gemfile)
- ENV['BUNDLE_GEMFILE'] = gemfile
- require 'bundler'
- Bundler.setup
-end
-
-$:.unshift File.expand_path('../../../../lib', __FILE__) \ No newline at end of file
diff --git a/test/dummy/config/cert b/test/dummy/config/cert
deleted file mode 100644
index 27db0fd..0000000
--- a/test/dummy/config/cert
+++ /dev/null
@@ -1,56 +0,0 @@
------BEGIN RSA PRIVATE KEY-----
-MIIFfQIBAAKCATEArnxTeU82frha6g4AchpzAA92ry0PD/FZVK5UiMsbwHfAl/XJ
-udVH0+51DSC5X4p9esftRQNCaJY/4zESe15Sna7aR+FyUoE+LcPpzMpCYH61TUzj
-YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c
-XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X
-rC3KeJR+jOynTkJ key block for testing Sc6Cz2uJBeARNLvTBAj66q
-zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i
-NV307K4fgLJbY4b valid client key Y69SOuXgz7ECsoXy1bWQsi
-TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI
-8zqMwDMRf9x7a4GBGmm7n+YSCLy3f8fejw2ZAQIDAQABAoIBMAt3bSQ8Nz3AT20x
-XfEusdn/mGSpq7Co3CprStlr+IaVixpe622FPCNOt0x1RMjR2yrzYkvzC9DZperp
-mWLj7XF3X8FS3gd0Whhl4bS5yZuC8cd7Gq4bx8mGPIwqQzwOXb1mJXt5RPv+zU6X
-J4cSX0GIUBNb1yVsUDouqo1q+saPgBSjhS4xr6sb38XALvzvgVvY/M7YGpSr0Vyv
-ErAwxaGpdk+RppAjcxWBXLuMcIgtU+gSoEogdYzJkoJdwOfcyIllyqlaamcv4T84
-gMWRFncCgZkAzUBt1t3GpuyGVPkD2evtQrBWwg09kx1PAyoNwLDOiarmzUr/euvC
-4W+BfbvmH3Q1dfyQMc/+Y2/LAhvwwkp1F66KsF1xcz6q3FCDN0BGurhIH3rsS1r8
-m+FZ324xLCYXYBDXCwa3B1YsX9d54JuzXzClr+t0xoz5lZzDLgwEEdK9bttGBL0w
-ReIl7KW/TwKDbkPxe+3yCI8CgZkA2aCJUmCtkvaCIX0Udr6g3iyu6lQYbq532/FW
-MNh+KJA3NqXOvGZd9T1DfjlxOqsfGD4H92ekUdy/GdX9SAH4A0RW24gUazNY9N1d
-tdkq8OAxwswquvXC0U5WXsZVp6z1CFawjUiZbW8CgZkAvP9V5SOkN7LWY0pFJJad
-i+oKiXdduqijR/uiXEuyc4v+KQ2lQM/1DEqu0hGKj+enYJtBGPMe+E9+XuZwYMWe
-nsmR1/LNPcM0U3LdOvpviOXv7zNUPyri5sMhjuDFnzMHw1REhsnKqk+XtKJ7yLx9
-I8hiBtKUlBUhietNWEQEnQzxxKMRELaAU+1RFJ7vEVb0JUXFCGPrmbsCgZkAyZrW
-4Zr+GyGz96AetksM5svDVqVed9qzxqPX7/i16F3HmIJKS8lVXLj3TDBJAQTJNhSN
-m+HD6mlClBNzaa2fCTMLtzjAiYhGsRIZbpagCKPRAmcH5bBPSmi+pahBJMBxxdtx
-NdhleRCuWBjM0nBAeYZNkIG3qLegqPaJif4zeJ74QWWsDePox8Xr59C6ev23nUUb
-MnMW7zECgZkAwOOGuqJHyUlsVuErs5c/rLyY0NAqrGoiBp3o5fGnuINzrZSO3zvY
-PcuBeQmnZbkNarfQxFz1ezcf6jmszNStktDj3tFSR8srqpcRKyUPDi1eHD81n8vv
-h1jew1zPRQaQvVZ88p0xacYJeRckbKxcIPGweVqpT9ZJAEGg4J6FFcH+fOIra/7R
-TgLJs443xbTO2GM/25Anc/Pj4bnL2GWqDTurTxANAtmKenuWHTcz47Pm5WNhZP/l
-WWxi9MBzz/80IediLG6qrlU=
------END RSA PRIVATE KEY-----
------BEGIN CERTIFICATE-----
-MIIEAzCCAlWgAwIBAgIEUFDq+zANBgkqhkiG9w0BAQsFADAPMQ0wCwYDVQQDEwRU
-RVNUMB4XDTEyMDkxMjIwMDUxNVoXDTEzMDkxMjIwMDUxNVowOjEPMA0GA1UEChMG
-YLQLzfay6cw1arn QC87f3tvmWI7F0zb9KWE9c
-XepnHyr2QJDzMiL This is an invalid eOUK8hc+uTReTXpAtD3S3X
-rC3KeJR+jOynTkJ cert block for testing Sc6Cz2uJBeARNLvTBAj66q
-zfvMIlBOBRCWSQf please replace with a IfExunVQnU+xbRx7W9Gg3i
-NV307K4fgLJbY4b valid server cert Y69SOuXgz7ECsoXy1bWQsi
-TETM5TX/6dADz0z FCc8I167mT25s2HNLnZ8AI
-4GFRwh8TG6dVCdT7FtHHtb0aDeLzOozAMxF/3HtrgYEaabuf5hIIvLd/x96PDZkB
-WAotdJzoLPa4kF4BE0u9MECPrqrN+8wiUE4FEJZJB+/M2WFm+pfZgp1qXx6AL0IC
-AgMBAAGjdjB0MAwGA1UdEwEB/wQCMAAwEwYDVR0lBAwwCgYIKwYBBQUHAwIwDwYD
-VR0PAQH/BAUDAwegADAdBgNVHQ4EFgQUU9Uc5ljBzINN4S6oj80rn+mJTLEwHwYD
-AMCxt8hxLtQlSgfY4MHxlNOE/hepArRQ1KoqW8TZ3DaDZacYuHK6TkarBuVshrAa
-VR0jBBgwFoAU/z1/F2dGNow5Kac+jx7NtyIM0BAwDQYJKoZIhvcNAQELBQADggGX
-TkPLvTbMIeZ/DGC6snrnyspVPVun8X1NcdkqOiSWCt5Y1Li4sClXT+XUFaKES4NS
-SN8LDKX0J+q2n4nRuotaOdq12qs8ZQkMsSI5ueR0soHY1XuSJCK75PFxLJKq3ydm
-FhMVy/bQZgl9QAt7HNK7QoISBmkQFYey0Qq7aotloMhlIyCSN569RcKHdPhZCsCE
-c/YgEkmZwOBR7ypXnT0Tcele120v+qhCRSeoZIEwtm27Dp8+My82fpx7xMKYAHn8
-VhdODq6KZ9Tk8MnYenC7SfiJ/cR0N/Yw5R8Yaa1K5qO+dyIwfXTkTr/Kg97N72jE
-M6lQJXeXaD8sR9wE2nhxKnTJToebjr9mnlgavSsotnzjnm9fMt5CPGOUtG/qGNfB
-GB/GF1HkbZW7VnGWjgNAozftTRCsFoCTwv/ICcW+vYEDVh+hzWjJ/KLl7PruKDPS
-rBlWWdV02QtVKpKYKvynML9kyEX6HeM=
------END CERTIFICATE-----
diff --git a/test/dummy/config/environment.rb b/test/dummy/config/environment.rb
deleted file mode 100644
index 3da5eb9..0000000
--- a/test/dummy/config/environment.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Load the rails application
-require File.expand_path('../application', __FILE__)
-
-# Initialize the rails application
-Dummy::Application.initialize!
diff --git a/test/dummy/config/environments/development.rb b/test/dummy/config/environments/development.rb
deleted file mode 100644
index 493c477..0000000
--- a/test/dummy/config/environments/development.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-Dummy::Application.configure do
- # Settings specified here will take precedence over those in config/application.rb
-
- # In the development environment your application's code is reloaded on
- # every request. This slows down response time but is perfect for development
- # since you don't have to restart the web server when you make code changes.
- config.cache_classes = false
-
- # Log error messages when you accidentally call methods on nil.
- config.whiny_nils = true
-
- # Show full error reports and disable caching
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Don't care if the mailer can't send
- config.action_mailer.raise_delivery_errors = false
-
- # Print deprecation notices to the Rails logger
- config.active_support.deprecation = :log
-
- # Only use best-standards-support built into browsers
- config.action_dispatch.best_standards_support = :builtin
-
-
- # Do not compress assets
- config.assets.compress = false
-
- # Expands the lines which load the assets
- config.assets.debug = true
-end
diff --git a/test/dummy/config/environments/production.rb b/test/dummy/config/environments/production.rb
deleted file mode 100644
index 550acc5..0000000
--- a/test/dummy/config/environments/production.rb
+++ /dev/null
@@ -1,64 +0,0 @@
-Dummy::Application.configure do
- # Settings specified here will take precedence over those in config/application.rb
-
- # Code is not reloaded between requests
- config.cache_classes = true
-
- # Full error reports are disabled and caching is turned on
- config.consider_all_requests_local = false
- config.action_controller.perform_caching = true
-
- # Disable Rails's static asset server (Apache or nginx will already do this)
- config.serve_static_assets = false
-
- # Compress JavaScripts and CSS
- config.assets.compress = true
-
- # Don't fallback to assets pipeline if a precompiled asset is missed
- config.assets.compile = false
-
- # Generate digests for assets URLs
- config.assets.digest = true
-
- # Defaults to nil and saved in location specified by config.assets.prefix
- # config.assets.manifest = YOUR_PATH
-
- # Specifies the header that your server uses for sending files
- # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
-
- # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
- # config.force_ssl = true
-
- # See everything in the log (default is :info)
- # config.log_level = :debug
-
- # Prepend all log lines with the following tags
- # config.log_tags = [ :subdomain, :uuid ]
-
- # Use a different logger for distributed setups
- # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
-
- # Use a different cache store in production
- # config.cache_store = :mem_cache_store
-
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
- # config.action_controller.asset_host = "http://assets.example.com"
-
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
- # config.assets.precompile += %w( search.js )
-
- # Disable delivery errors, bad email addresses will be ignored
- # config.action_mailer.raise_delivery_errors = false
-
- # Enable threaded mode
- # config.threadsafe!
-
- # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
- # the I18n.default_locale when a translation can not be found)
- config.i18n.fallbacks = true
-
- # Send deprecation notices to registered listeners
- config.active_support.deprecation = :notify
-
-end
diff --git a/test/dummy/config/environments/test.rb b/test/dummy/config/environments/test.rb
deleted file mode 100644
index 54657bd..0000000
--- a/test/dummy/config/environments/test.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-Dummy::Application.configure do
- # Settings specified here will take precedence over those in config/application.rb
-
- # The test environment is used exclusively to run your application's
- # test suite. You never need to work with it otherwise. Remember that
- # your test database is "scratch space" for the test suite and is wiped
- # and recreated between test runs. Don't rely on the data there!
- config.cache_classes = true
-
- # Configure static asset server for tests with Cache-Control for performance
- config.serve_static_assets = true
- config.static_cache_control = "public, max-age=3600"
-
- # Log error messages when you accidentally call methods on nil
- config.whiny_nils = true
-
- # Show full error reports and disable caching
- config.consider_all_requests_local = true
- config.action_controller.perform_caching = false
-
- # Raise exceptions instead of rendering exception templates
- config.action_dispatch.show_exceptions = false
-
- # Disable request forgery protection in test environment
- config.action_controller.allow_forgery_protection = false
-
- # Tell Action Mailer not to deliver emails to the real world.
- # The :test delivery method accumulates sent emails in the
- # ActionMailer::Base.deliveries array.
- config.action_mailer.delivery_method = :test
-
-
- # Print deprecation notices to the stderr
- config.active_support.deprecation = :stderr
-end
diff --git a/test/dummy/config/initializers/backtrace_silencers.rb b/test/dummy/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index 59385cd..0000000
--- a/test/dummy/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
-# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
-
-# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
-# Rails.backtrace_cleaner.remove_silencers!
diff --git a/test/dummy/config/initializers/inflections.rb b/test/dummy/config/initializers/inflections.rb
deleted file mode 100644
index 5d8d9be..0000000
--- a/test/dummy/config/initializers/inflections.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new inflection rules using the following format
-# (all these examples are active by default):
-# ActiveSupport::Inflector.inflections do |inflect|
-# inflect.plural /^(ox)$/i, '\1en'
-# inflect.singular /^(ox)en/i, '\1'
-# inflect.irregular 'person', 'people'
-# inflect.uncountable %w( fish sheep )
-# end
-#
-# These inflection rules are supported but not enabled by default:
-# ActiveSupport::Inflector.inflections do |inflect|
-# inflect.acronym 'RESTful'
-# end
diff --git a/test/dummy/config/initializers/mime_types.rb b/test/dummy/config/initializers/mime_types.rb
deleted file mode 100644
index 72aca7e..0000000
--- a/test/dummy/config/initializers/mime_types.rb
+++ /dev/null
@@ -1,5 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Add new mime types for use in respond_to blocks:
-# Mime::Type.register "text/richtext", :rtf
-# Mime::Type.register_alias "text/html", :iphone
diff --git a/test/dummy/config/initializers/secret_token.rb b/test/dummy/config/initializers/secret_token.rb
deleted file mode 100644
index 5fe6b2b..0000000
--- a/test/dummy/config/initializers/secret_token.rb
+++ /dev/null
@@ -1,7 +0,0 @@
-# Be sure to restart your server when you modify this file.
-
-# Your secret key for verifying the integrity of signed cookies.
-# If you change this key, all old signed cookies will become invalid!
-# Make sure the secret is at least 30 characters and all random,
-# no regular words or you'll be exposed to dictionary attacks.
-Dummy::Application.config.secret_token = '14fd4f5970abedec753a7266fe5469c6aff8322113e31dcc8bdd608633e9fd35ebabb3596d6494dbced08eb95b20ac819c2f94f0d8f1abd11a71d149c38eb329'
diff --git a/test/dummy/config/initializers/session_store.rb b/test/dummy/config/initializers/session_store.rb
deleted file mode 100644
index 16787d2..0000000
--- a/test/dummy/config/initializers/session_store.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'couchrest_session_store'
-# Be sure to restart your server when you modify this file.
-
-Dummy::Application.config.session_store CouchRestSessionStore
-
-# Use the database for sessions instead of the cookie-based default,
-# which shouldn't be used to store highly confidential information
-# (create the session table with "rails generate session_migration")
-# Dummy::Application.config.session_store :active_record_store
diff --git a/test/dummy/config/initializers/wrap_parameters.rb b/test/dummy/config/initializers/wrap_parameters.rb
deleted file mode 100644
index 5fe232e..0000000
--- a/test/dummy/config/initializers/wrap_parameters.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# Be sure to restart your server when you modify this file.
-#
-# This file contains settings for ActionController::ParamsWrapper which
-# is enabled by default.
-
-# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
-ActiveSupport.on_load(:action_controller) do
- wrap_parameters :format => [:json]
-end
-
diff --git a/test/dummy/config/locales/en.yml b/test/dummy/config/locales/en.yml
deleted file mode 100644
index 179c14c..0000000
--- a/test/dummy/config/locales/en.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-# Sample localization file for English. Add more files in this directory for other locales.
-# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
-
-en:
- hello: "Hello world"
diff --git a/test/dummy/config/routes.rb b/test/dummy/config/routes.rb
deleted file mode 100644
index eb8579b..0000000
--- a/test/dummy/config/routes.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-Dummy::Application.routes.draw do
- # The priority is based upon order of creation:
- # first created -> highest priority.
-
- # Sample of regular route:
- # match 'products/:id' => 'catalog#view'
- # Keep in mind you can assign values other than :controller and :action
-
- # Sample of named route:
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
- # This route can be invoked with purchase_url(:id => product.id)
-
- # Sample resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Sample resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Sample resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Sample resource route with more complex sub-resources
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', :on => :collection
- # end
- # end
-
- # Sample resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-
- # You can have the root of your site routed with "root"
- # just remember to delete public/index.html.
- # root :to => 'welcome#index'
-
- # See how all your routes lay out with "rake routes"
-
- # This is a legacy wild controller route that's not recommended for RESTful applications.
- # Note: This route will make all actions in every controller accessible via GET requests.
- # match ':controller(/:action(/:id))(.:format)'
-end
diff --git a/test/dummy/lib/assets/.gitkeep b/test/dummy/lib/assets/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/test/dummy/lib/assets/.gitkeep
+++ /dev/null
diff --git a/test/dummy/log/.gitkeep b/test/dummy/log/.gitkeep
deleted file mode 100644
index e69de29..0000000
--- a/test/dummy/log/.gitkeep
+++ /dev/null
diff --git a/test/dummy/log/development.log b/test/dummy/log/development.log
deleted file mode 100644
index aaf6ba4..0000000
--- a/test/dummy/log/development.log
+++ /dev/null
@@ -1,2505 +0,0 @@
-
-
-Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:44:43 +0200 2012
-Processing by UsersController#new as HTML
- Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (751.7ms)
-Compiled application.css (1ms) (pid 4287)
-Compiled jquery.js (7ms) (pid 4287)
-Compiled jquery_ujs.js (1ms) (pid 4287)
-Compiled srp/lib/MD5.js (0ms) (pid 4287)
-Compiled srp/lib/SHA1.js (0ms) (pid 4287)
-Compiled srp/lib/SHA256.js (0ms) (pid 4287)
-Compiled srp/lib/aes.js (1ms) (pid 4287)
-Compiled srp/lib/cryptoHelpers.js (0ms) (pid 4287)
-Compiled srp/lib/jsbn.js (1ms) (pid 4287)
-Compiled srp/lib/jsbn2.js (1ms) (pid 4287)
-Compiled srp/lib/prng4.js (0ms) (pid 4287)
-Compiled srp/lib/rng.js (0ms) (pid 4287)
-Compiled srp/src/jqueryRest.js (0ms) (pid 4287)
-Compiled srp/src/plainXHR.js (0ms) (pid 4287)
-Compiled srp/src/srp.js (0ms) (pid 4287)
-Compiled srp/src/srp_session.js (0ms) (pid 4287)
-Compiled srp/index.js (186ms) (pid 4287)
-Compiled application.js (459ms) (pid 4287)
-Completed 200 OK in 1576ms (Views: 1574.7ms)
-
-
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012
-Served asset /application.css - 200 OK (4ms)
-
-
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012
-Served asset /jquery.js - 200 OK (13ms)
-
-
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012
-Served asset /jquery_ujs.js - 200 OK (12ms)
-
-
-Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:45 +0200 2012
-Served asset /srp/lib/MD5.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/SHA1.js - 200 OK (6ms)
-
-
-Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/SHA256.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/aes.js - 200 OK (8ms)
-
-
-Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/cryptoHelpers.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/jsbn.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/jsbn2.js - 200 OK (75ms)
-
-
-Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/prng4.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/lib/rng.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/src/jqueryRest.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/src/plainXHR.js - 200 OK (3ms)
-
-
-Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/src/srp.js - 200 OK (3ms)
-
-
-Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/src/srp_session.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /srp/index.js - 200 OK (28ms)
-
-
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:46 +0200 2012
-Served asset /application.js - 200 OK (33ms)
-
-
-Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Processing by UsersController#new as HTML
- Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (12.2ms)
-Completed 200 OK in 23ms (Views: 22.6ms)
-
-
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /application.css - 200 OK (0ms)
-
-
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /jquery.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/SHA1.js - 200 OK (0ms)
-
-
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /jquery_ujs.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/MD5.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/aes.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/SHA256.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/jsbn.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/jsbn2.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/prng4.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/lib/rng.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/src/jqueryRest.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/src/plainXHR.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/src/srp.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/src/srp_session.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /srp/index.js - 200 OK (1ms)
-
-
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:44:58 +0200 2012
-Served asset /application.js - 200 OK (85ms)
-
-
-Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:47:02 +0200 2012
-Processing by UsersController#new as HTML
- Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (15.0ms)
-Completed 500 Internal Server Error in 5855ms
-
-ActionView::Template::Error (/oldvar/src/leap/leap_web_users/test/dummy/app/assets/stylesheets/application.css has already been required):
- 2: <html>
- 3: <head>
- 4: <title>Dummy</title>
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
- 6: <%= javascript_include_tag "application" %>
- 7: <%= csrf_meta_tags %>
- 8: </head>
- app/views/layouts/application.html.erb:5:in `_app_views_layouts_application_html_erb___654027934__617377338'
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.9ms)
-
-
-Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:47:32 +0200 2012
-Processing by UsersController#new as HTML
- Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (12.4ms)
-Compiled application.css (1676ms) (pid 4287)
-Completed 200 OK in 1951ms (Views: 1951.0ms)
-
-
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /application.css - 200 OK (24ms)
-
-
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /jquery.js - 200 OK (0ms)
-
-
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /jquery_ujs.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/MD5.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/SHA1.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/SHA256.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/aes.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/jsbn.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/jsbn2.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/prng4.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/lib/rng.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/src/jqueryRest.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/src/plainXHR.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/src/srp.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/src/srp_session.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /srp/index.js - 200 OK (1ms)
-
-
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:47:34 +0200 2012
-Served asset /application.js - 200 OK (2ms)
-
-
-Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012
-Processing by UsersController#new as HTML
- Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (12.7ms)
-Compiled srp/src/plainXHR.js (0ms) (pid 4287)
-Compiled srp/index.js (10ms) (pid 4287)
-Compiled application.js (11ms) (pid 4287)
-Completed 200 OK in 170ms (Views: 169.8ms)
-
-
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012
-Served asset /application.css - 200 OK (3ms)
-
-
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012
-Served asset /jquery.js - 200 OK (0ms)
-
-
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012
-Served asset /jquery_ujs.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:51 +0200 2012
-Served asset /srp/lib/MD5.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/aes.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/SHA1.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/SHA256.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/jsbn.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/jsbn2.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/prng4.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/lib/rng.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/src/jqueryRest.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/src/plainXHR.js - 200 OK (4ms)
-
-
-Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/src/srp.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/src/srp_session.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /srp/index.js - 200 OK (30ms)
-
-
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:48:52 +0200 2012
-Served asset /application.js - 200 OK (39ms)
-
-
-Started GET "/sign_up" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Processing by UsersController#new as HTML
- Rendered /oldvar/src/leap/leap_web_users/app/views/users/new.html.haml within layouts/application (14.0ms)
-Compiled srp/index.js (11ms) (pid 4287)
-Compiled application.js (80ms) (pid 4287)
-Completed 200 OK in 172ms (Views: 171.5ms)
-
-
-Started GET "/assets/application.css?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /application.css - 200 OK (3ms)
-
-
-Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /jquery.js - 200 OK (0ms)
-
-
-Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /jquery_ujs.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/MD5.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/MD5.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA1.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/SHA1.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/aes.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/aes.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/SHA256.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/SHA256.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/cryptoHelpers.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/cryptoHelpers.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/jsbn.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/jsbn2.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/jsbn2.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/prng4.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/prng4.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/lib/rng.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/lib/rng.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/srp.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/src/srp.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/jqueryRest.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/src/jqueryRest.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/plainXHR.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/src/plainXHR.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/src/srp_session.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/src/srp_session.js - 200 OK (0ms)
-
-
-Started GET "/assets/srp/index.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /srp/index.js - 200 OK (34ms)
-
-
-Started GET "/assets/application.js?body=1" for 127.0.0.1 at Tue Sep 18 15:50:33 +0200 2012
-Served asset /application.js - 200 OK (111ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:00:45 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"O5H15R", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 685ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:00:46 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"O5H15R", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 19ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:00:46 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"O5H15R", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 11ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/O5H15R" for 127.0.0.1 at Sun Sep 23 17:00:46 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"id"=>"O5H15R", "M"=>"123"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 12ms
-
-NoMethodError (undefined method `hex' for nil:NilClass):
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:15:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__545523884__process_action__787962131__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__237587485__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.8ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:20:09 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"python_test_user_2BIJLT", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 98ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:20:38 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"python_test_user_65XJBI", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 22ms (Views: 0.6ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"CZZJ1R", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 17ms (Views: 0.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"CZZJ1R", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 13ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"CZZJ1R", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 12ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/CZZJ1R" for 127.0.0.1 at Sun Sep 23 17:21:35 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"id"=>"CZZJ1R", "client_auth"=>"123"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 70ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:15:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__545523884__process_action__787962131__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__237587485__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.5ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"Z6TALH", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 120ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"Z6TALH", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 14ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"Z6TALH", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 10ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/Z6TALH" for 127.0.0.1 at Sun Sep 23 17:23:31 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"id"=>"Z6TALH", "client_auth"=>"123"}
-WARNING: Can't verify CSRF token authenticity
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 11ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__864269965__process_action__125080836__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__351353186__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.2ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:51:06 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"python_test_user_Z9W9QZ", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 210ms (Views: 0.7ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 13:51:13 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"QR1CQE", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 201 Created in 145ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:51:13 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"QR1CQE", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 267ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:51:14 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"QR1CQE", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 14ms (Views: 0.4ms)
-
-
-Started PUT "/sessions/QR1CQE" for 127.0.0.1 at Mon Sep 24 13:51:14 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"QR1CQE"}
-WARNING: Can't verify CSRF token authenticity
-
-***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
-
-Completed 500 Internal Server Error in 8ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__976707062__process_action__424034160__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__923441740__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.6ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 13:52:19 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"D8GF9U", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 63888ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:53:23 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"D8GF9U"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 29ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:53:23 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"D8GF9U"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 13ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/D8GF9U" for 127.0.0.1 at Mon Sep 24 13:53:23 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"D8GF9U"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 138423ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__187471855__process_action__31421765__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__346269916__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.5ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 13:55:44 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"5PTK31", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 9708ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:55:54 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"5PTK31"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 77ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 13:55:54 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"5PTK31"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 12ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/5PTK31" for 127.0.0.1 at Mon Sep 24 13:55:54 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"5PTK31"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 129662ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__187471855__process_action__31421765__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__346269916__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.2ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 14:01:37 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"8RU895"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 28884ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:02:06 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"8RU895"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 18ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:02:06 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"8RU895"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 11ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/8RU895" for 127.0.0.1 at Mon Sep 24 14:02:06 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"id"=>"8RU895", "client_auth"=>"123"}
-WARNING: Can't verify CSRF token authenticity
-DEPRECATION WARNING: ActiveSupport::Base64.decode64 is deprecated. Use Base64.decode64 instead. (called from send_action at /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16)
-DEPRECATION WARNING: ActiveSupport::Base64.decode64 is deprecated. Use Base64.decode64 instead. (called from send_action at /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 14:53:35 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"JBEJ0N", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 2459ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:53:37 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"JBEJ0N", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 16ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:53:37 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"JBEJ0N", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 12ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/JBEJ0N" for 127.0.0.1 at Mon Sep 24 14:53:37 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"id"=>"JBEJ0N", "client_auth"=>"123"}
-WARNING: Can't verify CSRF token authenticity
-DEPRECATION WARNING: ActiveSupport::Base64.decode64 is deprecated. Use Base64.decode64 instead. (called from update at /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:14)
-Completed 200 OK in 26117ms (Views: 0.4ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Mon Sep 24 14:55:30 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"QIN7SE"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 4898ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:55:35 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"QIN7SE"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 79ms (Views: 1.0ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Mon Sep 24 14:55:35 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"QIN7SE"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 12ms (Views: 0.4ms)
-
-
-Started PUT "/sessions/QIN7SE" for 127.0.0.1 at Mon Sep 24 14:55:35 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"QIN7SE"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 1006ms (Views: 0.5ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 10:52:50 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "login"=>"PBX8XS", "password_salt"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 3184ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 10:52:53 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"PBX8XS"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 17ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 10:52:53 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"PBX8XS"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 12ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/PBX8XS" for 127.0.0.1 at Tue Sep 25 10:52:53 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"PBX8XS"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 650602ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__466870917__process_action__781300863__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__291805995__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.2ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:04:16 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"LCUH3R", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 3223ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:04:19 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"LCUH3R"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 16ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:04:19 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"LCUH3R"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 14ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/LCUH3R" for 127.0.0.1 at Tue Sep 25 11:04:19 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"LCUH3R"}
-WARNING: Can't verify CSRF token authenticity
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:11:52 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"6X1B1C", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 24149ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:19:05 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"6X1B1C", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 16ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:31:24 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"6X1B1C", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 12ms (Views: 0.4ms)
-
-
-Started PUT "/sessions/6X1B1C" for 127.0.0.1 at Tue Sep 25 11:33:07 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"6X1B1C"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 1307ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__193620331__process_action__203499565__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__138771931__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.2ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:33:17 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"TAQJTG", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 12519ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:33:30 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"TAQJTG", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 20ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:33:39 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"TAQJTG", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 24ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/TAQJTG" for 127.0.0.1 at Tue Sep 25 11:34:37 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"TAQJTG"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 797ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__193620331__process_action__203499565__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__138771931__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.6ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:34:43 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"YL20SR", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 201 Created in 3593ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:34:51 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"YL20SR", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 23ms (Views: 0.4ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 11:34:55 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"YL20SR", "A"=>"12345"}
-WARNING: Can't verify CSRF token authenticity
-Completed 200 OK in 23ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/YL20SR" for 127.0.0.1 at Tue Sep 25 11:34:56 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"YL20SR"}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 1151ms
-
-NoMethodError (undefined method `m1' for nil:NilClass):
- ruby-srp (0.0.2) lib/srp/authentication.rb:49:in `authenticate'
- ruby-srp (0.0.2) lib/srp/authentication.rb:45:in `authenticate!'
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:16:in `update'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:414:in `_run__193620331__process_action__203499565__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__138771931__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.3ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:43:31 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"UU6RH0", "password_verifier"=>"[FILTERED]"}}
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:48:03 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"07MPU2", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}}
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:48:56 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"6RPPJJ"}}
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 11:50:29 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"RQIHIW", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 119875ms
-
-RuntimeError (#destroy_session not implemented):
- rack (1.4.1) lib/rack/session/abstract/id.rb:367:in `destroy_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `send'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `destroy'
- actionpack (3.2.8) lib/action_dispatch/http/request.rb:210:in `reset_session'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:23:in `reset_session'
- actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:85:in `handle_unverified_request'
- actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:78:in `verify_authenticity_token'
- activesupport (3.2.8) lib/active_support/callbacks.rb:407:in `_run__711698483__process_action__294889909__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__888893177__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.9ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:11:11 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "login"=>"IILLNQ", "password_verifier"=>"[FILTERED]"}}
-WARNING: Can't verify CSRF token authenticity
-Completed 500 Internal Server Error in 4980ms
-
-RuntimeError (#destroy_session not implemented):
- rack (1.4.1) lib/rack/session/abstract/id.rb:367:in `destroy_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `send'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:17:in `destroy'
- actionpack (3.2.8) lib/action_dispatch/http/request.rb:210:in `reset_session'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:23:in `reset_session'
- actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:85:in `handle_unverified_request'
- actionpack (3.2.8) lib/action_controller/metal/request_forgery_protection.rb:78:in `verify_authenticity_token'
- activesupport (3.2.8) lib/active_support/callbacks.rb:407:in `_run__871243012__process_action__753637363__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__829662181__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.8ms)
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:13:26 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"4JSDWG", "password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]"}}
-Completed 201 Created in 55ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:13:26 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"4JSDWG", "A"=>"12345"}
-Completed 200 OK in 37872ms (Views: 0.9ms)
-
-ArgumentError (wrong number of arguments (4 for 3)):
- rack (1.4.1) lib/rack/session/abstract/id.rb:322:in `set_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:322:in `commit_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:206:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__893869306__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.8ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:14:04 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"4JSDWG", "A"=>"12345"}
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:16:23 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"login"=>"4NLSBY", "password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]"}}
-Completed 201 Created in 53ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:16:23 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"login"=>"4NLSBY", "A"=>"12345"}
-Completed 200 OK in 11334ms (Views: 0.9ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:16:35 +0200 2012
-
-RestClient::InternalServerError (500 Internal Server Error):
- rest-client (1.6.7) lib/restclient/abstract_response.rb:48:in `return!'
- rest-client (1.6.7) lib/restclient/request.rb:230:in `process_result'
- rest-client (1.6.7) lib/restclient/request.rb:178:in `transmit'
- /usr/lib/ruby/1.8/net/http.rb:543:in `start'
- rest-client (1.6.7) lib/restclient/request.rb:172:in `transmit'
- rest-client (1.6.7) lib/restclient/request.rb:64:in `execute'
- rest-client (1.6.7) lib/restclient/request.rb:33:in `execute'
- couchrest (1.1.3) lib/couchrest/rest_api.rb:94:in `execute'
- couchrest (1.1.3) lib/couchrest/rest_api.rb:45:in `get'
- couchrest (1.1.3) lib/couchrest/database.rb:82:in `get'
- couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:35:in `get_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:122:in `load_for_read!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:64:in `key?'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:258:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__83331831__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (13.6ms)
-
-
-Started PUT "/sessions/4NLSBY" for 127.0.0.1 at Tue Sep 25 12:17:56 +0200 2012
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:22:38 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_verifier"=>"[FILTERED]", "password_salt"=>"[FILTERED]", "login"=>"FGFSGF"}}
-Completed 201 Created in 119ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:22:38 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"FGFSGF"}
-Completed 500 Internal Server Error in 2634ms
-
-NoMethodError (undefined method `marshal' for CouchRestSessionStore:Class):
- couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:52:in `get_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:126:in `load_for_write!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:71:in `[]='
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:10:in `create'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__967875644__process_action__616544259__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__340473720__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.5ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:22:41 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"FGFSGF"}
-Completed 500 Internal Server Error in 490ms
-
-NoMethodError (undefined method `marshal' for CouchRestSessionStore:Class):
- couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:52:in `get_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:126:in `load_for_write!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:71:in `[]='
- /oldvar/src/leap/leap_web_users/app/controllers/sessions_controller.rb:10:in `create'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:18:in `process_action'
- activesupport (3.2.8) lib/active_support/callbacks.rb:403:in `_run__967875644__process_action__616544259__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.8) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.8) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.8) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- actionpack (3.2.8) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.8) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.8) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.8) lib/action_controller/metal.rb:246:in `action'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:36:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `call'
- journey (1.0.4) lib/journey/router.rb:56:in `each'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.8) lib/action_dispatch/routing/route_set.rb:600:in `call'
- sass (3.1.20) lib/sass/./sass/plugin/rack.rb:54:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.1) lib/rack/etag.rb:23:in `call'
- rack (1.4.1) lib/rack/conditionalget.rb:35:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/head.rb:14:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__340473720__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (12.5ms)
-
-
-Started PUT "/sessions/FGFSGF" for 127.0.0.1 at Tue Sep 25 12:22:42 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"id"=>"FGFSGF", "client_auth"=>"123"}
-
-
-Started POST "/users.json" for 127.0.0.1 at Tue Sep 25 12:25:10 +0200 2012
-Processing by UsersController#create as JSON
- Parameters: {"user"=>{"password_salt"=>"[FILTERED]", "password_verifier"=>"[FILTERED]", "login"=>"XILYHT"}}
-Completed 201 Created in 56ms (Views: 0.3ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:25:10 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"XILYHT"}
-Completed 200 OK in 2780ms (Views: 0.8ms)
-
-
-Started POST "/sessions" for 127.0.0.1 at Tue Sep 25 12:25:13 +0200 2012
-Processing by SessionsController#create as */*
- Parameters: {"A"=>"12345", "login"=>"XILYHT"}
-Completed 200 OK in 69ms (Views: 0.3ms)
-
-
-Started PUT "/sessions/XILYHT" for 127.0.0.1 at Tue Sep 25 12:25:13 +0200 2012
-Processing by SessionsController#update as */*
- Parameters: {"client_auth"=>"123", "id"=>"XILYHT"}
-Completed 200 OK in 54ms (Views: 0.5ms)
-
-
-Started GET "/sign_up" for 127.0.0.1 at Tue Oct 02 11:50:25 +0200 2012
-
-RestClient::ResourceNotFound (404 Resource Not Found):
- rest-client (1.6.7) lib/restclient/abstract_response.rb:48:in `return!'
- rest-client (1.6.7) lib/restclient/request.rb:230:in `process_result'
- rest-client (1.6.7) lib/restclient/request.rb:178:in `transmit'
- /usr/lib/ruby/1.8/net/http.rb:543:in `start'
- rest-client (1.6.7) lib/restclient/request.rb:172:in `transmit'
- rest-client (1.6.7) lib/restclient/request.rb:64:in `execute'
- rest-client (1.6.7) lib/restclient/request.rb:33:in `execute'
- couchrest (1.1.3) lib/couchrest/rest_api.rb:94:in `execute'
- couchrest (1.1.3) lib/couchrest/rest_api.rb:45:in `get'
- couchrest (1.1.3) lib/couchrest/database.rb:82:in `get'
- couchrest_session_store (0.0.1) lib/couchrest_session_store.rb:46:in `get_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:246:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:55:in `stale_session_check!'
- actionpack (3.2.8) lib/action_dispatch/middleware/session/abstract_store.rb:47:in `load_session'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `send'
- rack (1.4.1) lib/rack/session/abstract/id.rb:130:in `load!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:122:in `load_for_read!'
- rack (1.4.1) lib/rack/session/abstract/id.rb:64:in `key?'
- actionpack (3.2.8) lib/action_dispatch/middleware/flash.rb:258:in `call'
- rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
- rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `_run__844724840__call__4__callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `send'
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.8) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
- railties (3.2.8) lib/rails/application.rb:223:in `call'
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
- /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
- /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
- /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
- /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
- /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
- rack (1.4.1) lib/rack/handler/webrick.rb:13:in `run'
- rack (1.4.1) lib/rack/server.rb:265:in `start'
- railties (3.2.8) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.8) lib/rails/commands.rb:55
- railties (3.2.8) lib/rails/commands.rb:50:in `tap'
- railties (3.2.8) lib/rails/commands.rb:50
- script/rails:6:in `require'
- script/rails:6
-
-
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms)
- Rendered /var/lib/gems/1.8/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.0ms)
diff --git a/test/dummy/public/404.html b/test/dummy/public/404.html
deleted file mode 100644
index 9a48320..0000000
--- a/test/dummy/public/404.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>The page you were looking for doesn't exist (404)</title>
- <style type="text/css">
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
- div.dialog {
- width: 25em;
- padding: 0 4em;
- margin: 4em auto 0 auto;
- border: 1px solid #ccc;
- border-right-color: #999;
- border-bottom-color: #999;
- }
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
- </style>
-</head>
-
-<body>
- <!-- This file lives in public/404.html -->
- <div class="dialog">
- <h1>The page you were looking for doesn't exist.</h1>
- <p>You may have mistyped the address or the page may have moved.</p>
- </div>
-</body>
-</html>
diff --git a/test/dummy/public/422.html b/test/dummy/public/422.html
deleted file mode 100644
index 83660ab..0000000
--- a/test/dummy/public/422.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>The change you wanted was rejected (422)</title>
- <style type="text/css">
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
- div.dialog {
- width: 25em;
- padding: 0 4em;
- margin: 4em auto 0 auto;
- border: 1px solid #ccc;
- border-right-color: #999;
- border-bottom-color: #999;
- }
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
- </style>
-</head>
-
-<body>
- <!-- This file lives in public/422.html -->
- <div class="dialog">
- <h1>The change you wanted was rejected.</h1>
- <p>Maybe you tried to change something you didn't have access to.</p>
- </div>
-</body>
-</html>
diff --git a/test/dummy/public/500.html b/test/dummy/public/500.html
deleted file mode 100644
index f3648a0..0000000
--- a/test/dummy/public/500.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>We're sorry, but something went wrong (500)</title>
- <style type="text/css">
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
- div.dialog {
- width: 25em;
- padding: 0 4em;
- margin: 4em auto 0 auto;
- border: 1px solid #ccc;
- border-right-color: #999;
- border-bottom-color: #999;
- }
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
- </style>
-</head>
-
-<body>
- <!-- This file lives in public/500.html -->
- <div class="dialog">
- <h1>We're sorry, but something went wrong.</h1>
- </div>
-</body>
-</html>
diff --git a/test/dummy/public/favicon.ico b/test/dummy/public/favicon.ico
deleted file mode 100644
index e69de29..0000000
--- a/test/dummy/public/favicon.ico
+++ /dev/null
diff --git a/test/dummy/script/rails b/test/dummy/script/rails
deleted file mode 100755
index f138a34..0000000
--- a/test/dummy/script/rails
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env ruby1.8
-# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
-
-APP_PATH = File.expand_path('../../config/application', __FILE__)
-require File.expand_path('../../config/boot', __FILE__)
-require 'rails/commands'
diff --git a/test/factories.rb b/test/factories.rb
index bebda5c..a96d48c 100644
--- a/test/factories.rb
+++ b/test/factories.rb
@@ -29,6 +29,12 @@ FactoryGirl.define do
end
+ # Identities can have a lot of different purposes - alias, forward, ...
+ # So far this is a blocked handle only.
+ factory :identity do
+ address {Faker::Internet.user_name + '@' + APP_CONFIG[:domain]}
+ end
+
factory :token do
user
end
diff --git a/test/functional/identities_controller_test.rb b/test/functional/identities_controller_test.rb
new file mode 100644
index 0000000..fcdeaa2
--- /dev/null
+++ b/test/functional/identities_controller_test.rb
@@ -0,0 +1,42 @@
+require 'test_helper'
+
+class IdentitiesControllerTest < ActionController::TestCase
+
+ test "admin can list active and blocked ids" do
+ login :is_admin? => true
+ get :index
+ assert_response :success
+ assert ids = assigns(:identities)
+ end
+
+ test "non-admin can't list usernames" do
+ login
+ get :index
+ assert_access_denied
+ end
+
+ test "requires login" do
+ get :index
+ assert_login_required
+ end
+
+ test "admin can unblock username" do
+ # an identity without user_id and destination is a blocked handle
+ identity = FactoryGirl.create :identity
+ login :is_admin? => true
+ delete :destroy, id: identity.id
+ assert_response :redirect
+ assert_nil Identity.find(identity.id)
+ end
+
+ test "admin cannot remove main identity" do
+ user = FactoryGirl.create :user
+ identity = FactoryGirl.create :identity,
+ Identity.attributes_from_user(user)
+ login :is_admin? => true
+ delete :destroy, id: identity.id
+ assert_response :redirect
+ assert_equal identity, Identity.find(identity.id)
+ end
+
+end
diff --git a/test/integration/browser/admin_test.rb b/test/integration/browser/admin_test.rb
new file mode 100644
index 0000000..902c981
--- /dev/null
+++ b/test/integration/browser/admin_test.rb
@@ -0,0 +1,28 @@
+require 'test_helper'
+
+class AdminTest < BrowserIntegrationTest
+
+ test "clear blocked handle" do
+ id = FactoryGirl.create :identity
+ submit_signup(id.login)
+ assert page.has_content?('has already been taken')
+ login
+ with_config admins: [@user.login] do
+ visit '/'
+ click_on "Usernames"
+ fill_in 'query', with: id.login[0]
+ click_on "Search"
+ within "##{dom_id(id)}" do
+ assert page.has_content? id.login
+ click_on "Destroy"
+ end
+ fill_in 'query', with: id.login[0]
+ click_on "Search"
+ assert page.has_no_content? id.login
+ click_on 'Log Out'
+ end
+ submit_signup(id.login)
+ assert page.has_content?("Welcome #{id.login}")
+ click_on 'Log Out'
+ end
+end
diff --git a/test/support/browser_integration_test.rb b/test/support/browser_integration_test.rb
index 4fec59f..c01b8a1 100644
--- a/test/support/browser_integration_test.rb
+++ b/test/support/browser_integration_test.rb
@@ -5,6 +5,8 @@
#
class BrowserIntegrationTest < ActionDispatch::IntegrationTest
+ # let's use dom_id inorder to identify sections
+ include ActionController::RecordIdentifier
CONFIG_RU = (Rails.root + 'config.ru').to_s
OUTER_APP = Rack::Builder.parse_file(CONFIG_RU).first