mengu

Activity Graph

Page 1 of 2 | Next »

2019-01-15

[14:51:37] mengu: has joined #RubyOnRails
[14:51:43] mengu: hello everyone.
[14:52:40] mengu: i'm configuring action_dispatch.default_headers in config/application.rb as shown in here => https://edgeguides.rubyonrails.org/security.html#default-headers but it is not taking effect. my rails version is 5.2.1. is there anything i'm missing?
[14:56:51] mengu: fox_mulder_cp: i have just the puma web server on dev
[14:57:36] mengu: i actually see them defined when i add a breakpoint with byebug, as Rails.application.config.action_dispatch.default_headers
[14:57:45] mengu: but in the response, none of those headers are present
[15:11:43] mengu: maybe there's a bug, i tried with iframe as well, and set X-Frame-Options to DENY and i can embed the action in an iframe without any problems
[15:11:49] mengu: rails is not sending those headers
[15:21:51] mengu: fox_mulder_cp: btw, i've changed from ActionController::API to ActionController::Base
[15:21:53] mengu: and it worked
[15:22:55] mengu: but, i see API is also set to have DefaultHeaders
[15:23:02] mengu: https://github.com/rails/rails/blob/master/actionpack/lib/action_controller/api.rb#L125
[15:23:09] mengu: i'm going to open an issue
[17:16:47] mengu: Quit: Leaving...

2018-08-01

[11:45:24] mengu: has joined #RubyOnRails
[11:58:02] mengu: hi all. i have a dynamic route like /v1/settings/:code/something and i have an rspec test for it. the controller action just renders success, nothing else. i randomly get 404 in tests for that action. why would that be?
[12:03:12] mengu: damn, i found why
[12:03:22] mengu: some codes have not good chars :-)
[12:35:03] mengu: Read error: Connection reset by peer

2018-07-31

[09:01:45] mengu: has joined #ruby
[09:02:29] mengu: has joined #RubyOnRails
[09:02:33] mengu: how does one debug a running rails instance? (puma web server)
[09:04:22] mengu: TvL2386: it's production
[09:04:41] mengu: i've integrated active directory federation services
[09:04:53] mengu: when the user comes back, i have to inspect the response
[09:05:12] mengu: the thing is, the app lives in a docker container, so i cannot change files and restart
[09:05:30] mengu: and that's because docker service starts the app again with the same image, which does not contain my change in files
[09:05:52] mengu: i was thinking maybe i could install byebug or some debugger and intercept in the running process
[09:06:02] mengu: if that's possible
[09:09:15] mengu: well, i can access the rails console, no problem with that
[09:09:39] mengu: but i receive the response when users are redirected back to my app (from ad fs)
[09:09:51] mengu: is it possible to intercept that controller action from the console?
[09:10:19] mengu: alright then
[09:10:32] mengu: i should just build the new image with byebug server up and running
[09:10:41] mengu: and then do remote debugging
[09:12:33] mengu: thank you TvL2386, Radar
[09:15:30] mengu: Remote host closed the connection

2017-12-02

[20:09:43] mengu: has joined #RubyOnRails
[20:10:23] mengu: if anyone's using active admin gem, is it possible to change the type of an input in the form, rather then defining the whole form block?
[21:12:42] mengu: Remote host closed the connection

2015-10-27

[13:03:26] mengu: has joined #ruby
[13:03:34] mengu: has joined #ruby
[13:03:34] mengu: Changing host
[15:59:26] mengu: Ping timeout: 240 seconds
[16:59:21] mengu: has joined #ruby
[16:59:59] mengu: Remote host closed the connection

2015-10-26

[01:23:18] mengu: has joined #ruby
[01:23:19] mengu: has joined #ruby
[01:23:19] mengu: Changing host
[01:28:10] mengu: Ping timeout: 260 seconds
[07:11:10] mengu: has joined #ruby
[07:11:10] mengu: Changing host
[07:11:10] mengu: has joined #ruby
[07:12:44] mengu: Client Quit
[19:17:38] mengu: has joined #ruby
[19:17:38] mengu: Changing host
[19:17:38] mengu: has joined #ruby

2015-10-25

[02:45:09] mengu: Remote host closed the connection
[03:46:00] mengu: has joined #ruby
[03:50:39] mengu: Ping timeout: 256 seconds
[06:45:45] mengu: has joined #ruby
[06:50:47] mengu: Ping timeout: 268 seconds
[10:33:01] mengu: has joined #ruby
[10:33:01] mengu: Changing host
[10:33:01] mengu: has joined #ruby
[21:08:58] mengu: has joined #ruby
[21:08:58] mengu: Changing host
[21:08:58] mengu: has joined #ruby
[23:51:50] mengu: Remote host closed the connection

2015-10-24

[12:21:16] mengu: has joined #ruby
[12:42:53] mengu: Remote host closed the connection
[12:44:19] mengu: has joined #ruby
[12:44:19] mengu: Changing host
[12:44:19] mengu: has joined #ruby
[15:11:38] mengu: has joined #ruby
[15:11:38] mengu: Changing host
[15:11:38] mengu: has joined #ruby
[15:32:53] mengu: Remote host closed the connection
[21:26:52] mengu: has joined #ruby
[21:26:52] mengu: Changing host
[21:26:52] mengu: has joined #ruby

2015-10-23

[03:48:04] mengu: has joined #ruby
[03:52:59] mengu: Ping timeout: 264 seconds
[04:48:39] mengu: has joined #ruby
[04:53:14] mengu: Ping timeout: 265 seconds
[08:50:13] mengu: has joined #ruby
[09:07:24] mengu: Remote host closed the connection
[10:13:30] mengu: has joined #ruby
[10:13:30] mengu: Changing host
[10:13:30] mengu: has joined #ruby
[11:51:23] mengu: Remote host closed the connection
[12:10:26] mengu: has joined #ruby
[15:08:27] mengu: Remote host closed the connection

2015-10-22

[11:18:08] mengu: has joined #ruby
[11:18:08] mengu: Changing host
[11:18:08] mengu: has joined #ruby
[20:52:03] mengu: has joined #ruby
[22:50:24] mengu: Remote host closed the connection
[23:51:08] mengu: has joined #ruby
[23:55:46] mengu: Ping timeout: 240 seconds

2015-10-15

[12:22:40] mengu: has joined #ruby
[12:22:40] mengu: Changing host
[12:22:40] mengu: has joined #ruby

2015-09-25

[19:11:29] mengu: has joined #ruby
[19:11:29] mengu: Changing host
[19:11:29] mengu: has joined #ruby
[19:36:52] mengu: Remote host closed the connection

2015-09-03

[08:21:24] mengu: has joined #ruby
[08:30:09] mengu: Remote host closed the connection
[08:51:07] mengu: has joined #ruby
[08:58:52] mengu: Remote host closed the connection
[09:45:36] mengu: has joined #ruby

2015-08-06

[10:33:27] mengu: has joined #ruby
[10:33:46] mengu: has joined #ruby
[10:33:46] mengu: Changing host
[11:10:50] mengu: Remote host closed the connection
[11:39:56] mengu: has joined #ruby
[11:39:56] mengu: Changing host
[11:39:56] mengu: has joined #ruby
[13:28:06] mengu: Remote host closed the connection
[14:53:29] mengu: has joined #ruby
[14:53:29] mengu: Changing host
[14:53:29] mengu: has joined #ruby

2015-07-22

[14:15:14] mengu: has joined #ruby
[14:36:22] mengu: Remote host closed the connection

2015-07-10

[00:04:09] mengu: Ping timeout: 250 seconds

2015-07-09

[10:21:04] mengu: has joined #ruby
[10:21:04] mengu: Changing host
[10:21:04] mengu: has joined #ruby
[13:11:28] mengu: Remote host closed the connection
[13:18:52] mengu: has joined #ruby
[13:18:52] mengu: Changing host
[13:18:52] mengu: has joined #ruby
[15:06:00] mengu: Ping timeout: 252 seconds
[22:21:32] mengu: has joined #ruby
[23:24:53] mengu: Remote host closed the connection
[23:55:58] mengu: has joined #ruby

2015-06-28

[09:03:46] mengu: has joined #ruby
[09:03:46] mengu: Changing host
[09:03:46] mengu: has joined #ruby
[09:08:27] mengu: Ping timeout: 256 seconds
[10:28:47] mengu: has joined #ruby
[10:33:45] mengu: Ping timeout: 250 seconds
[10:40:28] mengu: has joined #ruby
[10:43:25] mengu: Client Quit

2015-06-27

[19:22:11] mengu: has joined #ruby
[19:51:22] mengu: Remote host closed the connection
[23:43:28] mengu: has joined #ruby
[23:43:29] mengu: has joined #ruby
[23:43:29] mengu: Changing host
[23:44:31] mengu: Remote host closed the connection

2015-06-19

[04:50:47] mengu: has joined #ruby
[04:56:18] mengu: Ping timeout: 272 seconds
[05:48:35] mengu: has joined #ruby
[05:48:43] mengu: has joined #ruby
[05:48:43] mengu: Changing host
[06:49:42] mengu: Remote host closed the connection
[06:52:59] mengu: has joined #ruby
[09:23:04] mengu: Remote host closed the connection
[10:23:24] mengu: has joined #ruby
[10:27:52] mengu: Ping timeout: 252 seconds
[10:42:44] mengu: has joined #ruby
[10:42:45] mengu: has joined #ruby
[10:42:45] mengu: Changing host

2015-06-18

[12:14:26] mengu: has joined #ruby
[19:42:01] mengu: has joined #ruby
[21:37:28] mengu: Remote host closed the connection
[22:08:01] mengu: has joined #ruby
[22:24:26] mengu: Ping timeout: 252 seconds

2015-06-15

[19:37:06] mengu: has joined #ruby
[19:37:06] mengu: Changing host

2015-06-12

[10:35:59] mengu: has joined #ruby
[11:16:48] mengu: Ping timeout: 272 seconds
[11:22:14] mengu: has joined #ruby
[12:43:41] mengu: Ping timeout: 256 seconds

2015-06-07

[09:34:24] mengu: has joined #ruby
[09:34:24] mengu: Changing host
[09:34:24] mengu: has joined #ruby

2015-06-06

[19:38:56] mengu: has joined #ruby
[23:07:45] mengu: Remote host closed the connection

2015-06-04

[05:55:47] mengu: has joined #ruby
[06:23:03] mengu: Ping timeout: 258 seconds
[07:30:08] mengu: has joined #ruby
[09:04:24] mengu: Remote host closed the connection
[09:34:42] mengu: has joined #ruby
[09:43:01] mengu: Ping timeout: 264 seconds
[10:00:58] mengu: has joined #ruby
[10:59:42] mengu: Remote host closed the connection

2015-06-03

[19:18:23] mengu: has joined #ruby
[19:18:43] mengu: has joined #ruby
[19:18:43] mengu: Changing host
[19:48:55] mengu: Remote host closed the connection
[19:50:58] mengu: has joined #ruby
[19:51:56] mengu: Remote host closed the connection

2015-05-27

[18:20:28] mengu: has joined #ruby
[18:20:28] mengu: Changing host
[18:20:28] mengu: has joined #ruby
[21:47:42] mengu: Remote host closed the connection

2015-05-26

[07:37:26] mengu: has joined #ruby
[09:02:45] mengu: Remote host closed the connection
[09:33:11] mengu: has joined #ruby
[09:41:26] mengu: Ping timeout: 246 seconds
[10:12:42] mengu: has joined #ruby
[11:37:23] mengu: Remote host closed the connection
[11:50:00] mengu: has joined #ruby
[12:45:10] mengu: Remote host closed the connection
[12:47:39] mengu: has joined #ruby

2015-05-25

[07:05:04] mengu: has joined #ruby
[07:05:05] mengu: has joined #ruby
[07:05:05] mengu: Changing host
[09:48:03] mengu: Remote host closed the connection
[10:31:45] mengu: has joined #ruby
[10:31:45] mengu: Changing host
[10:31:45] mengu: has joined #ruby
[10:42:15] mengu: Remote host closed the connection
[11:23:46] mengu: has joined #ruby

2015-05-24

[20:04:09] mengu: has joined #ruby
[22:23:22] mengu: Remote host closed the connection

2015-05-22

[06:38:30] mengu: has joined #ruby
[06:38:30] mengu: Changing host
[06:38:30] mengu: has joined #ruby
[07:14:13] mengu: Ping timeout: 264 seconds
[08:25:32] mengu: has joined #ruby
[08:25:32] mengu: Changing host
[08:25:32] mengu: has joined #ruby
[08:56:32] mengu: Remote host closed the connection
[10:14:07] mengu: has joined #ruby

2015-05-21

[19:25:06] mengu: has joined #ruby
[19:25:06] mengu: Changing host
[19:25:06] mengu: has joined #ruby
[21:31:50] mengu: Remote host closed the connection