Created
March 4, 2018 18:55
-
-
Save WolfpackGaming-SavSin/00bbb906a122c468cbf2aeecbd24dbb0 to your computer and use it in GitHub Desktop.
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 POST "/update_profile" for 108.64.115.55 at 2018-03-04 18:53:32 +0000 | |
Cannot render console from 108.64.115.55! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255 | |
Processing by UsersController#update_profile as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ixUptosF3ckhMTmDc3/ch96XfjB0AmMecOWQN8VW3Y6icU0gNcOUPtN03Q89ryn5uEBvWTTy8R7br6gHgGiT8w==", "birthday"=>"1990-11-14", "website"=>"www.yodaoffroad.com", "bio"=>"This is a test bio Edited111", "show_name"=>"false", "show_email"=>"false", "show_birthday"=>"true", "show_website"=>"true", "button"=>""} | |
User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] | |
↳ /usr/local/rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0.rc1/lib/active_record/log_subscriber.rb:98 | |
[13, 22] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
13: @user = current_user | |
14: end | |
15: | |
16: def update_profile | |
17: byebug | |
=> 18: current_user.settings(:user_settings).birthday = params[:birthday] | |
19: current_user.settings(:user_settings).website = params[:website] | |
20: current_user.settings(:user_settings).bio = params[:bio] | |
21: | |
22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
(byebug) params | |
<ActionController::Parameters {"utf8"=>"✓", "authenticity_token"=>"ixUptosF3ckhMTmDc3/ch96XfjB0AmMecOWQN8VW3Y6icU0gNcOUPtN03Q89ryn5uEBvWTTy8R7br6gHgGiT8w==", "birthday"=>"1990-11-14", "website"=>"www.yodaoffroad.com", "bio"=>"This is a test bio Edited111", "show_name"=>"false", "show_email"=>"false", "show_birthday"=>"true", "show_website"=>"true", "button"=>"", "controller"=>"users", "action"=>"update_profile"} permitted: false> | |
(byebug) next | |
RailsSettings::SettingObject Load (6.7ms) SELECT "settings".* FROM "settings" WHERE "settings"."target_id" = ? AND "settings"."target_type" = ? [["target_id", 1], ["target_type", "User"]] | |
↳ app/controllers/users_controller.rb:18 | |
[14, 23] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
14: end | |
15: | |
16: def update_profile | |
17: byebug | |
18: current_user.settings(:user_settings).birthday = params[:birthday] | |
=> 19: current_user.settings(:user_settings).website = params[:website] | |
20: current_user.settings(:user_settings).bio = params[:bio] | |
21: | |
22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
(byebug) next | |
[15, 24] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
15: | |
16: def update_profile | |
17: byebug | |
18: current_user.settings(:user_settings).birthday = params[:birthday] | |
19: current_user.settings(:user_settings).website = params[:website] | |
=> 20: current_user.settings(:user_settings).bio = params[:bio] | |
21: | |
22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
(byebug) next | |
[17, 26] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
17: byebug | |
18: current_user.settings(:user_settings).birthday = params[:birthday] | |
19: current_user.settings(:user_settings).website = params[:website] | |
20: current_user.settings(:user_settings).bio = params[:bio] | |
21: | |
=> 22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
25: current_user.settings(:user_show_settings).show_website = params[:show_website] | |
26: | |
(byebug) next | |
[18, 27] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
18: current_user.settings(:user_settings).birthday = params[:birthday] | |
19: current_user.settings(:user_settings).website = params[:website] | |
20: current_user.settings(:user_settings).bio = params[:bio] | |
21: | |
22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
=> 23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
25: current_user.settings(:user_show_settings).show_website = params[:show_website] | |
26: | |
27: if current_user.save() | |
(byebug) next | |
[19, 28] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
19: current_user.settings(:user_settings).website = params[:website] | |
20: current_user.settings(:user_settings).bio = params[:bio] | |
21: | |
22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
=> 24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
25: current_user.settings(:user_show_settings).show_website = params[:show_website] | |
26: | |
27: if current_user.save() | |
28: flash[:success] = "Profile Updated Successfully" | |
(byebug) next | |
[20, 29] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
20: current_user.settings(:user_settings).bio = params[:bio] | |
21: | |
22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
=> 25: current_user.settings(:user_show_settings).show_website = params[:show_website] | |
26: | |
27: if current_user.save() | |
28: flash[:success] = "Profile Updated Successfully" | |
29: redirect_to user_path(current_user) | |
(byebug) next | |
[22, 31] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
22: current_user.settings(:user_show_settings).show_name = params[:show_name] | |
23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
25: current_user.settings(:user_show_settings).show_website = params[:show_website] | |
26: | |
=> 27: if current_user.save() | |
28: flash[:success] = "Profile Updated Successfully" | |
29: redirect_to user_path(current_user) | |
30: else | |
31: redirect_to edit_profile_path | |
(byebug) next | |
(0.7ms) begin transaction | |
↳ app/controllers/users_controller.rb:27 | |
User Exists (2.2ms) SELECT 1 AS one FROM "users" WHERE LOWER("users"."username") = LOWER(?) AND "users"."id" != ? LIMIT ? [["username", "SavSin"], ["id", 1], ["LIMIT", 1]] | |
↳ app/controllers/users_controller.rb:27 | |
User Exists (2.0ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ? [["email", "SavSin"], ["LIMIT", 1]] | |
↳ app/models/user.rb:40 | |
RailsSettings::SettingObject Update (5.1ms) UPDATE "settings" SET "value" = ?, "updated_at" = ? WHERE "settings"."id" = ? [["value", "---\nshow_name: 'false'\nshow_email: 'false'\nshow_birthday: 'true'\nshow_website: 'true'\n"], ["updated_at", "2018-03-04 18:54:35.391154"], ["id", 1]] | |
↳ app/controllers/users_controller.rb:27 | |
(11.3ms) commit transaction | |
^[[A ↳ app/controllers/users_controller.rb:27 | |
[23, 32] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
23: current_user.settings(:user_show_settings).show_email = params[:show_email] | |
24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
25: current_user.settings(:user_show_settings).show_website = params[:show_website] | |
26: | |
27: if current_user.save() | |
=> 28: flash[:success] = "Profile Updated Successfully" | |
29: redirect_to user_path(current_user) | |
30: else | |
31: redirect_to edit_profile_path | |
32: end | |
(byebug) next | |
[24, 33] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
24: current_user.settings(:user_show_settings).show_birthday = params[:show_birthday] | |
25: current_user.settings(:user_show_settings).show_website = params[:show_website] | |
26: | |
27: if current_user.save() | |
28: flash[:success] = "Profile Updated Successfully" | |
=> 29: redirect_to user_path(current_user) | |
30: else | |
31: redirect_to edit_profile_path | |
32: end | |
33: | |
(byebug) next | |
Redirected to https://yodaoffroad-davfount45.c9users.io/users/1 | |
[27, 36] in /home/ubuntu/rails_projects/yodaoffroad/app/controllers/users_controller.rb | |
27: if current_user.save() | |
28: flash[:success] = "Profile Updated Successfully" | |
29: redirect_to user_path(current_user) | |
30: else | |
31: redirect_to edit_profile_path | |
32: end | |
33: | |
=> 34: params.permit! | |
35: end | |
36: end | |
(byebug) next | |
[128, 137] in /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0.rc1/lib/active_support/callbacks.rb | |
128: | |
129: # Common case: no 'around' callbacks defined | |
130: if next_sequence.final? | |
131: next_sequence.invoke_before(env) | |
132: env.value = !env.halted && (!block_given? || yield) | |
=> 133: next_sequence.invoke_after(env) | |
134: env.value | |
135: else | |
136: invoke_sequence.call | |
137: end | |
(byebug) next | |
[129, 138] in /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0.rc1/lib/active_support/callbacks.rb | |
129: # Common case: no 'around' callbacks defined | |
130: if next_sequence.final? | |
131: next_sequence.invoke_before(env) | |
132: env.value = !env.halted && (!block_given? || yield) | |
133: next_sequence.invoke_after(env) | |
=> 134: env.value | |
135: else | |
136: invoke_sequence.call | |
137: end | |
138: end | |
(byebug) next | |
[30, 39] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/instrumentation.rb | |
30: ActiveSupport::Notifications.instrument("start_processing.action_controller", raw_payload.dup) | |
31: | |
32: ActiveSupport::Notifications.instrument("process_action.action_controller", raw_payload) do |payload| | |
33: begin | |
34: result = super | |
=> 35: payload[:status] = response.status | |
36: result | |
37: ensure | |
38: append_info_to_payload(payload) | |
39: end | |
(byebug) next | |
[31, 40] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/instrumentation.rb | |
31: | |
32: ActiveSupport::Notifications.instrument("process_action.action_controller", raw_payload) do |payload| | |
33: begin | |
34: result = super | |
35: payload[:status] = response.status | |
=> 36: result | |
37: ensure | |
38: append_info_to_payload(payload) | |
39: end | |
40: end | |
(byebug) next | |
[33, 42] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionpack-5.2.0.rc1/lib/action_controller/metal/instrumentation.rb | |
33: begin | |
34: result = super | |
35: payload[:status] = response.status | |
36: result | |
37: ensure | |
=> 38: append_info_to_payload(payload) | |
39: end | |
40: end | |
41: end | |
42: | |
(byebug) next | |
[24, 33] in /usr/local/rvm/gems/ruby-2.4.1/gems/activesupport-5.2.0.rc1/lib/active_support/notifications/instrumenter.rb | |
24: rescue Exception => e | |
25: payload[:exception] = [e.class.name, e.message] | |
26: payload[:exception_object] = e | |
27: raise e | |
28: ensure | |
=> 29: finish_with_state listeners_state, name, payload | |
30: end | |
31: end | |
32: | |
33: # Send a start notification with +name+ and +payload+. | |
(byebug) next | |
Completed 302 Found in 69699ms (ActiveRecord: 28.5ms) | |
[29, 38] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionview-5.2.0.rc1/lib/action_view/rendering.rb | |
29: # Overwrite process to setup I18n proxy. | |
30: def process(*) #:nodoc: | |
31: old_config, I18n.config = I18n.config, I18nProxy.new(I18n.config, lookup_context) | |
32: super | |
33: ensure | |
=> 34: I18n.config = old_config | |
35: end | |
36: | |
37: module ClassMethods | |
38: def view_context_class | |
(byebug) next | |
[187, 196] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionpack-5.2.0.rc1/lib/action_controller/metal.rb | |
187: | |
188: def dispatch(name, request, response) #:nodoc: | |
189: set_request!(request) | |
190: set_response!(response) | |
191: process(name) | |
=> 192: request.commit_flash | |
193: to_a | |
194: end | |
195: | |
196: def set_response!(response) # :nodoc: | |
(byebug) next | |
[188, 197] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionpack-5.2.0.rc1/lib/action_controller/metal.rb | |
188: def dispatch(name, request, response) #:nodoc: | |
189: set_request!(request) | |
190: set_response!(response) | |
191: process(name) | |
192: request.commit_flash | |
=> 193: to_a | |
194: end | |
195: | |
196: def set_response!(response) # :nodoc: | |
197: @_response = response | |
(byebug) next | |
[49, 58] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionpack-5.2.0.rc1/lib/action_dispatch/journey/router.rb | |
49: | |
50: req.path_parameters = set_params.merge parameters | |
51: | |
52: status, headers, body = route.app.serve(req) | |
53: | |
=> 54: if "pass" == headers["X-Cascade"] | |
55: req.script_name = script_name | |
56: req.path_info = path_info | |
57: req.path_parameters = set_params | |
58: next | |
(byebug) next | |
[56, 65] in /usr/local/rvm/gems/ruby-2.4.1/gems/actionpack-5.2.0.rc1/lib/action_dispatch/journey/router.rb | |
56: req.path_info = path_info | |
57: req.path_parameters = set_params | |
58: next | |
59: end | |
60: | |
=> 61: return [status, headers, body] | |
62: end | |
63: | |
64: [404, { "X-Cascade" => "pass" }, ["Not Found"]] | |
65: end | |
(byebug) next | |
[34, 43] in /usr/local/rvm/gems/ruby-2.4.1/gems/warden-1.2.7/lib/warden/manager.rb | |
34: env['warden'] = Proxy.new(env, self) | |
35: result = catch(:warden) do | |
36: @app.call(env) | |
37: end | |
38: | |
=> 39: result ||= {} | |
40: case result | |
41: when Array | |
42: handle_chain_result(result.first, result, env) | |
43: when Hash | |
(byebug) next | |
[35, 44] in /usr/local/rvm/gems/ruby-2.4.1/gems/warden-1.2.7/lib/warden/manager.rb | |
35: result = catch(:warden) do | |
36: @app.call(env) | |
37: end | |
38: | |
39: result ||= {} | |
=> 40: case result | |
41: when Array | |
42: handle_chain_result(result.first, result, env) | |
43: when Hash | |
44: process_unauthenticated(env, result) | |
(byebug) next | |
[37, 46] in /usr/local/rvm/gems/ruby-2.4.1/gems/warden-1.2.7/lib/warden/manager.rb | |
37: end | |
38: | |
39: result ||= {} | |
40: case result | |
41: when Array | |
=> 42: handle_chain_result(result.first, result, env) | |
43: when Hash | |
44: process_unauthenticated(env, result) | |
45: when Rack::Response | |
46: handle_chain_result(result.status, result, env) | |
(byebug) next | |
[11, 20] in /usr/local/rvm/gems/ruby-2.4.1/gems/rack-2.0.4/lib/rack/tempfile_reaper.rb | |
11: end | |
12: | |
13: def call(env) | |
14: env[RACK_TEMPFILES] ||= [] | |
15: status, headers, body = @app.call(env) | |
=> 16: body_proxy = BodyProxy.new(body) do | |
17: env[RACK_TEMPFILES].each(&:close!) unless env[RACK_TEMPFILES].nil? | |
18: end | |
19: [status, headers, body_proxy] | |
20: end | |
(byebug) next | |
[13, 22] in /usr/local/rvm/gems/ruby-2.4.1/gems/rack-2.0.4/lib/rack/tempfile_reaper.rb | |
13: def call(env) | |
14: env[RACK_TEMPFILES] ||= [] | |
15: status, headers, body = @app.call(env) | |
16: body_proxy = BodyProxy.new(body) do | |
17: env[RACK_TEMPFILES].each(&:close!) unless env[RACK_TEMPFILES].nil? | |
18: end | |
=> 19: [status, headers, body_proxy] | |
20: end | |
21: end | |
22: end | |
(byebug) next | |
[22, 31] in /usr/local/rvm/gems/ruby-2.4.1/gems/rack-2.0.4/lib/rack/etag.rb | |
22: end | |
23: | |
24: def call(env) | |
25: status, headers, body = @app.call(env) | |
26: | |
=> 27: if etag_status?(status) && etag_body?(body) && !skip_caching?(headers) | |
28: original_body = body | |
29: digest, new_body = digest_body(body) | |
30: body = Rack::BodyProxy.new(new_body) do | |
31: original_body.close if original_body.respond_to?(:close) | |
(byebug) next | |
[31, 40] in /usr/local/rvm/gems/ruby-2.4.1/gems/rack-2.0.4/lib/rack/etag.rb | |
31: original_body.close if original_body.respond_to?(:close) | |
32: end | |
33: headers[ETAG_STRING] = %(W/"#{digest}") if digest | |
34: end | |
35: | |
=> 36: unless headers[CACHE_CONTROL] | |
37: if digest | |
38: headers[CACHE_CONTROL] = @cache_control if @cache_control | |
39: else | |
40: headers[CACHE_CONTROL] = @no_cache_control if @no_cache_control | |
(byebug) next | |
[32, 41] in /usr/local/rvm/gems/ruby-2.4.1/gems/rack-2.0.4/lib/rack/etag.rb | |
32: end | |
33: headers[ETAG_STRING] = %(W/"#{digest}") if digest | |
34: end | |
35: | |
36: unless headers[CACHE_CONTROL] | |
=> 37: if digest | |
38: headers[CACHE_CONTROL] = @cache_control if @cache_control | |
39: else | |
40: headers[CACHE_CONTROL] = @no_cache_control if @no_cache_control | |
41: end | |
(byebug) continue | |
Started GET "/users/1" for 108.64.115.55 at 2018-03-04 18:54:52 +0000 | |
Cannot render console from 108.64.115.55! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255 | |
Processing by UsersController#show as HTML | |
Parameters: {"id"=>"1"} | |
User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT ? [["id", 1], ["LIMIT", 1]] | |
↳ /usr/local/rvm/gems/ruby-2.4.1/gems/activerecord-5.2.0.rc1/lib/active_record/log_subscriber.rb:98 | |
User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] | |
↳ app/controllers/users_controller.rb:8 | |
Rendering users/show.html.erb within layouts/application | |
RailsSettings::SettingObject Load (0.3ms) SELECT "settings".* FROM "settings" WHERE "settings"."target_id" = ? AND "settings"."target_type" = ? [["target_id", 1], ["target_type", "User"]] | |
↳ app/views/users/_profile.html.erb:3 | |
Rendered users/_profile.html.erb (2.9ms) | |
(0.2ms) SELECT COUNT(*) FROM "articles" WHERE "articles"."user_id" = ? [["user_id", 1]] | |
↳ app/views/users/show.html.erb:6 | |
Rendered users/show.html.erb within layouts/application (6.0ms) | |
Rendered layouts/_navigation.html.erb (2.1ms) | |
Rendered layouts/_header.html.erb (0.4ms) | |
Rendered layouts/_sidebar.html.erb (0.6ms) | |
Rendered layouts/_footer.html.erb (0.7ms) | |
Completed 200 OK in 101ms (Views: 94.3ms | ActiveRecord: 1.4ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment