diff options
Diffstat (limited to 'test/dummy')
32 files changed, 3276 insertions, 0 deletions
diff --git a/test/dummy/README.rdoc b/test/dummy/README.rdoc new file mode 100644 index 0000000..7c36f23 --- /dev/null +++ b/test/dummy/README.rdoc @@ -0,0 +1,261 @@ +== 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 new file mode 100644 index 0000000..3645852 --- /dev/null +++ b/test/dummy/Rakefile @@ -0,0 +1,7 @@ +#!/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 new file mode 100644 index 0000000..b3ce228 --- /dev/null +++ b/test/dummy/app/assets/javascripts/application.js @@ -0,0 +1,16 @@ +// 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 new file mode 100644 index 0000000..e8065d9 --- /dev/null +++ b/test/dummy/app/controllers/application_controller.rb @@ -0,0 +1,3 @@ +class ApplicationController < ActionController::Base + protect_from_forgery +end diff --git a/test/dummy/app/helpers/application_helper.rb b/test/dummy/app/helpers/application_helper.rb new file mode 100644 index 0000000..de6be79 --- /dev/null +++ b/test/dummy/app/helpers/application_helper.rb @@ -0,0 +1,2 @@ +module ApplicationHelper +end diff --git a/test/dummy/app/mailers/.gitkeep b/test/dummy/app/mailers/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/app/mailers/.gitkeep diff --git a/test/dummy/app/models/.gitkeep b/test/dummy/app/models/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/app/models/.gitkeep diff --git a/test/dummy/app/views/layouts/application.html.erb b/test/dummy/app/views/layouts/application.html.erb new file mode 100644 index 0000000..4cab268 --- /dev/null +++ b/test/dummy/app/views/layouts/application.html.erb @@ -0,0 +1,14 @@ +<!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 new file mode 100644 index 0000000..1989ed8 --- /dev/null +++ b/test/dummy/config.ru @@ -0,0 +1,4 @@ +# 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 new file mode 100644 index 0000000..9e345a6 --- /dev/null +++ b/test/dummy/config/application.rb @@ -0,0 +1,64 @@ +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 new file mode 100644 index 0000000..eba0681 --- /dev/null +++ b/test/dummy/config/boot.rb @@ -0,0 +1,10 @@ +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 new file mode 100644 index 0000000..27db0fd --- /dev/null +++ b/test/dummy/config/cert @@ -0,0 +1,56 @@ +-----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 new file mode 100644 index 0000000..3da5eb9 --- /dev/null +++ b/test/dummy/config/environment.rb @@ -0,0 +1,5 @@ +# 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 new file mode 100644 index 0000000..493c477 --- /dev/null +++ b/test/dummy/config/environments/development.rb @@ -0,0 +1,31 @@ +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 new file mode 100644 index 0000000..550acc5 --- /dev/null +++ b/test/dummy/config/environments/production.rb @@ -0,0 +1,64 @@ +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 new file mode 100644 index 0000000..54657bd --- /dev/null +++ b/test/dummy/config/environments/test.rb @@ -0,0 +1,35 @@ +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 new file mode 100644 index 0000000..59385cd --- /dev/null +++ b/test/dummy/config/initializers/backtrace_silencers.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..5d8d9be --- /dev/null +++ b/test/dummy/config/initializers/inflections.rb @@ -0,0 +1,15 @@ +# 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 new file mode 100644 index 0000000..72aca7e --- /dev/null +++ b/test/dummy/config/initializers/mime_types.rb @@ -0,0 +1,5 @@ +# 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 new file mode 100644 index 0000000..5fe6b2b --- /dev/null +++ b/test/dummy/config/initializers/secret_token.rb @@ -0,0 +1,7 @@ +# 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 new file mode 100644 index 0000000..16787d2 --- /dev/null +++ b/test/dummy/config/initializers/session_store.rb @@ -0,0 +1,9 @@ +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 new file mode 100644 index 0000000..5fe232e --- /dev/null +++ b/test/dummy/config/initializers/wrap_parameters.rb @@ -0,0 +1,10 @@ +# 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 new file mode 100644 index 0000000..179c14c --- /dev/null +++ b/test/dummy/config/locales/en.yml @@ -0,0 +1,5 @@ +# 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 new file mode 100644 index 0000000..eb8579b --- /dev/null +++ b/test/dummy/config/routes.rb @@ -0,0 +1,58 @@ +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 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/lib/assets/.gitkeep diff --git a/test/dummy/log/.gitkeep b/test/dummy/log/.gitkeep new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/log/.gitkeep diff --git a/test/dummy/log/development.log b/test/dummy/log/development.log new file mode 100644 index 0000000..aaf6ba4 --- /dev/null +++ b/test/dummy/log/development.log @@ -0,0 +1,2505 @@ + + +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 new file mode 100644 index 0000000..9a48320 --- /dev/null +++ b/test/dummy/public/404.html @@ -0,0 +1,26 @@ +<!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 new file mode 100644 index 0000000..83660ab --- /dev/null +++ b/test/dummy/public/422.html @@ -0,0 +1,26 @@ +<!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 new file mode 100644 index 0000000..f3648a0 --- /dev/null +++ b/test/dummy/public/500.html @@ -0,0 +1,25 @@ +<!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 new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/test/dummy/public/favicon.ico diff --git a/test/dummy/script/rails b/test/dummy/script/rails new file mode 100755 index 0000000..f138a34 --- /dev/null +++ b/test/dummy/script/rails @@ -0,0 +1,6 @@ +#!/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' |