Advertisement
Guest User

Untitled

a guest
Aug 7th, 2015
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.02 KB | None | 0 0
  1. rails server
  2. /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
  3. => Booting Thin
  4. => Rails 3.2.21 application starting in development on http://0.0.0.0:3000
  5. => Call with -d to detach
  6. => Ctrl-C to shutdown server
  7. Connecting to database specified by database.yml
  8. Thin web server (v1.6.2 codename Doc Brown)
  9. Maximum connections set to 1024
  10. Listening on 0.0.0.0:3000, CTRL+C to stop
  11.  
  12.  
  13. Started GET "/" for 127.0.0.1 at 2015-08-08 02:17:40 +1000
  14. Processing by SessionsController#new as HTML
  15. Rendered devise/shared/_links.erb (1.3ms)
  16. Rendered sessions/new.html.erb within layouts/application (6.5ms)
  17. Rendered layouts/_header.html.erb (0.4ms)
  18. Rendered layouts/_messages.html.erb (0.4ms)
  19. Completed 200 OK in 99.5ms (Views: 88.9ms | ActiveRecord: 0.3ms)
  20.  
  21.  
  22. Started GET "/users/sign_up" for 127.0.0.1 at 2015-08-08 02:17:46 +1000
  23. Processing by Devise::RegistrationsController#new as HTML
  24. Rendered devise/shared/_links.erb (0.4ms)
  25. Rendered devise/registrations/new.html.erb within layouts/application (3.1ms)
  26. Rendered layouts/_header.html.erb (0.1ms)
  27. Rendered layouts/_messages.html.erb (0.1ms)
  28. Completed 200 OK in 27.0ms (Views: 26.2ms | ActiveRecord: 0.0ms)
  29.  
  30.  
  31. Started POST "/users" for 127.0.0.1 at 2015-08-08 02:17:57 +1000
  32. Processing by Devise::RegistrationsController#create as HTML
  33. 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"}
  34. (0.0ms) begin transaction
  35. User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."username" = 'danboy4' LIMIT 1
  36. User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'danboy04@gmail.com' LIMIT 1
  37. User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."authentication_token" = 'wzm1rsNzZSeKVxhBDy5h' LIMIT 1
  38. Setting Load (0.0ms) SELECT "settings".* FROM "settings" LIMIT 1
  39. (0.0ms) SELECT COUNT(*) FROM "settings"
  40. 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"]]
  41. Binary data inserted for `string` type on column `encrypted_password`
  42. 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"]]
  43. (0.0ms) SELECT COUNT(*) FROM "users"
  44. User Load (0.1ms) SELECT "users".* FROM "users" LIMIT 1
  45. User Exists (0.0ms) SELECT 1 AS one FROM "users" WHERE ("users"."username" = 'danboy4' AND "users"."id" != 1) LIMIT 1
  46. (0.3ms) UPDATE "users" SET "is_admin" = 't', "updated_at" = '2015-08-07 16:17:57.679699' WHERE "users"."id" = 1
  47. (1.9ms) commit transaction
  48. [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.
  49. (0.0ms) begin transaction
  50. (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
  51. (0.5ms) commit transaction
  52. Redirected to http://localhost:3000/
  53. Completed 302 Found in 113.7ms (ActiveRecord: 0.0ms)
  54.  
  55.  
  56. Started GET "/" for 127.0.0.1 at 2015-08-08 02:17:57 +1000
  57. User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
  58. Processing by MainController#index as HTML
  59. Channel Load (0.1ms) SELECT "channels".* FROM "channels"
  60. Rendered main/_sidebar.html.erb (1.2ms)
  61. Rendered main/_nav.html.erb (0.2ms)
  62. Rendered main/index.html.erb within layouts/application (4.2ms)
  63. Rendered layouts/_header.html.erb (0.1ms)
  64. Rendered layouts/_messages.html.erb (0.0ms)
  65. Completed 200 OK in 36.3ms (Views: 33.6ms | ActiveRecord: 0.3ms)
  66.  
  67.  
  68. Started GET "/channels" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
  69. User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
  70. Processing by ChannelsController#index as JSON
  71. Channel Load (0.1ms) SELECT "channels".* FROM "channels"
  72. Rendered text template (0.0ms)
  73. Completed 200 OK in 10.2ms (Views: 3.6ms | ActiveRecord: 0.1ms)
  74.  
  75.  
  76. Started GET "/users" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
  77. User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
  78. Processing by UsersController#index as JSON
  79. User Load (0.1ms) SELECT "users".* FROM "users" WHERE ('t'='t')
  80. Completed 200 OK in 5.3ms (Views: 0.8ms | ActiveRecord: 0.1ms)
  81.  
  82.  
  83. Started GET "/active_users" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
  84. User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
  85. Processing by ApisController#active_users as JSON
  86. Completed 200 OK in 0.5ms (Views: 0.1ms | ActiveRecord: 0.0ms)
  87.  
  88.  
  89. Started GET "/channels/undefined/attachments" for 127.0.0.1 at 2015-08-08 02:17:58 +1000
  90. User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
  91. Processing by AttachmentsController#index as JSON
  92. Parameters: {"channel_id"=>"undefined"}
  93. Channel Load (0.1ms) SELECT "channels".* FROM "channels" WHERE "channels"."id" = ? LIMIT 1 [["id", "undefined"]]
  94. Completed 404 Not Found in 1.2ms
  95.  
  96. ActiveRecord::RecordNotFound - Couldn't find Channel with id=undefined:
  97. activerecord (3.2.21) lib/active_record/relation/finder_methods.rb:344:in `find_one'
  98. activerecord (3.2.21) lib/active_record/relation/finder_methods.rb:315:in `find_with_ids'
  99. activerecord (3.2.21) lib/active_record/relation/finder_methods.rb:107:in `find'
  100. activerecord (3.2.21) lib/active_record/querying.rb:5:in `find'
  101. app/controllers/attachments_controller.rb:10:in `index'
  102. actionpack (3.2.21) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  103. actionpack (3.2.21) lib/abstract_controller/base.rb:167:in `process_action'
  104. actionpack (3.2.21) lib/action_controller/metal/rendering.rb:10:in `process_action'
  105. actionpack (3.2.21) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  106. activesupport (3.2.21) lib/active_support/callbacks.rb:447:in `_run__1581310764066231459__process_action__4583678663497713325__callbacks'
  107. activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'
  108. activesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  109. activesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'
  110. actionpack (3.2.21) lib/abstract_controller/callbacks.rb:17:in `process_action'
  111. actionpack (3.2.21) lib/action_controller/metal/rescue.rb:29:in `process_action'
  112. actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  113. activesupport (3.2.21) lib/active_support/notifications.rb:123:in `block in instrument'
  114. activesupport (3.2.21) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  115. activesupport (3.2.21) lib/active_support/notifications.rb:123:in `instrument'
  116. actionpack (3.2.21) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  117. actionpack (3.2.21) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  118. activerecord (3.2.21) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  119. actionpack (3.2.21) lib/abstract_controller/base.rb:121:in `process'
  120. actionpack (3.2.21) lib/abstract_controller/rendering.rb:45:in `process'
  121. actionpack (3.2.21) lib/action_controller/metal.rb:203:in `dispatch'
  122. actionpack (3.2.21) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  123. actionpack (3.2.21) lib/action_controller/metal.rb:246:in `block in action'
  124. actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  125. actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:36:in `call'
  126. actionpack (3.2.21) lib/action_dispatch/routing/mapper.rb:43:in `call'
  127. journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  128. journey (1.0.4) lib/journey/router.rb:56:in `call'
  129. actionpack (3.2.21) lib/action_dispatch/routing/route_set.rb:608:in `call'
  130. warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
  131. warden (1.2.3) lib/warden/manager.rb:34:in `call'
  132. actionpack (3.2.21) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  133. rack (1.4.5) lib/rack/etag.rb:23:in `call'
  134. rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
  135. actionpack (3.2.21) lib/action_dispatch/middleware/head.rb:14:in `call'
  136. remotipart (1.2.1) lib/remotipart/middleware.rb:27:in `call'
  137. actionpack (3.2.21) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  138. actionpack (3.2.21) lib/action_dispatch/middleware/flash.rb:242:in `call'
  139. rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
  140. rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
  141. actionpack (3.2.21) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  142. activerecord (3.2.21) lib/active_record/query_cache.rb:64:in `call'
  143. activerecord (3.2.21) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  144. actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  145. activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `_run__3520226539671886189__call__692295987456123236__callbacks'
  146. activesupport (3.2.21) lib/active_support/callbacks.rb:405:in `__run_callback'
  147. activesupport (3.2.21) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  148. activesupport (3.2.21) lib/active_support/callbacks.rb:81:in `run_callbacks'
  149. actionpack (3.2.21) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  150. actionpack (3.2.21) lib/action_dispatch/middleware/reloader.rb:65:in `call'
  151. actionpack (3.2.21) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  152. better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
  153. better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
  154. better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
  155. actionpack (3.2.21) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  156. actionpack (3.2.21) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  157. railties (3.2.21) lib/rails/rack/logger.rb:32:in `call_app'
  158. railties (3.2.21) lib/rails/rack/logger.rb:18:in `call'
  159. quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
  160. actionpack (3.2.21) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  161. rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  162. rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  163. activesupport (3.2.21) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  164. rack (1.4.5) lib/rack/lock.rb:15:in `call'
  165. actionpack (3.2.21) lib/action_dispatch/middleware/static.rb:83:in `call'
  166. railties (3.2.21) lib/rails/engine.rb:484:in `call'
  167. railties (3.2.21) lib/rails/application.rb:231:in `call'
  168. railties (3.2.21) lib/rails/railtie/configurable.rb:30:in `method_missing'
  169. rack (1.4.5) lib/rack/urlmap.rb:64:in `block in call'
  170. rack (1.4.5) lib/rack/urlmap.rb:49:in `call'
  171. rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  172. railties (3.2.21) lib/rails/rack/log_tailer.rb:17:in `call'
  173. thin (1.6.2) lib/thin/connection.rb:86:in `block in pre_process'
  174. thin (1.6.2) lib/thin/connection.rb:84:in `pre_process'
  175. thin (1.6.2) lib/thin/connection.rb:53:in `process'
  176. thin (1.6.2) lib/thin/connection.rb:39:in `receive_data'
  177. eventmachine (1.0.4) lib/eventmachine.rb:187:in `run'
  178. thin (1.6.2) lib/thin/backends/base.rb:73:in `start'
  179. thin (1.6.2) lib/thin/server.rb:162:in `start'
  180. rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
  181. rack (1.4.5) lib/rack/server.rb:268:in `start'
  182. railties (3.2.21) lib/rails/commands/server.rb:70:in `start'
  183. railties (3.2.21) lib/rails/commands.rb:55:in `block in <top (required)>'
  184. railties (3.2.21) lib/rails/commands.rb:50:in `<top (required)>'
  185. script/rails:6:in `<main>'
  186.  
  187. User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."authentication_token" = 'wzm1rsNzZSeKVxhBDy5h' LIMIT 1
  188. Channel Load (0.1ms) SELECT "channels".* FROM "channels" WHERE "channels"."id" = ? LIMIT 1 [["id", 1]]
  189. Exiting
  190. /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)
  191. 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'
  192. 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'
  193. 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'
  194. from /Users/dan/kandan/app/models/channel.rb:22:in `primary'
  195. from /Users/dan/kandan/app/models/channel.rb:26:in `user_connect'
  196. from /Users/dan/kandan/lib/active_users.rb:63:in `publish_message'
  197. from /Users/dan/kandan/lib/active_users.rb:14:in `add'
  198. from /Users/dan/kandan/lib/faye_extensions/devise_auth.rb:7:in `incoming'
  199. 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'
  200. 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'
  201. 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'
  202. 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'
  203. 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'
  204. 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'
  205. 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'
  206. 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'
  207. 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'
  208. 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'
  209. 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'
  210. 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'
  211. 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'
  212. 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'
  213. 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'
  214. 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'
  215. 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'
  216. 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'
  217. 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)>'
  218. 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'
  219. 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)>'
  220. from script/rails:6:in `require'
  221. from script/rails:6:in `<main>'
  222. Daniels-MacBook-Pro:kandan dan$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement