This commit is contained in:
did 2011-11-06 12:18:34 +01:00
parent 87d2440f14
commit b383086242
14 changed files with 872 additions and 16 deletions

View File

@ -6,8 +6,8 @@ gem 'rake', '0.9.2'
gem 'rails', '~> 3.1.1'
gem 'devise', :path => '../gems/devise' # FIXME: git clone git@github.com:locomotivecms/devise.git; git checkout scoped_mailer
gem 'warden', :path => '../gems/warden' # FIXME: git clone git@github.com:locomotivecms/warden.git; git checkout scoped_failure_app
gem 'devise', :path => '../gems/devise' # FIXME: git clone git@github.com:locomotivecms/devise.git; git checkout simple_scoped_mailer
# gem 'devise', '~> 1.4.9'
gem 'cancan', '~> 1.6.7'

View File

@ -33,7 +33,12 @@ PATH
devise (1.5.0.dev)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.0.3)
warden (~> 1.0.3)
PATH
remote: ../gems/warden
specs:
warden (1.1.0)
rack (>= 1.0)
GEM
remote: http://rubygems.org/
@ -309,8 +314,6 @@ GEM
kgio (~> 2.4)
rack
raindrops (~> 0.6)
warden (1.0.6)
rack (>= 1.0)
will_paginate (3.0.2)
xpath (0.1.4)
nokogiri (~> 1.3)
@ -374,5 +377,6 @@ DEPENDENCIES
spork (~> 0.9.0.rc)
uglifier (~> 1.0.4)
unicorn
warden!
will_paginate (~> 3.0.2)
xpath (~> 0.1.4)

View File

@ -1,5 +1,5 @@
module Locomotive
class PasswordsController < Devise::PasswordsController
class PasswordsController < ::Devise::PasswordsController
include Locomotive::Routing::SiteDispatcher

View File

@ -1,5 +1,5 @@
module Locomotive
class SessionsController < Devise::SessionsController
class SessionsController < ::Devise::SessionsController
include Locomotive::Routing::SiteDispatcher

View File

@ -1,6 +1,8 @@
module Locomotive
class DeviseMailer < ::Devise::Mailer
default :from => Locomotive.config.mailer_sender
include ::Locomotive::Engine.routes.url_helpers
end

View File

@ -40,6 +40,10 @@ module Locomotive
self.find_using_switch_site_token(token, age) || raise(Mongoid::Errors::DocumentNotFound.new(self, token))
end
def devise_mailer
Locomotive::DeviseMailer
end
protected
def password_required?

View File

@ -1,4 +1,20 @@
Devise.mailer[:locomotive_account] = 'Locomotive::DeviseMailer'
module Locomotive
module Devise
class FailureApp < ::Devise::FailureApp
include ::Locomotive::Engine.routes.url_helpers
def redirect_url
new_locomotive_account_session_path
end
end
end
end
# Devise.mailer[:locomotive_account] = 'Locomotive::DeviseMailer'
# require 'devise'
#

View File

@ -10,12 +10,12 @@ Locomotive::Engine.routes.draw do
# locomotive authentication
devise_for :locomotive_account,
:mailer => 'Locomotive::DeviseMailer',
:class_name => 'Locomotive::Account',
:path => '',
:path_prefix => nil,
:failure_app => 'Locomotive::Devise::FailureApp',
:controllers => { :sessions => 'locomotive/sessions', :passwords => 'locomotive/passwords' } do
match '/' => 'sessions#new'
match '/' => 'sessions#new'
end
root :to => 'pages#index'
@ -60,7 +60,7 @@ Locomotive::Engine.routes.draw do
resource :export, :only => [:new], :controller => 'export'
# installation guide
match '/installation' => 'installation#show', :defaults => { :step => 1 }, :as => :installation
match '/installation' => 'installation#show', :defaults => { :step => 1 }, :as => :installation
match '/installation/:step' => 'installation#show', :as => :installation_step
end

View File

@ -57,9 +57,9 @@ Locomotive.configure do |config|
# on your deployment target (server, Heroku, Bushido, ...etc)
#
# Ex:
# config.mailer_sender = 'support'
# config.mailer_sender = 'support@example.com'
# # => 'support@heroku.com' (Heroku), 'support@bushi.do' (Bushido), 'support@example.com' (Dev) or 'support@<your_hosting_platform>' (Multi-sites)
config.mailer_sender = 'support'
config.mailer_sender = 'support@example.com'
# allow apps using the engine to add their own Liquid drops, variables and similar available
# in Liquid templates, extending the assigns used while rendering.

View File

@ -61,7 +61,7 @@ module Locomotive
# Devise
mail_address = self.config.mailer_sender
::Devise.mailer_sender = mail_address =~ /.+@.+/ ? mail_address : "#{mail_address}@#{Locomotive.config.domain}"
# ::Devise.mailer_sender = mail_address =~ /.+@.+/ ? mail_address : "#{mail_address}@#{Locomotive.config.domain}"
# cookies stored in mongodb (mongoid_store)
Rails.application.config.session_store :mongoid_store, {

View File

@ -13,7 +13,7 @@ module Locomotive
:hosting => :auto,
:delayed_job => false,
:default_locale => :en,
:mailer_sender => 'support', #support@example.com'
:mailer_sender => 'support@example.com',
:manage_subdomain => false,
:manage_manage_domains => false,
:lastest_items_nb => 5,

View File

@ -1,5 +1,21 @@
# require 'devise/mailers/helpers'
# module Locomotive
# module Devise
#
# class FailureApp < ::Devise::FailureApp
#
# include ::Locomotive::Engine.routes.url_helpers
#
# def redirect_url
# new_locomotive_account_session_path
# end
#
# end
#
# end
# end
# puts Devise.warden_config.inspect
# monkey patch to let Devise know about custom Locomotive mailer views

View File

@ -59,7 +59,7 @@ Locomotive.configure do |config|
# Ex:
# config.mailer_sender = 'support'
# # => 'support@heroku.com' (Heroku), 'support@bushi.do' (Bushido), 'support@example.com' (Dev) or 'support@<your_hosting_platform>' (Multi-sites)
config.mailer_sender = 'support'
config.mailer_sender = 'support@dummy.com'
# allow apps using the engine to add their own Liquid drops, variables and similar available
# in Liquid templates, extending the assigns used while rendering.

View File

@ -29126,3 +29126,817 @@ Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-04 16:52:26 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 16:07:16 +0100
Processing by Locomotive::SessionsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (217.6ms)
Completed 200 OK in 690ms (Views: 292.1ms)
Started GET "/" for 127.0.0.1 at 2011-11-05 16:07:17 +0100
Processing by Locomotive::RenderingController#show as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_pages'].find({"site_id"=>BSON::ObjectId('4eb2886171ab771f76000019'), :fullpath=>{"$in"=>["index"]}}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['locomotive_pages'].find({"site_id"=>BSON::ObjectId('4eb2886171ab771f76000019'), :slug=>"404", :depth=>0, :published=>true}).sort([[:_id, :asc]])
Completed 500 Internal Server Error in 120ms
ActionView::MissingTemplate (Missing template admin/errors/no_page with {:handlers=>[:erb, :builder, :haml], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/spec/dummy/app/views"
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views"
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/devise/app/views"
):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:19 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (2ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:07:19 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:19 +0100
Served asset /locomotive/simple.css - 304 Not Modified (3ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:19 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:07:19 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (2ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:07:19 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (2ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:07:19 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (2ms)
Started GET "/admin/" for 127.0.0.1 at 2011-11-05 16:07:20 +0100
Processing by Locomotive::RenderingController#show as HTML
Parameters: {"path"=>"admin"}
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['locomotive_pages'].find({"site_id"=>BSON::ObjectId('4eb2886171ab771f76000019'), :fullpath=>{"$in"=>["admin", "content_type_template"]}}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['locomotive_pages'].find({"site_id"=>BSON::ObjectId('4eb2886171ab771f76000019'), :slug=>"404", :depth=>0, :published=>true}).sort([[:_id, :asc]])
Completed 500 Internal Server Error in 4ms
ActionView::MissingTemplate (Missing template admin/errors/no_page with {:handlers=>[:erb, :builder, :haml], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/spec/dummy/app/views"
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views"
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/devise/app/views"
):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.4ms)
Started GET "/locomotive/" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Started GET "/locomotive" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Processing by Locomotive::SessionsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (5.3ms)
Completed 200 OK in 14ms (Views: 11.0ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Served asset /locomotive/simple.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:07:24 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (0ms)
Started GET "/locomotive/password/new" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Processing by Locomotive::PasswordsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/passwords/new.html.haml within /locomotive/layouts/not_logged_in (6.9ms)
Completed 200 OK in 21ms (Views: 13.4ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Served asset /locomotive/simple.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:07:25 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started POST "/locomotive/password" for 127.0.0.1 at 2011-11-05 16:07:28 +0100
Processing by Locomotive::PasswordsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"OrYqbFLT23JqfyriZbW9T49LSmjAcIAzHu/ANmaS6pA=", "locomotive_account"=>{"reset_password_token"=>"[FILTERED]", "email"=>"did@nocoffee.fr"}, "commit"=>"Send"}
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_accounts'].find({"email"=>"did@nocoffee.fr"}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['locomotive_accounts'].find({:reset_password_token=>"p5ciLZxevy5YyHbGUeqG"}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['locomotive_accounts'].update({"_id"=>BSON::ObjectId('4eb2688671ab77028c00009c')}, {"$set"=>{"reset_password_token"=>"p5ciLZxevy5YyHbGUeqG", "reset_password_sent_at"=>2011-11-05 15:07:28 UTC, "updated_at"=>2011-11-05 15:07:28 UTC}})
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/devise_mailer/reset_password_instructions.html.haml (3.8ms)
Sent mail to did@nocoffee.fr (250ms)
Date: Sat, 05 Nov 2011 16:07:29 +0100
From: support@example.com
Reply-To: support@example.com
To: did@nocoffee.fr
Message-ID: <4eb55131445f6_b6780443b3c11718@Didiers-iMac.local.mail>
Subject: Reset password instructions
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>
Hello
did@nocoffee.fr
!
</p>
<p>
<span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.reset_password_instruction">Reset Password Instruction</span>
</p>
<p>
<a href="http://localhost:8080/locomotive/password/edit?reset_password_token=p5ciLZxevy5YyHbGUeqG"><span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.change_my_password">Change My Password</span></a>
</p>
<p>
<span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.wrong_request_instruction">Wrong Request Instruction</span>
</p>
<p>
<span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.unchange_password_message">Unchange Password Message</span>
</p>
Redirected to http://localhost:8080/locomotive/sign_in
Completed 302 Found in 626ms
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Processing by Locomotive::SessionsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (5.4ms)
Completed 200 OK in 14ms (Views: 11.2ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (1ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (1ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Served asset /locomotive/simple.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:07:29 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (2ms)
Started GET "/locomotive/password/edit?reset_password_token=[FILTERED]" for 127.0.0.1 at 2011-11-05 16:07:34 +0100
Processing by Locomotive::PasswordsController#edit as HTML
Parameters: {"reset_password_token"=>"[FILTERED]"}
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
I am here
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/passwords/edit.html.haml within /locomotive/layouts/not_logged_in (18.0ms)
Completed 200 OK in 36ms (Views: 32.3ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:34 +0100
Served asset /locomotive/simple.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:07:34 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:34 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:07:35 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:07:35 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (1ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:07:35 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:07:35 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (0ms)
Started GET "/locomotive/password/new" for 127.0.0.1 at 2011-11-05 16:55:29 +0100
Processing by Locomotive::PasswordsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/passwords/new.html.haml within /locomotive/layouts/not_logged_in (4.1ms)
Completed 200 OK in 15ms (Views: 11.4ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:55:30 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:55:30 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:55:30 +0100
Served asset /locomotive/simple.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:55:30 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:55:30 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:55:30 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:55:30 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (0ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/password/new" for 127.0.0.1 at 2011-11-05 16:56:55 +0100
Processing by Locomotive::PasswordsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/passwords/new.html.haml within /locomotive/layouts/not_logged_in (116.2ms)
Completed 200 OK in 327ms (Views: 138.4ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:56:56 +0100
Served asset /locomotive/simple.css - 304 Not Modified (4ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:56:56 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:56:56 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (2ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:56:56 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:56:56 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (2ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:56:56 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (3ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:56:56 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (2ms)
Started POST "/locomotive/password" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Processing by Locomotive::PasswordsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"OrYqbFLT23JqfyriZbW9T49LSmjAcIAzHu/ANmaS6pA=", "locomotive_account"=>{"reset_password_token"=>"[FILTERED]", "email"=>"did@locomotivecms.com"}, "commit"=>"Send"}
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_accounts'].find({"email"=>"did@locomotivecms.com"}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/passwords/new.html.haml within /locomotive/layouts/not_logged_in (4.3ms)
Completed 200 OK in 16ms (Views: 10.3ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/simple.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/form/icons/error.png" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/form/icons/error.png - 200 OK (2ms)
Started GET "/assets/locomotive/form/error-arrow.png" for 127.0.0.1 at 2011-11-05 16:57:01 +0100
Served asset /locomotive/form/error-arrow.png - 200 OK (2ms)
Started POST "/locomotive/password" for 127.0.0.1 at 2011-11-05 16:57:04 +0100
Processing by Locomotive::PasswordsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"OrYqbFLT23JqfyriZbW9T49LSmjAcIAzHu/ANmaS6pA=", "locomotive_account"=>{"reset_password_token"=>"[FILTERED]", "email"=>"did@nocoffee.fr"}, "commit"=>"Send"}
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['locomotive_accounts'].find({"email"=>"did@nocoffee.fr"}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/devise_mailer/reset_password_instructions.html.haml (4.0ms)
Sent mail to did@nocoffee.fr (298ms)
Date: Sat, 05 Nov 2011 16:57:05 +0100
From: support@dummy.com
Reply-To: support@dummy.com
To: did@nocoffee.fr
Message-ID: <4eb55cd163696_fd380443b3c2461f@Didiers-iMac.local.mail>
Subject: Reset password instructions
Mime-Version: 1.0
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>
Hello
did@nocoffee.fr
!
</p>
<p>
<span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.reset_password_instruction">Reset Password Instruction</span>
</p>
<p>
<a href="http://localhost:8080/locomotive/password/edit?reset_password_token=p5ciLZxevy5YyHbGUeqG"><span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.change_my_password">Change My Password</span></a>
</p>
<p>
<span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.wrong_request_instruction">Wrong Request Instruction</span>
</p>
<p>
<span class="translation_missing" title="translation missing: en.locomotive.devise_mailer.reset_password_instructions.unchange_password_message">Unchange Password Message</span>
</p>
Redirected to http://localhost:8080/locomotive/sign_in
Completed 302 Found in 659ms
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Processing by Locomotive::SessionsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (14.0ms)
Completed 200 OK in 29ms (Views: 20.6ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (7ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Served asset /locomotive/simple.css - 304 Not Modified (3ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 16:57:05 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (0ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/admin/" for 127.0.0.1 at 2011-11-05 17:58:08 +0100
Started GET "/locomotive/admin" for 127.0.0.1 at 2011-11-05 17:58:09 +0100
Processing by Locomotive::RenderingController#show as HTML
Parameters: {"path"=>"locomotive/admin"}
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_pages'].find({"site_id"=>BSON::ObjectId('4eb2886171ab771f76000019'), :fullpath=>{"$in"=>["locomotive/admin", "locomotive/content_type_template"]}}).sort([[:_id, :asc]])
MONGODB locomotive_engine_dev['locomotive_pages'].find({"site_id"=>BSON::ObjectId('4eb2886171ab771f76000019'), :slug=>"404", :depth=>0, :published=>true}).sort([[:_id, :asc]])
Completed 500 Internal Server Error in 240ms
ActionView::MissingTemplate (Missing template admin/errors/no_page with {:handlers=>[:erb, :builder, :haml], :formats=>[:html], :locale=>[:en, :en]}. Searched in:
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/spec/dummy/app/views"
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views"
* "/Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/devise/app/views"
):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.8ms)
Started GET "/locomotive/pages" for 127.0.0.1 at 2011-11-05 17:58:14 +0100
Processing by Locomotive::PagesController#index as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Completed 401 Unauthorized in 2ms
NoMethodError (undefined method `root_path' for #<Devise::FailureApp:0x0000010397d278>):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.7ms)
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 18:08:30 +0100
Processing by Locomotive::SessionsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (9.5ms)
Completed 200 OK in 39ms (Views: 31.0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 18:08:33 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 18:08:33 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 18:08:33 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (2ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 18:08:33 +0100
Served asset /locomotive/simple.css - 304 Not Modified (3ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 18:08:33 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (2ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 18:08:33 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (2ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 18:08:33 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (3ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/pages" for 127.0.0.1 at 2011-11-05 18:42:34 +0100
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
Processing by Locomotive::PagesController#index as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Completed 401 Unauthorized in 25ms
NoMethodError (undefined method `root_path' for #<Devise::FailureApp:0x0000010732b2b8>):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.4ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/pages" for 127.0.0.1 at 2011-11-05 20:11:40 +0100
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
Processing by Locomotive::PagesController#index as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Completed 401 Unauthorized in 24ms
NoMethodError (undefined method `root_path' for #<Devise::FailureApp:0x00000105619418>):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms)
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 20:15:35 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.0ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/pages" for 127.0.0.1 at 2011-11-05 20:42:04 +0100
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
Processing by Locomotive::PagesController#index as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Completed 401 Unauthorized in 85ms
NoMethodError (undefined method `root_path' for #<Devise::FailureApp:0x00000107001498>):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.3ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/pages" for 127.0.0.1 at 2011-11-05 20:44:11 +0100
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
Processing by Locomotive::PagesController#index as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Completed 401 Unauthorized in 24ms
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 20:44:12 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.6ms)
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 20:44:37 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.8ms)
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 20:45:37 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.1ms)
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 20:45:39 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.1ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive/pages" for 127.0.0.1 at 2011-11-05 20:46:12 +0100
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
Processing by Locomotive::PagesController#index as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Completed 401 Unauthorized in 24ms
NoMethodError (undefined method `root_path' for #<Devise::FailureApp:0x000001072e1b68>):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.5ms)
Started GET "/locomotive/" for 127.0.0.1 at 2011-11-05 20:46:24 +0100
Started GET "/locomotive" for 127.0.0.1 at 2011-11-05 20:46:24 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (3.8ms)
Started GET "/locomotive" for 127.0.0.1 at 2011-11-05 20:46:25 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.2ms)
Started GET "/locomotive" for 127.0.0.1 at 2011-11-05 20:46:26 +0100
LoadError (Expected /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/controllers/locomotive/sessions_controller.rb to define Locomotive::SessionsController):
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
Rendered /Users/didier/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.1ms)
MongoDB logging. Please note that logging negatively impacts performance and should be disabled for high-performance production apps.
MONGODB admin['$cmd'].find({:ismaster=>1})
MONGODB admin['$cmd'].find({:ismaster=>1})
Started GET "/locomotive" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Processing by Locomotive::SessionsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['system.namespaces'].find({})
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (124.6ms)
Completed 200 OK in 393ms (Views: 188.1ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Served asset /locomotive/simple.css - 304 Not Modified (4ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (3ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (24ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (3ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 20:47:48 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (2ms)
Started GET "/locomotive/pages" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from acts_as_tree at /Users/didier/Desktop/NoCoffee/LocomotiveCMS/gems/acts_as_tree/lib/mongoid_acts_as_tree.rb:21)
Processing by Locomotive::PagesController#index as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Completed 401 Unauthorized in 2ms
Started GET "/locomotive/sign_in" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Processing by Locomotive::SessionsController#new as HTML
[LocomotiveCMS] [fetch site] host = localhost / localhost:8080
MONGODB locomotive_engine_dev['locomotive_sites'].find({}).sort([[:_id, :asc]])
Rendered /Users/didier/Desktop/NoCoffee/LocomotiveCMS/engine/app/views/locomotive/sessions/new.html.haml within /locomotive/layouts/not_logged_in (5.3ms)
Completed 200 OK in 14ms (Views: 11.2ms)
Started GET "/assets/locomotive/simple.css?body=1" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Served asset /locomotive/simple.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/blueprint/screen.css?body=1" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Served asset /locomotive/blueprint/screen.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/not_logged_in.css?body=1" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Served asset /locomotive/not_logged_in.css - 304 Not Modified (0ms)
Started GET "/assets/locomotive/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Served asset /locomotive/jquery.js - 304 Not Modified (0ms)
Started GET "/assets/locomotive/background/body.png" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Served asset /locomotive/background/body.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/wrapper_bg.png" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Served asset /locomotive/box/wrapper_bg.png - 304 Not Modified (0ms)
Started GET "/assets/locomotive/box/light_bg.png" for 127.0.0.1 at 2011-11-05 20:47:52 +0100
Served asset /locomotive/box/light_bg.png - 304 Not Modified (0ms)