Maletor

Activity Graph

Page 1 of 12 | Next »

2018-11-15

[00:11:04] Maletor: Quit: Page closed

2018-11-14

[22:42:41] Maletor: has joined #RubyOnRails
[22:43:04] Maletor: I'm getting undefined method `close' for #<String:...> when using config.cache_store = :file_store.
[22:43:19] Maletor: from activesupport-5.2.1/lib/active_support/core_ext/file/atomic.rb:24:in `atomic_write'
[22:55:56] Maletor: Radar: sure is
[22:56:45] Maletor: Radar: https://gist.github.com/maletor/cb99d963ea6e0198e23d6e68a7020278
[22:57:18] Maletor: Radar: doing now
[22:58:04] Maletor: Radar: for context i run Rails.cache.fetch in other places of my test suite with no issue
[22:58:06] Maletor: updated with 895
[22:58:57] Maletor: i... will try
[22:59:09] Maletor: just an app from 2010
[22:59:13] Maletor: so ... lol
[23:01:03] Maletor: do you have any other ideas?
[23:01:23] Maletor: i snuck a debugger into rails and called close successfully
[23:01:31] Maletor: but it bombed whenever i contineued
[23:01:42] Maletor: i think maybe when block ends it's tripping up
[23:02:13] Maletor: ya, totally understand
[23:03:42] Maletor: Radar: yup
[23:03:50] Maletor: that's around where i've been debugging
[23:03:54] Maletor: it's a tempfile as far as i can see
[23:04:52] Maletor: Radar: also this
[23:05:13] Maletor: caused by:
[23:05:14] Maletor: undefined method `binmode' for #<String:0x00000000175b8080>
[23:05:30] Maletor: atomic.rb:25
[23:06:07] Maletor: i wonder if zipcode is colliding in a weird way on the FS?
[23:07:16] Maletor: in atomic.rb?
[23:07:42] Maletor: ya, i did that
[23:08:07] Maletor: well. no luck.
[23:08:15] Maletor: need more harder digging
[23:08:18] Maletor: bigger shovel
[23:08:52] Maletor: oh the 99016 is in user.rb
[23:09:07] Maletor: within rails/atomic it's tempfile
[23:14:29] Maletor: so far seeing 3 writes within the spec to the cache, the one we care about is "/app/tmp/cache/10A/2E0/99016"
[23:21:38] Maletor: Radar: https://gist.github.com/maletor/cb99d963ea6e0198e23d6e68a7020278#gistcomment-2759915
[23:24:16] Maletor: Radar: this one is seriously weird: https://gist.github.com/maletor/cb99d963ea6e0198e23d6e68a7020278#gistcomment-2759918
[23:29:36] Maletor: Radar: oh fudge. someone stubbed File.open to return something
[23:30:09] Maletor: yes, but of course buried in required file
[23:30:51] Maletor: now i'm just mad at myself for not looking there first

2017-11-06

[18:50:22] Maletor: has joined #RubyOnRails
[18:50:27] Maletor: with sidekiq, if i run model.save!; Worker.perform_async(model.id); is it possible to get race condition errors? because i am and i would have thought save! doesn't go to the next line unless COMMIT is run
[19:04:37] Maletor: Quit: leaving

2017-07-17

[16:42:27] Maletor: has joined #RubyOnRails
[16:42:49] Maletor: what is happening to cause this exception inside a docker container? ruby/2.4.0/uri/rfc2396_parser.rb:177:in `split': bad URI(is not URI?): "mysql2://db" (URI::InvalidURIError)
[16:44:18] Maletor: i did. same thing. it should be mysql2
[16:44:42] Maletor: it only appears to be an issue inside the docker container
[16:46:39] Maletor: let's hope. pretty strange error for mysql-client not being
[16:48:25] Maletor: ar1a: same error. :/
[16:49:12] Maletor: it's the quotes
[19:47:13] Maletor: Quit: WeeChat 1.9

2017-07-15

[00:15:52] Maletor: Ping timeout: 260 seconds

2017-07-14

[22:29:17] Maletor: has joined #RubyOnRails
[22:30:07] Maletor: why am i getting this error when setting DATABASE_URL env var? /usr/local/lib/ruby/2.4.0/uri/rfc2396_parser.rb:177:in `split': bad URI(is not URI?): "mysql2://db" (URI::InvalidURIError)

2017-06-29

[19:05:41] Maletor: has joined #RubyOnRails
[19:06:41] Maletor: Can anyone confirm my findings? I believe around_action is not *always* called after a before_action. If you define a around_action in a parent class then a before_action in a subclass the around_action gets called first.
[20:08:38] Maletor: Quit: WeeChat 1.9

2017-06-28

[00:00:27] Maletor: you da best
[00:01:03] Maletor: i totally see where i went wrong now
[00:01:22] Maletor: read the code more slowly. discover this module adds things to ad::req
[00:05:31] Maletor: props to answering a question with so very little context and knowing what the hell i'm talking about
[00:22:46] Maletor: Ping timeout: 276 seconds

2017-06-27

[23:37:29] Maletor: has joined #RubyOnRails
[23:38:31] Maletor: how come ActionDispath::Request.new({}) doesn't have a cookie_jar object while my gemspec requires actiondispatch > 5
[23:56:53] Maletor: Radar: no method error
[23:57:21] Maletor: Radar: calling from a rails app via console is fine
[23:57:41] Maletor: but calling .new({}) from a gem with only actionpack won't work
[23:57:44] Maletor: ya, probably
[23:57:47] Maletor: how do i go about that?
[23:58:34] Maletor: and i found that
[23:58:42] Maletor: but i'm just not 100% on how to make that go in my gem

2017-04-25

[00:07:13] Maletor: Ping timeout: 260 seconds
[18:06:35] Maletor: has joined #RubyOnRails
[18:06:48] Maletor: how do i add an object to a habtm relation only if it doesn't already exist there?
[18:08:13] Maletor: JS? this has nothing to do with JS
[18:08:35] Maletor: or even controllers for that matter
[18:09:33] Maletor: i have cars habtm people and people habtm cars
[18:09:56] Maletor: i want to do car.people.push(person) without adding a person if it's already in the join table
[18:13:21] Maletor: that returns records as uniq from the table
[18:13:34] Maletor: you can do .include?(tag) but that's pretty inefficient
[18:21:47] Maletor: gonna use .exists?
[18:24:05] Maletor: car.people.exists?(person_id: person.id)
[18:24:34] Maletor: then ... || car.people << preson
[18:54:23] Maletor: Ping timeout: 245 seconds

2017-04-24

[22:05:49] Maletor: has joined #RubyOnRails

2016-07-14

[00:56:50] Maletor: has joined #RubyOnRails
[01:01:11] Maletor: Ping timeout: 240 seconds
[01:57:39] Maletor: has joined #RubyOnRails
[02:02:33] Maletor: Ping timeout: 276 seconds

2016-07-13

[00:45:51] Maletor: Ping timeout: 240 seconds
[02:42:52] Maletor: has joined #RubyOnRails
[02:47:20] Maletor: Ping timeout: 250 seconds
[03:43:34] Maletor: has joined #RubyOnRails
[03:47:58] Maletor: Ping timeout: 252 seconds
[04:44:20] Maletor: has joined #RubyOnRails
[04:49:01] Maletor: Ping timeout: 252 seconds
[05:45:09] Maletor: has joined #RubyOnRails
[05:49:31] Maletor: Ping timeout: 240 seconds
[06:45:54] Maletor: has joined #RubyOnRails
[06:50:04] Maletor: Ping timeout: 240 seconds
[07:46:43] Maletor: has joined #RubyOnRails
[07:51:50] Maletor: Ping timeout: 272 seconds
[08:47:29] Maletor: has joined #RubyOnRails
[08:51:56] Maletor: Ping timeout: 258 seconds
[09:48:17] Maletor: has joined #RubyOnRails
[09:53:16] Maletor: Ping timeout: 264 seconds
[10:49:00] Maletor: has joined #RubyOnRails
[10:53:40] Maletor: Ping timeout: 244 seconds
[11:49:47] Maletor: has joined #RubyOnRails
[11:54:03] Maletor: Ping timeout: 240 seconds
[12:50:35] Maletor: has joined #RubyOnRails
[12:55:40] Maletor: Ping timeout: 264 seconds
[13:51:23] Maletor: has joined #RubyOnRails
[13:55:31] Maletor: Ping timeout: 240 seconds
[14:52:09] Maletor: has joined #RubyOnRails
[14:56:30] Maletor: Ping timeout: 244 seconds
[15:52:58] Maletor: has joined #RubyOnRails
[15:57:28] Maletor: Ping timeout: 244 seconds
[16:53:45] Maletor: has joined #RubyOnRails
[16:58:26] Maletor: Ping timeout: 244 seconds
[18:54:32] Maletor: has joined #RubyOnRails
[18:59:17] Maletor: Ping timeout: 260 seconds
[20:55:15] Maletor: has joined #RubyOnRails
[21:00:18] Maletor: Ping timeout: 276 seconds
[22:56:04] Maletor: has joined #RubyOnRails
[23:01:12] Maletor: Ping timeout: 276 seconds

2016-07-12

[17:22:20] Maletor: has joined #RubyOnRails
[17:22:50] Maletor: has joined #RubyOnRails
[17:22:50] Maletor: Changing host
[21:24:04] Maletor: Ping timeout: 240 seconds
[21:24:48] Maletor: has joined #RubyOnRails

2016-07-06

[17:22:43] Maletor: has joined #ruby
[17:30:33] Maletor: Quit: Textual IRC Client: http://www.textualapp.com/

2016-06-10

[04:53:36] Maletor: has joined #ruby
[05:33:23] Maletor: Quit: Computer has gone to sleep.
[05:50:41] Maletor: has joined #ruby
[06:43:47] Maletor: Quit: Textual IRC Client: http://www.textualapp.com/

2016-06-09

[02:40:02] Maletor: has joined #ruby
[03:35:09] Maletor: Quit: Computer has gone to sleep.
[05:40:31] Maletor: has joined #ruby
[06:45:02] Maletor: Quit: Computer has gone to sleep.
[14:37:58] Maletor: has joined #ruby
[14:39:46] Maletor: Client Quit
[15:03:46] Maletor: has joined #ruby
[15:54:49] Maletor: Quit: Computer has gone to sleep.

2016-06-02

[01:46:04] Maletor: has joined #ruby
[03:54:39] Maletor: Quit: Computer has gone to sleep.
[04:24:01] Maletor: has joined #ruby
[05:21:26] Maletor: Quit: Computer has gone to sleep.
[05:23:06] Maletor: has joined #ruby
[07:30:52] Maletor: Quit: Computer has gone to sleep.
[15:47:48] Maletor: has joined #ruby
[15:52:01] Maletor: Ping timeout: 240 seconds
[16:48:24] Maletor: has joined #ruby
[16:54:01] Maletor: Ping timeout: 240 seconds
[17:50:40] Maletor: has joined #ruby
[17:55:09] Maletor: Ping timeout: 260 seconds

2016-05-27

[22:34:01] Maletor: Ping timeout: 240 seconds

2016-05-26

[21:10:58] Maletor: has joined #ruby
[21:11:41] Maletor: Is there something wrong with a design pattern where you make all your objects have one method: "call".
[21:12:11] Maletor: I guess what I'm trying to articulate is that this codebase is full of one method classes like that and it can't be sane.

2016-05-19

[01:10:53] Maletor: has joined #RubyOnRails
[02:15:09] Maletor: Ping timeout: 246 seconds
[03:11:58] Maletor: has joined #RubyOnRails
[17:13:18] Maletor: Quit: WeeChat 1.5

2016-05-18

[01:15:45] Maletor: Ping timeout: 244 seconds
[03:11:54] Maletor: has joined #RubyOnRails
[23:15:23] Maletor: Ping timeout: 276 seconds

2016-05-17

[00:52:10] Maletor: Ping timeout: 252 seconds
[01:26:07] Maletor: has joined #RubyOnRails
[02:10:49] Maletor: Ping timeout: 260 seconds
[03:06:31] Maletor: has joined #RubyOnRails
[03:11:07] Maletor: Ping timeout: 250 seconds
[04:07:18] Maletor: has joined #RubyOnRails
[04:12:15] Maletor: Ping timeout: 260 seconds
[05:08:02] Maletor: has joined #RubyOnRails
[05:13:51] Maletor: Ping timeout: 276 seconds
[06:10:05] Maletor: has joined #RubyOnRails
[06:14:26] Maletor: Ping timeout: 244 seconds
[07:10:51] Maletor: has joined #RubyOnRails
[07:15:35] Maletor: Ping timeout: 276 seconds
[08:11:38] Maletor: has joined #RubyOnRails
[08:15:51] Maletor: Ping timeout: 246 seconds
[09:12:26] Maletor: has joined #RubyOnRails
[09:16:51] Maletor: Ping timeout: 250 seconds
[10:13:10] Maletor: has joined #RubyOnRails
[10:17:47] Maletor: Ping timeout: 244 seconds
[11:13:56] Maletor: has joined #RubyOnRails
[11:19:09] Maletor: Ping timeout: 276 seconds
[12:14:44] Maletor: has joined #RubyOnRails
[12:19:36] Maletor: Ping timeout: 276 seconds
[13:15:33] Maletor: has joined #RubyOnRails
[13:20:00] Maletor: Ping timeout: 260 seconds
[14:16:18] Maletor: has joined #RubyOnRails
[14:21:09] Maletor: Ping timeout: 276 seconds
[15:17:03] Maletor: has joined #RubyOnRails
[15:22:15] Maletor: Ping timeout: 276 seconds
[16:17:49] Maletor: has joined #RubyOnRails
[16:22:13] Maletor: Ping timeout: 252 seconds
[16:28:15] Maletor: has joined #RubyOnRails
[20:25:23] Maletor: Ping timeout: 244 seconds
[20:28:29] Maletor: has joined #RubyOnRails

2016-05-16

[20:15:03] Maletor: has joined #RubyOnRails

2016-05-05

[01:07:55] Maletor: has joined #RubyOnRails
[01:12:37] Maletor: Ping timeout: 252 seconds
[03:08:58] Maletor: has joined #RubyOnRails
[03:13:40] Maletor: Ping timeout: 265 seconds
[04:09:31] Maletor: has joined #RubyOnRails
[04:14:21] Maletor: Ping timeout: 250 seconds
[05:10:21] Maletor: has joined #RubyOnRails
[05:15:01] Maletor: Ping timeout: 250 seconds
[06:11:08] Maletor: has joined #RubyOnRails
[06:15:36] Maletor: Ping timeout: 246 seconds
[07:11:51] Maletor: has joined #RubyOnRails
[07:16:47] Maletor: Ping timeout: 265 seconds
[08:12:41] Maletor: has joined #RubyOnRails
[08:17:52] Maletor: Ping timeout: 260 seconds
[09:13:27] Maletor: has joined #RubyOnRails
[09:18:35] Maletor: Ping timeout: 265 seconds
[10:14:11] Maletor: has joined #RubyOnRails
[10:18:51] Maletor: Ping timeout: 246 seconds
[11:14:59] Maletor: has joined #RubyOnRails
[11:19:54] Maletor: Ping timeout: 265 seconds
[12:15:46] Maletor: has joined #RubyOnRails
[12:20:32] Maletor: Ping timeout: 260 seconds
[13:16:32] Maletor: has joined #RubyOnRails
[13:21:12] Maletor: Ping timeout: 260 seconds
[14:17:21] Maletor: has joined #RubyOnRails
[14:21:45] Maletor: Ping timeout: 246 seconds
[15:18:07] Maletor: has joined #RubyOnRails
[15:23:07] Maletor: Ping timeout: 260 seconds
[16:18:53] Maletor: has joined #RubyOnRails
[16:23:34] Maletor: Ping timeout: 260 seconds
[16:37:34] Maletor: has joined #RubyOnRails
[23:33:24] Maletor: Ping timeout: 276 seconds
[23:34:50] Maletor: has joined #RubyOnRails
[23:48:04] Maletor: Ping timeout: 260 seconds

2016-05-04

[21:11:29] Maletor: Ping timeout: 276 seconds
[23:07:15] Maletor: has joined #RubyOnRails
[23:11:33] Maletor: Ping timeout: 240 seconds