This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(in /home/proton/projects/web) | |
root /(.:format) {:action=>"index", :controller=>"home"} | |
passwords POST /passwords(.:format) {:action=>"create", :controller=>"clearance/passwords"} | |
new_password GET /passwords/new(.:format) {:action=>"new", :controller=>"clearance/passwords"} | |
session POST /session(.:format) {:action=>"create", :controller=>"clearance/sessions"} | |
new_session GET /session/new(.:format) {:action=>"new", :controller=>"clearance/sessions"} | |
session DELETE /session(.:format) {:action=>"destroy", :controller=>"clearance/sessions"} | |
user_password POST /users/:user_id/password(.:format) {:action=>"create", :controller=>"clearance/passwords"} | |
edit_user_password GET /users/:user_id/password/edit(.:format) {:action=>"edit", :controller=>"clearance/passwor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/sign_out" for 127.0.0.1 at Tue Nov 16 19:09:15 +0300 2010 | |
ActionController::RoutingError (No route matches "/sign_out"): | |
Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/proton/projects/webra/bundle/ruby/1.9.1/gems/railties-3.1.0/lib/rails/commands/plugin.rb:277:in `<top (required)>': Commands is not a module (TypeError) | |
from /home/proton/projects/webra/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require' | |
from /home/proton/projects/webra/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `block in require' | |
from /home/proton/projects/webra/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `block in load_dependency' | |
from /home/proton/projects/webra/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:640:in `new_constants_in' | |
from /home/proton/projects/webra/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:223:in `load_dependency' | |
from /home/proton/projects/webra/bundle/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support/dependencies.rb:240:in `require' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proton@earth webra % rvm info (21:42) | |
ruby-1.9.2-p290@webra: | |
system: | |
uname: "Linux earth 2.6.39-gentoo-r3 #5 SMP PREEMPT Thu Sep 22 23:38:55 MSD 2011 i686 Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz GenuineIntel GNU/Linux" | |
bash: "/bin/bash => GNU bash, version 4.1.9(2)-release (i686-pc-linux-gnu)" | |
zsh: "/bin/zsh => zsh 4.3.11 (i686-pc-linux-gnu)" | |
rvm: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started PUT "/orders/4f169b49c77c9434aa000022" for 127.0.0.1 at 2012-01-19 17:20:33 +0400 | |
Processing by OrdersController#update as JSON | |
Parameters: {"order"=>{"email"=>"aaa@yandex.ru"}, "id"=>"4f169b49c77c9434aa000022"} | |
WARNING: Can't verify CSRF token authenticity | |
MONGODB webra_development['system.namespaces'].find({}) | |
MONGODB webra_development['users'].find({:_id=>BSON::ObjectId('4f157ed4c77c941a76000002')}).limit(-1).sort([[:_id, :asc]]) | |
MONGODB webra_development['users'].update({"_id"=>BSON::ObjectId('4f157ed4c77c941a76000002')}, {"$set"=>{"remember_created_at"=>nil}}) | |
MONGODB webra_development['system.namespaces'].find({}) | |
MONGODB webra_development['product_templates'].find({:title=>"ROOT_PRODUCT_TEMPLATE"}).limit(-1).sort([[:_id, :asc]]) | |
MONGODB webra_development['system.namespaces'].find({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proton@earth onila % rails g puffer:controller PufferUser (0:28) | |
DEPRECATION WARNING: ActiveSupport::Memoizable is deprecated and will be removed in future releases,simply use Ruby memoization pattern instead. (called from <top (required)> at /home/proton/projects/onila/config/application.rb:11) | |
create app/controllers/admin/puffer_users_controller.rb | |
/home/proton/.rvm/gems/ruby-1.9.3-p0@onila/bundler/gems/puffer-0043e83cc86c/lib/puffer/backends/models/user/active_record.rb:3:in `<module:User>': uninitialized constant Puffer::User::ActiveRecord (NameError) | |
from /home/proton/.rvm/gems/ruby-1.9.3-p0@onila/bundler/gems/puffer-0043e83cc86c/lib/puffer/backends/models/user/active_record.rb:2:in `<module:Puffer>' | |
from /home/proton/.rvm/gems/ruby-1.9.3-p0@onila/bundler/gems/puffer-0043e83cc86c/lib/puffer/backends/models/user/active_r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var AppRouter = Backbone.Router.extend({ | |
routes: { "appointments/:id": "show", "": "index" }, | |
initialize: function(options){ | |
this.appointmentList = new AppointmentList(); | |
}, | |
start: function(){ | |
Backbone.history.start({pushState: true}); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*thin *nginx *rails | |
Подскажите, nginx по непонятным причинам любит кешировать рельсовый сайт (на thin). | |
Грешу именно на nginx, ибо при обращении напрямую к thin проблемы не возникает. | |
При этом нигде кеширование не врубал | |
Конфиг nginx: | |
user nginx nginx; | |
worker_processes 2; | |
timer_resolution 100ms; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user nginx nginx; | |
worker_processes 2; | |
timer_resolution 100ms; | |
worker_rlimit_nofile 8192; | |
worker_priority -15; | |
error_log /var/log/nginx/error_log info; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pid: /var/web/my/shared/pids/thin.pid | |
log: log/thin.log | |
timeout: 30 | |
max_conns: 1024 | |
socket: /var/web/my/shared/thin.sock | |
no-epoll: true | |
max_persistent_conns: 512 | |
chdir: /var/web/my/current | |
environment: production | |
servers: 3 |
OlderNewer