Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rails server
- /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-3.2.21/lib/active_support/values/time_zone.rb:270: warning: circular argument reference - now
- => Booting Thin
- => Rails 3.2.21 application starting in development on http://0.0.0.0:3000
- => Call with -d to detach
- => Ctrl-C to shutdown server
- Connecting to database specified by database.yml
- Thin web server (v1.6.2 codename Doc Brown)
- Maximum connections set to 1024
- Listening on 0.0.0.0:3000, CTRL+C to stop
- Started GET "/" for 127.0.0.1 at 2015-08-08 02:17:40 +1000
- Processing by SessionsController#new as HTML
- Rendered devise/shared/_links.erb (1.3ms)
- Rendered sessions/new.html.erb within layouts/application (6.5ms)
- Rendered layouts/_header.html.erb (0.4ms)
- Rendered layouts/_messages.html.erb (0.4ms)
- Completed 200 OK in 99.5ms (Views: 88.9ms | ActiveRecord: 0.3ms)
- Started GET "/users/sign_up" for 127.0.0.1 at 2015-08-08 02:17:46 +1000
- Processing by Devise::RegistrationsController#new as HTML
- Rendered devise/shared/_links.erb (0.4ms)
- Rendered devise/registrations/new.html.erb within layouts/application (3.1ms)
- Rendered layouts/_header.html.erb (0.1ms)
- Rendered layouts/_messages.html.erb (0.1ms)
- Completed 200 OK in 27.0ms (Views: 26.2ms | ActiveRecord: 0.0ms)
- Started POST "/users" for 127.0.0.1 at 2015-08-08 02:17:57 +1000
- Processing by Devise::RegistrationsController#create as HTML
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"c3Xxt9hsxgFXqI4v96yTbLytKM30bWb5xcQPVVXsbDc=", "user"=>{"first_name"=>"dan", "last_name"=>"dan", "email"=>"danboy04@gmail.com", "username"=>"danboy4", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Register"}
- (0.0ms) begin transaction
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'danboy4' LIMIT 1
- User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'danboy04@gmail.com' LIMIT 1
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."authentication_token" = 'wzm1rsNzZSeKVxhBDy5h' LIMIT 1
- Setting Load (0.0ms) SELECT "settings".* FROM "settings" LIMIT 1
- (0.0ms) SELECT COUNT(*) FROM "settings"
- SQL (0.3ms) INSERT INTO "settings" ("created_at", "updated_at", "values") VALUES (?, ?, ?) [["created_at", Fri, 07 Aug 2015 16:17:57 UTC +00:00], ["updated_at", Fri, 07 Aug 2015 16:17:57 UTC +00:00], ["values", "---\n:max_rooms: 99\n:public_site: true\n:disable_conn_disconn_activity: \n"]]
- Binary data inserted for `string` type on column `encrypted_password`
- SQL (0.2ms) INSERT INTO "users" ("active", "authentication_token", "avatar_url", "created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "first_name", "gravatar_hash", "is_admin", "last_name", "last_sign_in_at", "last_sign_in_ip", "locale", "registration_status", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["active", true], ["authentication_token", "wzm1rsNzZSeKVxhBDy5h"], ["avatar_url", nil], ["created_at", Fri, 07 Aug 2015 16:17:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "danboy04@gmail.com"], ["encrypted_password", "$2a$10$mXXYNZaGXiZPh0vCC8oukOQ34moDzhVx4Rtos58W3AVAuA77XjgSS"], ["first_name", "dan"], ["gravatar_hash", "79aa0d53c64de44c8eec871d93332534"], ["is_admin", nil], ["last_name", "dan"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["locale", nil], ["registration_status", "active"], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 07 Aug 2015 16:17:57 UTC +00:00], ["username", "danboy4"]]
- (0.0ms) SELECT COUNT(*) FROM "users"
- User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
- User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'danboy4' AND "users"."id" != 1) LIMIT 1
- (0.3ms) UPDATE "users" SET "is_admin" = 't', "updated_at" = '2015-08-07 16:17:57.679699' WHERE "users"."id" = 1
- (1.9ms) commit transaction
- [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
- (0.0ms) begin transaction
- (0.2ms) UPDATE "users" SET "last_sign_in_at" = '2015-08-07 16:17:57.688525', "current_sign_in_at" = '2015-08-07 16:17:57.688525', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2015-08-07 16:17:57.689010' WHERE "users"."id" = 1
- (0.5ms) commit transaction
- Redirected to http://localhost:3000/
- Completed 302 Found in 113.7ms (ActiveRecord: 0.0ms)
- Started GET "/" for 127.0.0.1 at 2015-08-08 02:17:57 +1000
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- Processing by MainController#index as HTML
- Channel Load (0.1ms) SELECT "channels".* FROM "channels"
- Rendered main/_sidebar.html.erb (1.2ms)
- Rendered main/_nav.html.erb (0.2ms)
- Rendered main/index.html.erb within layouts/application (4.2ms)
- Rendered layouts/_header.html.erb (0.1ms)
- Rendered layouts/_messages.html.erb (0.0ms)
- Completed 200 OK in 36.3ms (Views: 33.6ms | ActiveRecord: 0.3ms)
- Started GET "/channels" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- Processing by ChannelsController#index as JSON
- Channel Load (0.1ms) SELECT "channels".* FROM "channels"
- Rendered text template (0.0ms)
- Completed 200 OK in 10.2ms (Views: 3.6ms | ActiveRecord: 0.1ms)
- Started GET "/users" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- Processing by UsersController#index as JSON
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE ('t'='t')
- Completed 200 OK in 5.3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
- Started GET "/active_users" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- Processing by ApisController#active_users as JSON
- Completed 200 OK in 0.5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
- Started GET "/channels/undefined/attachments" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
- Processing by AttachmentsController#index as JSON
- Parameters: {"channel_id"=>"undefined"}
- Channel Load (0.1ms) SELECT "channels".* FROM "channels" WHERE "channels"."id" = ? LIMIT 1 [["id", "undefined"]]
- Completed 404 Not Found in 1.2ms
- ActiveRecord::RecordNotFound - Couldn't find Channel with id=undefined:
- activerecord (3.2.21) lib/active_record/relation/finder_methods.rb:344:in `find_one'
- activerecord (3.2.21) lib/active_record/relation/finder_methods.rb:315:in `find_with_ids'
- activerecord (3.2.21) lib/active_record/relation/finder_methods.rb:107:in `find'
- activerecord (3.2.21) lib/active_record/querying.rb:5:in `find'
- app/controllers/attachments_controller.rb:10:in `index'
- actionpack (3.2.21) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
- actionpack (3.2.21) lib/abstract_controller/base.rb:167:in `process_action'
- actionpack (3.2.21) lib/action_controller/metal/rendering.rb:10:in `process_action'
- actionpack (3.2.21) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
- activesupport (3.2.21) lib/active_support/callbacks.rb:447:in `_run__1581310764066231459__process_action__4583678663497713325__callbacks'
- activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
- activesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.21) lib/abstract_controller/callbacks.rb:17:in `process_action'
- actionpack (3.2.21) lib/action_controller/metal/rescue.rb:29:in `process_action'
- actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
- activesupport (3.2.21) lib/active_support/notifications.rb:123:in `block in instrument'
- activesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
- activesupport (3.2.21) lib/active_support/notifications.rb:123:in `instrument'
- actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- actionpack (3.2.21) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
- activerecord (3.2.21) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
- actionpack (3.2.21) lib/abstract_controller/base.rb:121:in `process'
- actionpack (3.2.21) lib/abstract_controller/rendering.rb:45:in `process'
- actionpack (3.2.21) lib/action_controller/metal.rb:203:in `dispatch'
- actionpack (3.2.21) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- actionpack (3.2.21) lib/action_controller/metal.rb:246:in `block in action'
- actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
- actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:36:in `call'
- actionpack (3.2.21) lib/action_dispatch/routing/mapper.rb:43:in `call'
- journey (1.0.4) lib/journey/router.rb:68:in `block in call'
- journey (1.0.4) lib/journey/router.rb:56:in `call'
- actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:608:in `call'
- warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
- warden (1.2.3) lib/warden/manager.rb:34:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- rack (1.4.5) lib/rack/etag.rb:23:in `call'
- rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/head.rb:14:in `call'
- remotipart (1.2.1) lib/remotipart/middleware.rb:27:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/flash.rb:242:in `call'
- rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
- rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/cookies.rb:341:in `call'
- activerecord (3.2.21) lib/active_record/query_cache.rb:64:in `call'
- activerecord (3.2.21) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
- activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `_run__3520226539671886189__call__692295987456123236__callbacks'
- activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'
- activesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
- activesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'
- actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/reloader.rb:65:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
- better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
- better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
- better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
- railties (3.2.21) lib/rails/rack/logger.rb:32:in `call_app'
- railties (3.2.21) lib/rails/rack/logger.rb:18:in `call'
- quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
- actionpack (3.2.21) lib/action_dispatch/middleware/request_id.rb:22:in `call'
- rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
- rack (1.4.5) lib/rack/runtime.rb:17:in `call'
- activesupport (3.2.21) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- rack (1.4.5) lib/rack/lock.rb:15:in `call'
- actionpack (3.2.21) lib/action_dispatch/middleware/static.rb:83:in `call'
- railties (3.2.21) lib/rails/engine.rb:484:in `call'
- railties (3.2.21) lib/rails/application.rb:231:in `call'
- railties (3.2.21) lib/rails/railtie/configurable.rb:30:in `method_missing'
- rack (1.4.5) lib/rack/urlmap.rb:64:in `block in call'
- rack (1.4.5) lib/rack/urlmap.rb:49:in `call'
- rack (1.4.5) lib/rack/content_length.rb:14:in `call'
- railties (3.2.21) lib/rails/rack/log_tailer.rb:17:in `call'
- thin (1.6.2) lib/thin/connection.rb:86:in `block in pre_process'
- thin (1.6.2) lib/thin/connection.rb:84:in `pre_process'
- thin (1.6.2) lib/thin/connection.rb:53:in `process'
- thin (1.6.2) lib/thin/connection.rb:39:in `receive_data'
- eventmachine (1.0.4) lib/eventmachine.rb:187:in `run'
- thin (1.6.2) lib/thin/backends/base.rb:73:in `start'
- thin (1.6.2) lib/thin/server.rb:162:in `start'
- rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
- rack (1.4.5) lib/rack/server.rb:268:in `start'
- railties (3.2.21) lib/rails/commands/server.rb:70:in `start'
- railties (3.2.21) lib/rails/commands.rb:55:in `block in <top (required)>'
- railties (3.2.21) lib/rails/commands.rb:50:in `<top (required)>'
- script/rails:6:in `<main>'
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."authentication_token" = 'wzm1rsNzZSeKVxhBDy5h' LIMIT 1
- Channel Load (0.1ms) SELECT "channels".* FROM "channels" WHERE "channels"."id" = ? LIMIT 1 [["id", 1]]
- Exiting
- /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/relation/finder_methods.rb:344:in `find_one': Couldn't find Channel with id=1 (ActiveRecord::RecordNotFound)
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/relation/finder_methods.rb:315:in `find_with_ids'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/relation/finder_methods.rb:107:in `find'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-3.2.21/lib/active_record/querying.rb:5:in `find'
- from /Users/dan/kandan/app/models/channel.rb:22:in `primary'
- from /Users/dan/kandan/app/models/channel.rb:26:in `user_connect'
- from /Users/dan/kandan/lib/active_users.rb:63:in `publish_message'
- from /Users/dan/kandan/lib/active_users.rb:14:in `add'
- from /Users/dan/kandan/lib/faye_extensions/devise_auth.rb:7:in `incoming'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/faye-1.0.1/lib/faye/protocol/extensible.rb:38:in `block in pipe_through_extensions'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/faye-1.0.1/lib/faye/protocol/extensible.rb:41:in `call'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/faye-1.0.1/lib/faye/protocol/extensible.rb:41:in `pipe_through_extensions'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/faye-1.0.1/lib/faye/protocol/server.rb:66:in `block in process'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/faye-1.0.1/lib/faye/protocol/server.rb:65:in `each'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/faye-1.0.1/lib/faye/protocol/server.rb:65:in `process'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/faye-1.0.1/lib/faye/adapters/rack_adapter.rb:105:in `block in handle_request'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.4/lib/eventmachine.rb:968:in `call'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.4/lib/eventmachine.rb:968:in `block in run_deferred_callbacks'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.4/lib/eventmachine.rb:965:in `times'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.4/lib/eventmachine.rb:965:in `run_deferred_callbacks'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run_machine'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/eventmachine-1.0.4/lib/eventmachine.rb:187:in `run'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thin-1.6.2/lib/thin/backends/base.rb:73:in `start'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/thin-1.6.2/lib/thin/server.rb:162:in `start'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands/server.rb:70:in `start'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands.rb:55:in `block in <top (required)>'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `tap'
- from /Users/dan/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-3.2.21/lib/rails/commands.rb:50:in `<top (required)>'
- from script/rails:6:in `require'
- from script/rails:6:in `<main>'
- Daniels-MacBook-Pro:kandan dan$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement