borodin

Activity Graph

Page 1 of 4 | Next »

2019-03-22

[14:21:13] borodin: has joined #RubyOnRails
[23:09:38] borodin: Ping timeout: 250 seconds

2019-03-19

[23:44:16] borodin: Ping timeout: 255 seconds

2019-03-08

[20:38:17] borodin: has joined #RubyOnRails

2019-02-15

[06:58:30] borodin: Ping timeout: 268 seconds

2019-02-14

[00:16:32] borodin: has joined #RubyOnRails
[03:33:20] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:47:20] borodin: has joined #RubyOnRails
[07:07:55] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:23:30] borodin: has joined #RubyOnRails

2019-02-13

[01:20:03] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…

2019-02-12

[00:50:15] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:35:47] borodin: has joined #RubyOnRails

2019-02-11

[18:58:22] borodin: has joined #RubyOnRails
[19:22:50] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:41:59] borodin: has joined #RubyOnRails

2019-01-31

[07:57:26] borodin: Ping timeout: 240 seconds

2019-01-24

[06:15:53] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:29:19] borodin: has joined #RubyOnRails

2019-01-23

[02:56:21] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:22:54] borodin: has joined #RubyOnRails

2019-01-22

[18:41:57] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[23:56:12] borodin: has joined #RubyOnRails

2019-01-19

[00:50:56] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[04:36:09] borodin: has joined #RubyOnRails
[07:37:33] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:42:58] borodin: has joined #RubyOnRails

2019-01-18

[21:30:18] borodin: has joined #RubyOnRails

2019-01-15

[02:04:16] borodin: Ping timeout: 260 seconds

2019-01-13

[22:41:16] borodin: has joined #RubyOnRails

2018-12-18

[02:24:02] borodin: Read error: Connection reset by peer

2018-12-15

[15:19:17] borodin: Quit: Textual IRC Client: www.textualapp.com
[15:30:53] borodin: has joined #RubyOnRails

2018-12-14

[13:38:34] borodin: has joined #RubyOnRails

2018-12-05

[17:16:40] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:17:24] borodin: has joined #RubyOnRails
[18:07:33] borodin: Read error: Connection reset by peer

2018-12-04

[02:31:50] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:57:04] borodin: has joined #RubyOnRails
[04:26:37] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:24:08] borodin: has joined #RubyOnRails

2018-12-03

[05:19:47] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:44:05] borodin: has joined #RubyOnRails

2018-12-02

[03:21:56] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:50:30] borodin: has joined #RubyOnRails

2018-12-01

[03:42:31] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[03:51:05] borodin: has joined #RubyOnRails
[09:59:58] borodin: Ping timeout: 268 seconds
[17:27:32] borodin: has joined #RubyOnRails

2018-11-30

[04:59:49] borodin: Ping timeout: 268 seconds
[15:10:39] borodin: has joined #RubyOnRails

2018-11-27

[17:42:30] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:45:02] borodin: has joined #RubyOnRails

2018-11-26

[22:31:56] borodin: has joined #RubyOnRails

2018-11-14

[13:17:15] borodin: Quit: Textual IRC Client: www.textualapp.com

2018-11-12

[17:01:33] borodin: has joined #RubyOnRails

2018-11-06

[00:25:37] borodin: has joined #RubyOnRails
[17:02:40] borodin: Ping timeout: 250 seconds

2018-10-08

[18:55:22] borodin: Read error: Connection reset by peer
[19:17:09] borodin: has joined #RubyOnRails

2018-10-04

[21:48:31] borodin: has joined #RubyOnRails

2018-08-03

[00:01:11] borodin: Ping timeout: 276 seconds

2018-08-02

[00:42:08] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[11:44:04] borodin: has joined #RubyOnRails

2018-08-01

[12:02:35] borodin: has joined #RubyOnRails

2018-05-24

[01:53:48] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:25:46] borodin: has joined #RubyOnRails
[02:53:36] borodin: Quit: Textual IRC Client: www.textualapp.com

2018-05-23

[00:16:14] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[01:48:14] borodin: has joined #RubyOnRails
[05:29:26] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:08:13] borodin: has joined #RubyOnRails
[17:47:13] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:25:41] borodin: has joined #RubyOnRails
[21:30:50] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[22:46:32] borodin: has joined #RubyOnRails

2018-05-22

[02:26:27] borodin: has joined #RubyOnRails
[02:36:10] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:39:14] borodin: has joined #RubyOnRails
[06:32:04] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[12:13:53] borodin: has joined #RubyOnRails
[15:54:14] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:36:32] borodin: has joined #RubyOnRails

2018-05-21

[12:46:48] borodin: has joined #RubyOnRails
[19:25:40] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-20

[03:43:07] borodin: has joined #RubyOnRails
[06:43:20] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:58:50] borodin: has joined #RubyOnRails
[19:49:14] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-05-19

[16:55:32] borodin: has joined #RubyOnRails
[23:06:24] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…

2018-01-08

[20:23:55] borodin: Client Quit
[20:23:55] borodin: has joined #RubyOnRails
[20:24:42] borodin: has joined #RubyOnRails
[20:26:33] borodin: kinda clueless on this - I setup a new dir in app/ called app/services where I have created various classes for connecting to other services outside of my app. In those classes in app/services, I can't seem to use logger - it says undefined local variable or method 'logger'
[20:27:07] borodin: so I created a generic_service.rb defining a GenericService class which contains logger = Rails.logger, but this didn't change the error.
[20:27:13] borodin: this is rails 5.1
[20:27:23] borodin: can anyone give me the secret sauce?
[20:27:31] borodin: I will be eternally grateful
[21:21:22] borodin: Quit: Textual IRC Client: www.textualapp.com

2018-01-05

[07:47:35] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:00:56] borodin: has joined #RubyOnRails
[22:56:40] borodin: Quit: Textual IRC Client: www.textualapp.com

2018-01-04

[21:28:31] borodin: has joined #RubyOnRails

2017-12-24

[05:16:28] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:31:23] borodin: has joined #RubyOnRails
[17:12:08] borodin: Read error: Connection reset by peer

2017-12-23

[00:18:10] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:28:13] borodin: has joined #RubyOnRails
[06:14:27] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[13:09:55] borodin: has joined #RubyOnRails

2017-12-22

[05:06:15] borodin: has joined #RubyOnRails
[08:27:36] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:08:32] borodin: has joined #RubyOnRails

2017-12-21

[06:16:06] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:10:36] borodin: has joined #RubyOnRails
[19:43:29] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…

2017-12-20

[02:12:05] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[02:47:18] borodin: has joined #RubyOnRails
[06:28:00] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:15:54] borodin: has joined #RubyOnRails
[18:59:58] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:56:52] borodin: has joined #RubyOnRails

2017-12-19

[06:34:15] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[14:13:43] borodin: has joined #RubyOnRails
[14:23:19] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[15:57:48] borodin: has joined #RubyOnRails
[16:07:20] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[17:23:03] borodin: has joined #RubyOnRails
[17:32:44] borodin: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:27:14] borodin: has joined #RubyOnRails
[19:29:11] borodin: Client Quit
[19:30:10] borodin: has joined #RubyOnRails

2017-12-14

[05:14:00] borodin: has joined #RubyOnRails
[14:31:39] borodin: trying to understand an error in nested resources in rails5 API: https://gist.github.com/chewmanfoo/eb78b5e13b8250ac3b9478a11de2264b
[14:32:12] borodin: I'm not clear if the controller method cf_deployment_params is correct, and if so, why do I have the error?
[14:32:17] borodin: can anyone help?
[15:01:07] borodin: pwnd_nsfw: CfDeployment has belongs_to: cf_template
[15:01:53] borodin: CfTemplate has has_many :cf_deployments, dependent: :destroy
[15:04:33] borodin: no sorry I can give it all - trying to make it easier for *you*
[15:07:19] borodin: https://gist.github.com/chewmanfoo/e0fd89674902ac24484b9dff7b35df4d
[15:07:25] borodin: including schema.rb
[15:10:55] borodin: are you suggesting the before_save blocks aren't working?
[15:11:21] borodin: they are working
[15:12:14] borodin: but that unknown attribute error is puzzling
[15:15:42] borodin: https://gist.github.com/chewmanfoo/d4c90606c0659d647a0c94bf8f1877b9
[15:15:48] borodin: cf_templates_controller
[15:15:54] borodin: thanks for your help so far
[15:18:53] borodin: do you get that from the method cf_deployment_params?
[15:19:06] borodin: 'your params are looking for...'
[15:19:59] borodin: look at the params that are comingin: https://gist.github.com/chewmanfoo/eb78b5e13b8250ac3b9478a11de2264b
[15:20:16] borodin: in the middle
[15:20:47] borodin: Parameters: {"env"=>"cit_certification", "cf_template_id"=>"1", "cf_deployment"=>{"env"=>"cit_certification"}}
[15:21:07] borodin: yeah it doesn't mke sense
[15:21:16] borodin: it's nested
[15:21:28] borodin: you're updating (creating) a cf_deployment via a cf_template
[15:22:39] borodin: it makes sense to me that the cf_template is receiving parameters for a nested cf_deployment
[15:23:07] borodin: or that a cf_deployment is receiving parameters for a cf_deployment, but through cf_templates in a weird way
[15:23:16] borodin: the nested thing is breaking my brain
[15:25:16] borodin: look at the Parameters the server is getting
[15:25:27] borodin: see how it has a cf_deployment within them?
[15:26:00] borodin: you don't understand nesting?
[15:26:08] borodin: have you never used nesting before?
[15:26:42] borodin: you really havent said anything yet
[15:27:46] borodin: good good Im happy to have your help
[15:32:28] borodin: they're just a routing method as far as I understand it
[15:33:00] borodin: the deployments and the templates are still just entities - they are still just related by their AR relationships
[15:33:34] borodin: it makes sure that you can not create a deployment unless you already have a template
[15:33:42] borodin: you create a deployment *through* a template
[15:34:01] borodin: not sure about that
[15:34:27] borodin: @cf_template.cf_deployments.first.whatever
[15:34:42] borodin: allows you to "play with the attributes of an associated model"
[15:34:51] borodin: doesn't have anything to do with nesting
[15:34:54] borodin: nesting is for routing
[15:35:06] borodin: it's wrong I know lol
[15:36:01] borodin: the Parameters coming in seem to indicate that a cf_deployment contains a cf_deployment
[15:36:06] borodin: that is what is confusing me
[15:36:16] borodin: Parameters: {"env"=>"cit_certification", "cf_template_id"=>"1", "cf_deployment"=>{"env"=>"cit_certification"}}
[15:36:34] borodin: are you saying the permit method is *creating* that parms hash?
[15:36:53] borodin: why the hell...?
[15:37:18] borodin: I always thought that the Parameters in the log were the actual parameters recieved by the http POST
[15:40:05] borodin: I think I undertsand now
[15:40:15] borodin: within the controller there is no nesting at all
[15:40:46] borodin: within the controller you just deal with a cf_deployment
[15:40:50] borodin: ignore the cf_template
[15:40:54] borodin: thanks for your help!
[15:41:17] borodin: what do you mean no?
[15:43:28] borodin: nested routing: http://guides.rubyonrails.org/routing.html
[15:43:31] borodin: look at 2.7
[15:43:38] borodin: that's what I'm trying to do
[15:44:28] borodin: ok thanks for trying
[15:44:35] borodin: I guess I'll go clean toilets now
[15:49:46] borodin: I fixed it
[15:49:51] borodin: why did you frreak out so much?
[15:49:54] borodin: get some coffee
[15:50:10] borodin: cf_deployment doesn't need to permit parameters fro cf_template
[15:50:26] borodin: you have no idea what I 'get'
[15:50:42] borodin: go away please

2017-11-18

[15:48:11] borodin: has joined #RubyOnRails
[15:49:39] borodin: I designed an api with one controller (deployments) nested within another controller (templates) such that to create a deployment you need to know the template id first, i.e. POST /templates/#template_id/deployments
[15:50:48] borodin: but now this developer who seems unfamiliar with REST and has a lot of power over me insists that I create a separate controller that can generate or reuse a template for every deployment i.e. POST /new_deployment
[15:51:39] borodin: it would include in the parameters all params required for both template and deployment (even though the template is very static). I tried everything to talk him out of it but he was arguing like it was life or death
[15:52:22] borodin: anyway so I'm building the new_deployments controller, and wondering, do I need a NewDeployment model? I certainly don't want to keep two copies of the params
[15:52:56] borodin: and I want validation to propagate properly and not have to repeat myself as I develop NewDeployment
[18:19:13] borodin: Quit: Page closed

2017-11-16

[15:15:20] borodin: has joined #ruby
[23:20:35] borodin: Ping timeout: 260 seconds

2017-11-13

[20:14:30] borodin: has joined #RubyOnRails
[20:15:12] borodin: I wrote a module called AwsTools defined in a file aws_tools.rb which begins "module AwsTools"...
[20:15:21] borodin: I would like to use that module in my rails 5 app
[20:15:25] borodin: I can't figure out how to do that
[20:16:31] borodin: I put aws_tools.rb in /lib and added config.autoload_paths += %W(#{config.root}/lib) to development.rb
[20:17:03] borodin: and I get an error "uninitialized constant CfRun::AwsTools"
[20:17:51] borodin: my model CfRun has a line near the top include AwsTools
[21:56:53] borodin: Quit: Page closed

2017-11-11

[16:37:09] borodin: has joined #RubyOnRails
[16:38:17] borodin: I'm having a durrrr moment. on mac sierra, trying to run 'bundle install' for the first time. I get "Could not reach host index.rubygems.org. Check your network connection and try again."
[16:38:39] borodin: I can wget http://index.rubygems.org and get a nice index file in the same terminal session
[16:38:52] borodin: I can wget https://index.rubygems.org as well
[16:39:03] borodin: so this doesn't make sense
[16:39:18] borodin: unless an http proxy is somehow embedded in bundle?
[16:39:50] borodin: (this laptop is a corporate laptop with an http proxy but I unset http_proxy, https_proxy)
[16:58:25] borodin: Ping timeout: 260 seconds

2017-11-04

[01:11:38] borodin: has joined #ruby
[01:11:38] borodin: has joined #RubyOnRails
[01:12:05] borodin: Client Quit

2017-11-03

[13:02:05] borodin: Quit: My Mac Mini has gone to sleep. ZZZzzz…

2017-11-02

[17:47:25] borodin: has joined #RubyOnRails
[17:47:41] borodin: has joined #ruby
[17:50:00] borodin: Remote host closed the connection
[17:53:18] borodin: has joined #ruby
[17:53:30] borodin: has joined #RubyOnRails

2017-10-13

[01:46:13] borodin: Quit: Textual IRC Client: www.textualapp.com

2017-10-12

[18:20:12] borodin: has joined #ruby
[18:20:23] borodin: has joined #RubyOnRails

2017-07-22

[21:11:49] borodin: Quit: Textual IRC Client: www.textualapp.com

2017-07-20

[04:01:10] borodin: has joined #RubyOnRails
[04:01:19] borodin: has joined #ruby

2017-07-12

[12:41:23] borodin: Ping timeout: 246 seconds

2017-07-11

[16:29:59] borodin: has joined #RubyOnRails
[16:30:13] borodin: has joined #ruby

2017-06-25

[02:22:11] borodin: has joined #RubyOnRails
[02:22:27] borodin: has joined #ruby
[02:28:31] borodin: Ping timeout: 246 seconds

2017-06-24

[06:36:42] borodin: Ping timeout: 276 seconds