« Back to channel list

#RubyOnRails - 04 September 2017

« Back 1 day Forward 1 day »
[00:02:43] moei: has joined #RubyOnRails
[00:15:01] weaksauce: has joined #RubyOnRails
[00:21:54] bruno-: has joined #RubyOnRails
[00:53:11] jhfisc: has joined #RubyOnRails
[00:58:57] jmay: has joined #RubyOnRails
[00:59:14] jhfisc: has joined #RubyOnRails
[01:04:16] jhfisc: has joined #RubyOnRails
[01:12:04] jhfisc: has joined #RubyOnRails
[01:14:00] bronson: has joined #RubyOnRails
[01:14:51] jhfisc: has joined #RubyOnRails
[01:19:12] jmay: has joined #RubyOnRails
[01:19:46] mtkd: has joined #RubyOnRails
[01:20:10] lessless: has joined #RubyOnRails
[01:27:15] jhfisc: has joined #RubyOnRails
[01:30:49] jhfisc: has joined #RubyOnRails
[01:38:16] baash05: Good morning all :)
[01:40:59] jhfisc: has joined #RubyOnRails
[01:45:50] jhfisc: has joined #RubyOnRails
[01:49:49] sevenseacat: has joined #RubyOnRails
[01:50:25] Jameser: has joined #RubyOnRails
[01:52:56] irishfromua: has joined #RubyOnRails
[01:53:56] davic_: has joined #RubyOnRails
[02:09:51] jmay: has joined #RubyOnRails
[02:13:23] jhfisc: has joined #RubyOnRails
[02:32:05] jhfisc: has joined #RubyOnRails
[02:35:58] brent__: has joined #RubyOnRails
[02:39:32] milesmatthias: has joined #RubyOnRails
[02:40:10] arBmind: has joined #RubyOnRails
[02:42:30] jhfisc: has joined #RubyOnRails
[02:43:33] milesmatthias: has joined #RubyOnRails
[02:45:36] milesmat_: has joined #RubyOnRails
[02:47:51] jhfisc: has joined #RubyOnRails
[02:51:50] ahrs: has joined #RubyOnRails
[02:56:31] agent_white: has joined #RubyOnRails
[03:00:20] sandstrom: has joined #RubyOnRails
[03:03:52] jhfisc: has joined #RubyOnRails
[03:08:34] milesmatthias: has joined #RubyOnRails
[03:10:14] orbyt_: has joined #RubyOnRails
[03:11:37] milesmat_: has joined #RubyOnRails
[03:13:52] umaaji: has joined #RubyOnRails
[03:15:04] bronson: has joined #RubyOnRails
[03:16:27] jhfisc: has joined #RubyOnRails
[03:16:42] wethu: has joined #RubyOnRails
[03:19:05] milesmatthias: has joined #RubyOnRails
[03:27:09] jhfisc: has joined #RubyOnRails
[03:33:21] jhfisc: has joined #RubyOnRails
[03:44:39] segy: has joined #RubyOnRails
[03:46:04] Saukk: has joined #RubyOnRails
[03:46:39] pharma_joe: has joined #RubyOnRails
[03:49:05] jhfisc: has joined #RubyOnRails
[03:49:42] s2013: has joined #RubyOnRails
[03:51:40] SteenJobs_: has joined #RubyOnRails
[03:52:05] tamouse__: a week to go for the next Learning Rails meetup here, and only *1* person has signed up
[03:52:47] Radar: is that one person you?
[03:53:00] tamouse__: no, hehe -- with me makes
[03:54:15] tamouse__: this has been a weird year for this meetup. every month, the only people that show are new people who've never done anything with rails or ruby.
[03:54:24] tamouse__: no carry-over
[03:54:57] tamouse__: i think this meetup is done
[03:55:14] Radar: RIP Rails
[03:56:39] tamouse__: maybe. i'm pretty done with doing the same thing every month, fighting for space, sponsors
[03:56:53] tamouse__: with p.much no other support
[03:57:03] pharma_joe: has joined #RubyOnRails
[03:59:04] Radar: That'd have to be pretty demotivating.
[03:59:08] Radar: Time to change course?
[03:59:19] tamouse__: for me, yes
[04:00:01] tamouse__: for the group, i tried to change it, requested suggestions, feedback, and got no responses
[04:00:59] tamouse__: maybe they don't like having to pay $5 for the evening, in return for which i offered a curriculum, exercises, projects, and a long range learning program
[04:01:22] tamouse__: and yeah, i cannot do all that by myself
[04:04:01] tamouse__: anyway, just venting
[04:12:46] umaaji: has joined #RubyOnRails
[04:14:01] orbyt_: has joined #RubyOnRails
[04:17:17] jhfisc: has joined #RubyOnRails
[04:23:54] jhfisc: has joined #RubyOnRails
[04:24:31] srinidhi: has joined #RubyOnRails
[04:35:02] agent_white: has joined #RubyOnRails
[04:35:42] sevenseacat: has joined #RubyOnRails
[04:45:26] timdotrb: has joined #RubyOnRails
[04:46:35] jhfisc: has joined #RubyOnRails
[04:49:54] jhfisc: has joined #RubyOnRails
[04:55:41] jhfisc: has joined #RubyOnRails
[05:01:34] jhfisc: has joined #RubyOnRails
[05:03:47] jmay: has joined #RubyOnRails
[05:06:00] jhfisc: has joined #RubyOnRails
[05:11:34] jhfisc: has joined #RubyOnRails
[05:13:47] lessless: has joined #RubyOnRails
[05:16:06] bronson: has joined #RubyOnRails
[05:16:49] jhfisc: has joined #RubyOnRails
[05:21:10] jhfisc: has joined #RubyOnRails
[05:25:52] jhfisc: has joined #RubyOnRails
[05:28:01] bruno-_: has joined #RubyOnRails
[05:31:27] jhfisc: has joined #RubyOnRails
[05:34:26] sevenseacat: has joined #RubyOnRails
[05:37:01] srinidhi: has joined #RubyOnRails
[05:41:49] jhfisc: has joined #RubyOnRails
[05:52:31] Saukk: has joined #RubyOnRails
[05:55:33] DrYockel: has joined #RubyOnRails
[05:56:52] Macaveli: has joined #RubyOnRails
[06:10:14] paranoicsan: has joined #RubyOnRails
[06:10:42] ahrs: has joined #RubyOnRails
[06:11:21] jhfisc: has joined #RubyOnRails
[06:17:28] sevenseacat: has joined #RubyOnRails
[06:22:19] roshanavand: has joined #RubyOnRails
[06:24:00] jhfisc: has joined #RubyOnRails
[06:27:24] snickers: has joined #RubyOnRails
[06:31:41] alexday: when should one use services in rails
[06:43:01] conta: has joined #RubyOnRails
[06:47:52] jhfisc: has joined #RubyOnRails
[06:51:11] jhfisc: has joined #RubyOnRails
[06:53:32] xco: has joined #RubyOnRails
[06:54:12] jhfisc: has joined #RubyOnRails
[06:55:06] xco: my minitest tests are running twice and i have no idea why. this is my test_helper.rb https://gist.github.com/xcobar/2d9d8e316de0a5d3a49b50034c392aea maybe someone can help?
[06:59:11] jhfisc: has joined #RubyOnRails
[07:00:51] SteenJobs_: has joined #RubyOnRails
[07:02:55] sevenseacat: but how are you running the tests?
[07:05:13] jhfisc: has joined #RubyOnRails
[07:07:12] roshanavand: has joined #RubyOnRails
[07:07:25] xco: i’m doing “docker-compose run app rake test”
[07:07:44] sevenseacat: yeah not touching that
[07:11:43] tbuehlmann_: xco: maybe this? https://github.com/blowmage/minitest-rails/issues/185
[07:12:16] jhfisc: has joined #RubyOnRails
[07:12:37] mtkd: has joined #RubyOnRails
[07:16:54] bronson: has joined #RubyOnRails
[07:20:36] jhfisc: has joined #RubyOnRails
[07:29:05] jhfisc: has joined #RubyOnRails
[07:38:22] armyriad: has joined #RubyOnRails
[07:40:20] armyriad: has joined #RubyOnRails
[07:40:38] crst: where exactly in the manual is the part related what you can do in .rb files in the models folder?
[07:41:11] jhfisc: has joined #RubyOnRails
[07:45:57] crst: you know the app/models/*.rb, you can do things in there like validate:, writing logic etc. I'm looking for the corresponding part in the official rails manual and can't find it.
[07:46:24] matthewd: crst: There are six guides under Models on http://guides.rubyonrails.org/
[07:46:26] dionysus69: has joined #RubyOnRails
[07:46:46] crst: I know that
[07:47:14] jhfisc: has joined #RubyOnRails
[07:54:22] crst: People keep telling me "put that in the model" and I need to figure out how that works :D The infos I'm looking for aren't condensed but distributed. Ok, I'm shutting up now :)
[07:54:47] Ergo: has joined #RubyOnRails
[07:55:07] xall: has joined #RubyOnRails
[07:55:24] matthewd: People are probably talking about adding ordinary methods to your model
[07:55:53] sandstrom: has joined #RubyOnRails
[07:59:11] jhfisc: has joined #RubyOnRails
[08:00:43] CustosLimen: has joined #RubyOnRails
[08:01:08] dionysus69: has joined #RubyOnRails
[08:03:58] crst: matthewd: yeah probably. Until now all I've done is validation and I need to figure out what I need to do.
[08:04:23] mikecmpbll: has joined #RubyOnRails
[08:04:46] matthewd: It's an ordinary ruby class; you may want to be looking for ruby documentation instead of rails?
[08:09:21] arBmind: has joined #RubyOnRails
[08:10:23] jhfisc: has joined #RubyOnRails
[08:15:25] jhfisc: has joined #RubyOnRails
[08:16:14] ams__: has joined #RubyOnRails
[08:21:12] jhfisc: has joined #RubyOnRails
[08:24:23] jhfisc: has joined #RubyOnRails
[08:34:04] marr: has joined #RubyOnRails
[08:34:11] simmerz: has joined #RubyOnRails
[08:35:23] vayan: has joined #RubyOnRails
[08:35:32] drale2k_: has joined #RubyOnRails
[08:38:31] jhfisc: has joined #RubyOnRails
[08:39:47] xall_: has joined #RubyOnRails
[08:44:47] jhfisc: has joined #RubyOnRails
[08:47:15] workmad3: has joined #RubyOnRails
[08:50:50] lxsameer: has joined #RubyOnRails
[08:51:04] roshanavand: has joined #RubyOnRails
[08:55:55] jhfisc: has joined #RubyOnRails
[09:01:25] jhfisc: has joined #RubyOnRails
[09:09:33] SteenJobs_: has joined #RubyOnRails
[09:15:56] jhfisc: has joined #RubyOnRails
[09:18:14] bronson: has joined #RubyOnRails
[09:21:23] Qchmqs__: has joined #RubyOnRails
[09:21:59] jhfisc: has joined #RubyOnRails
[09:31:06] jhfisc: has joined #RubyOnRails
[09:38:02] jhfisc: has joined #RubyOnRails
[09:41:49] ayonkhan: has joined #RubyOnRails
[09:48:04] ferr: has joined #RubyOnRails
[09:49:39] Torrm: has joined #RubyOnRails
[09:53:44] jhfisc: has joined #RubyOnRails
[09:54:19] darutoko: has joined #RubyOnRails
[09:57:53] jhfisc: has joined #RubyOnRails
[10:01:33] drale2k_: has joined #RubyOnRails
[10:23:55] srinidhi: has joined #RubyOnRails
[10:25:19] agent_white: has joined #RubyOnRails
[10:26:26] crst: I freaking hate centos so much
[10:31:09] ur5us: has joined #RubyOnRails
[10:31:26] crst: I've got constantly problems with webdev. no http2, ridiculously outdated and lack of packages even with extensions, ruby version management is hell, gems completely deny installation, especially pg...
[10:32:34] crst: agent_white: what you're using?
[10:33:26] crst: I have hopes on nixos but haven't had the time to go into it yet
[10:33:31] agent_white: I use CentOS :)
[10:33:55] agent_white: That or Fedora for more recent things.
[10:34:16] crst: agent_white: how do you version manage ruby?
[10:35:12] agent_white: I've tried rbenv and like it, just prefer rvm.
[10:39:23] crst: i like rbenv. I've got a cheapo vps on which I could install fedora, maybe I give it a try. used centos for years but it's over now.
[10:53:02] srinidhi: has joined #RubyOnRails
[11:02:49] shilon: has joined #RubyOnRails
[11:02:52] shilon: has left #RubyOnRails: ()
[11:03:30] apparition47: has joined #RubyOnRails
[11:06:49] mtkd: has joined #RubyOnRails
[11:12:47] Torrm: has left #RubyOnRails: ()
[11:19:20] bronson: has joined #RubyOnRails
[11:19:58] xco: has joined #RubyOnRails
[11:33:50] wethu: has joined #RubyOnRails
[11:52:05] Pumukel: has joined #RubyOnRails
[11:57:55] DrYockel1: has joined #RubyOnRails
[12:05:31] jhfisc: has joined #RubyOnRails
[12:18:47] mikecmpb_: has joined #RubyOnRails
[12:28:20] ayonkhan: has joined #RubyOnRails
[12:32:49] sevenseacat: has joined #RubyOnRails
[12:33:22] jhfisc: has joined #RubyOnRails
[12:37:30] gheegh: has joined #RubyOnRails
[12:38:35] gheegh: hey all.. question. I've been fighting this two days. I am running rails on Ubuntu 16.04.. my problem is that while Foreman starting works fine.. trying to run the console locks up. No response, no messages, no anything.. it just "hangs". Any thoughts on how to troubleshoot?
[12:38:52] karmayogi23: has joined #RubyOnRails
[12:47:43] DTZUZO: has joined #RubyOnRails
[12:51:37] dminuoso: apeiros: How do you work around this retarded limit of 1000 items in oracle lists?
[12:52:40] dminuoso: apeiros: This must be the 17th time that Im fighting this oracle dehanced adapter. When I do something like Foo.find(bars) with bars being >1000, I expect the adapter to batch it
[12:53:12] jhfisc: has joined #RubyOnRails
[12:54:07] dminuoso: This just induces psychotic rage in developers.
[12:55:26] daydreamm: has joined #RubyOnRails
[12:58:42] KeyJoo: has joined #RubyOnRails
[12:59:13] jhfisc: has joined #RubyOnRails
[13:00:17] Pumukel: has joined #RubyOnRails
[13:06:20] Jameser: has joined #RubyOnRails
[13:09:08] crst: has joined #RubyOnRails
[13:12:10] jhfisc: has joined #RubyOnRails
[13:12:32] Sylario: has joined #RubyOnRails
[13:20:08] bronson: has joined #RubyOnRails
[13:20:17] jhfisc: has joined #RubyOnRails
[13:20:48] dminuoso: ls = ids.each_slice(1000).inject([]) { |arr, ids| next arr + LP.find(ids) }
[13:20:53] dminuoso: ACTION hits his head against the wall
[13:30:32] gheegh: has joined #RubyOnRails
[13:33:32] drale2k_: has joined #RubyOnRails
[13:34:25] gheegh: has joined #RubyOnRails
[13:35:14] Tempesta: has joined #RubyOnRails
[13:35:34] hervie: has joined #RubyOnRails
[13:37:03] arBmind: has joined #RubyOnRails
[13:38:16] gheegh: has joined #RubyOnRails
[13:39:11] jhfisc: has joined #RubyOnRails
[13:41:14] bruno-: has joined #RubyOnRails
[13:41:53] gheegh: has joined #RubyOnRails
[13:45:41] gheegh: has joined #RubyOnRails
[13:49:46] gheegh: has joined #RubyOnRails
[13:50:03] bruno-: has joined #RubyOnRails
[13:51:23] jhfisc: has joined #RubyOnRails
[13:53:28] gheegh: has joined #RubyOnRails
[13:57:11] gheegh: has joined #RubyOnRails
[13:57:19] bruno-: has joined #RubyOnRails
[13:59:34] aajjbb: has joined #RubyOnRails
[14:01:01] gheegh: has joined #RubyOnRails
[14:02:23] bruno-: has joined #RubyOnRails
[14:03:27] gheegh: has joined #RubyOnRails
[14:03:45] xco: has joined #RubyOnRails
[14:08:18] kn-928: has joined #RubyOnRails
[14:09:27] tbuehlmann_: dminuoso: big company oracle problem, eh? :)
[14:09:38] futilegames: has joined #RubyOnRails
[14:09:54] futilegames: has left #RubyOnRails: ()
[14:17:50] bruno-: has joined #RubyOnRails
[14:22:50] bruno-: has joined #RubyOnRails
[14:23:10] daydreamm: has joined #RubyOnRails
[14:23:12] jhfisc: has joined #RubyOnRails
[14:27:50] bruno-: has joined #RubyOnRails
[14:29:05] jhfisc: has joined #RubyOnRails
[14:32:55] bruno-: has joined #RubyOnRails
[14:35:10] jhfisc: has joined #RubyOnRails
[14:37:50] bruno-: has joined #RubyOnRails
[14:41:07] jhfisc: has joined #RubyOnRails
[14:41:49] mtkd: has joined #RubyOnRails
[14:42:52] bruno-: has joined #RubyOnRails
[14:43:04] roshanavand: has joined #RubyOnRails
[14:46:02] jhfisc: has joined #RubyOnRails
[14:46:38] ayonkhan: has joined #RubyOnRails
[14:47:54] bruno-: has joined #RubyOnRails
[14:48:06] Saukk: has joined #RubyOnRails
[14:49:26] Saukk: has joined #RubyOnRails
[14:52:52] bruno-: has joined #RubyOnRails
[14:52:58] ianfleeton: has joined #RubyOnRails
[14:56:24] ianfleeton: has joined #RubyOnRails
[14:57:02] Jameser: has joined #RubyOnRails
[14:57:51] bruno-: has joined #RubyOnRails
[15:00:17] aajjbb: has joined #RubyOnRails
[15:00:58] apeiros: dminuoso: re 1000 items limit
[15:01:36] apeiros: use subqueries as much as possible. got *a ton* easier with rails 4, maybe 3 already, since now you can drop a relation into a where
[15:01:53] apeiros: e.g. Foo.where(id: Bar.my_weird_scope).to_a
[15:02:29] dminuoso: apeiros: How would that help though?
[15:02:29] apeiros: another technique I often use is views which remove the need
[15:02:31] s2013: has joined #RubyOnRails
[15:02:33] quazimodo: has joined #RubyOnRails
[15:02:35] apeiros: it doesn't have the limit
[15:02:48] apeiros: subqueries can evaluate to as many as they want
[15:02:50] bruno-: has joined #RubyOnRails
[15:02:52] quazimodo: has joined #RubyOnRails
[15:02:54] apeiros: only literal IN lists have the limit
[15:03:12] dminuoso: apeiros: I see, that actually would help a lot.
[15:03:16] apeiros: and the worst of the techniques is find_in_batches(1000)
[15:03:19] jhfisc: has joined #RubyOnRails
[15:03:28] dminuoso: apeiros: What can I say, at the least it works. :P
[15:03:44] apeiros: that one has issues, I forgot which and I don't know whether they still exist since we mostly use the former two
[15:03:54] apeiros: oh, one I haven't gotten around to try yet: table valued functions :)
[15:03:55] dminuoso: apeiros: The spots where I use it currently in can take the performance hit
[15:04:12] apeiros: those I'd use with the plsql gem (totes recommend that one if you have procedures and stuff)
[15:06:59] dminuoso: apeiros: I spend 6 months not working on rails backends. Almost forgot how annoying oracle can be. :-)
[15:07:14] dminuoso: Today we found out that when you insert a dump, table statistics are locked implicitly.
[15:07:17] apeiros: yeah, I'm ramping up personal coding again too, which is pg
[15:07:29] dminuoso: What you working on?
[15:07:33] apeiros: and I keep reminded about how much kludge I have to work around at work every fucking time
[15:07:53] bruno-: has joined #RubyOnRails
[15:08:22] apeiros: my own, very opinionated web framework for web applications (offline first, distributed first, component/widget based for maximum reusability)
[15:08:43] apeiros: and in turn for an application, or rather an environment I want to work with
[15:09:04] apeiros: I had a break of almost 2 years of working on this. very frustrating :-S
[15:09:15] dminuoso: What does your tech stack consist of?
[15:09:34] apeiros: ruby+pg+html+css+js. it's rather minimal :D
[15:09:47] apeiros: I try to have as few dependencies as possible.
[15:10:09] jhfisc: has joined #RubyOnRails
[15:10:11] apeiros: I might put in a js framework for visual effects. don't want to write that myself.
[15:10:58] dminuoso: Is there anything to see?
[15:11:10] apeiros: yes, but nothing I want to show yet. sorry.
[15:11:24] apeiros: ask me again at the end of the year, or end of november (holiday then where I want to work full steam on it)
[15:13:27] bruno-: has joined #RubyOnRails
[15:17:11] dminuoso: Fair enough, Im curious.
[15:17:24] dionysus69: has joined #RubyOnRails
[15:18:26] bruno-: has joined #RubyOnRails
[15:21:41] jhfisc: has joined #RubyOnRails
[15:21:53] bronson: has joined #RubyOnRails
[15:23:24] bruno-: has joined #RubyOnRails
[15:26:24] NoGodDamnIdea: has joined #RubyOnRails
[15:27:47] jhfisc: has joined #RubyOnRails
[15:31:17] jhfisc: has joined #RubyOnRails
[15:31:45] nertzy: has joined #RubyOnRails
[15:36:59] zacts: has joined #RubyOnRails
[15:45:01] lessless: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[15:47:23] jhfisc: has joined #RubyOnRails
[15:49:23] Sylario: I have an update query that must run because of a refactor. It update a STI type column from 'Modelname' to 'Namespace::Modelname' I want to run it from a task, but it could run from a migration, is there any convention?
[15:54:10] snickers: has joined #RubyOnRails
[15:59:04] jhfisc: has joined #RubyOnRails
[15:59:45] orbyt_: has joined #RubyOnRails
[16:00:42] conta3: has joined #RubyOnRails
[16:00:57] mars777: has joined #RubyOnRails
[16:00:58] roshanavand: has joined #RubyOnRails
[16:03:49] spheric: has joined #RubyOnRails
[16:05:17] jhfisc: has joined #RubyOnRails
[16:07:51] ErhardtMundt: has joined #RubyOnRails
[16:07:51] FrostCandy: has joined #RubyOnRails
[16:08:51] FrostCandy: https://gist.github.com/sirchuck/01da1721d2d158c9aa454bee237d290c - Just for leraning purposes I'm tring to figure out how to pass my session varialbe on the same line with the redriect_to method. I must be setting the session hash wrong
[16:10:12] jmay: has joined #RubyOnRails
[16:13:09] bruno-: has joined #RubyOnRails
[16:19:15] jhfisc: has joined #RubyOnRails
[16:27:42] gheegh: has joined #RubyOnRails
[16:30:15] segy: has joined #RubyOnRails
[16:30:41] jhfisc: has joined #RubyOnRails
[16:32:49] drale2k_: has joined #RubyOnRails
[16:35:59] jhfisc: has joined #RubyOnRails
[16:38:17] tbuehlmann_: FrostCandy: I'm seeing this for the first time. are you sure you can set the session like that?
[16:41:05] jmay: has joined #RubyOnRails
[16:41:54] jhfisc: has joined #RubyOnRails
[16:42:51] workmad3: FrostCandy: yeah... tbuehlmann_ is right to be suspicious... you can't set the session like that (you can only set the flash inline with a redirect)
[16:44:55] segy: has joined #RubyOnRails
[16:45:12] jhfisc: has joined #RubyOnRails
[16:49:25] bruno-: has joined #RubyOnRails
[16:55:35] jhfisc: has joined #RubyOnRails
[16:57:44] FrostCandy: oh ok thanks, I tried looking it up but couldn't find anything about it anywhere.
[16:58:03] ayonkhan_: has joined #RubyOnRails
[16:58:10] FrostCandy: it seemd like if the flash hash could be sent, then the session has should have been able to.
[16:58:22] FrostCandy: by the way, as an alternative, I can use the flash has to send my variables
[16:59:54] jhfisc: has joined #RubyOnRails
[17:00:06] Rodya_: has joined #RubyOnRails
[17:07:03] srinidhi: has joined #RubyOnRails
[17:10:08] xco: has left #RubyOnRails: ()
[17:14:04] tanuki: has joined #RubyOnRails
[17:19:05] conta1: has joined #RubyOnRails
[17:22:55] bronson: has joined #RubyOnRails
[17:33:42] Chernobuk: has joined #RubyOnRails
[17:33:52] gusrub: has joined #RubyOnRails
[17:35:02] Papierkorb: has joined #RubyOnRails
[17:35:13] kn-928: has joined #RubyOnRails
[17:36:05] nratter: has joined #RubyOnRails
[17:37:35] soahccc: I try to get into testing (finally) and I tried to recycle some old attempts. I found the following code which appeared to stopped working with some rspec update (I just updated all testing gems). Any idea on how to do it nowadays? https://gist.github.com/2called-chaos/3710369f93771230f7416b1d4a34befd#file-spec_extensions-rb
[17:39:45] ayonkhan: has joined #RubyOnRails
[17:41:14] nratter: has left #RubyOnRails: ()
[17:43:11] quazimodo: has joined #RubyOnRails
[17:43:45] xco: has joined #RubyOnRails
[17:44:03] xco: hello. maybe someone can help :) https://stackoverflow.com/questions/46041939/minitest-runs-tests-twice
[17:51:12] tbuehlmann_: xco: have you checked the link I pasted hours ago?
[17:51:26] xco: tbuehlmann_: yes i did. that didn’t help
[18:07:29] funkytwig: has joined #RubyOnRails
[18:07:31] sandstrom: has joined #RubyOnRails
[18:14:30] tanuki: has joined #RubyOnRails
[18:14:54] maryo: has joined #RubyOnRails
[18:19:02] dcope: has joined #RubyOnRails
[18:19:02] lxsameer: has joined #RubyOnRails
[18:19:39] dcope: is there a trick to get factory girl to work with habtm? i have a "role" model that is just a join table. i can't seem to get factory girl to build the relationship.
[18:20:29] ianfleeton: has joined #RubyOnRails
[18:24:46] mr-spoon: has joined #RubyOnRails
[18:26:08] FastJack: has joined #RubyOnRails
[18:26:28] armyriad: has joined #RubyOnRails
[18:29:18] AntiSpamMeta_: has joined #RubyOnRails
[18:30:15] CommanderViral_: has joined #RubyOnRails
[18:30:24] sonOfRa_: has joined #RubyOnRails
[18:30:24] newton2: has joined #RubyOnRails
[18:30:26] dnyy_: has joined #RubyOnRails
[18:30:28] wsmoak_: has joined #RubyOnRails
[18:31:02] jxf_: has joined #RubyOnRails
[18:31:36] SteenJobs_: has joined #RubyOnRails
[18:32:49] ur5us: has joined #RubyOnRails
[18:35:59] rgr: has joined #RubyOnRails
[18:36:15] universal: has joined #RubyOnRails
[18:36:31] Kilobyte22: has joined #RubyOnRails
[18:38:26] mikecmpbll: has joined #RubyOnRails
[18:38:45] kn-928: has joined #RubyOnRails
[18:39:37] ayonkhan_: has joined #RubyOnRails
[18:40:27] dionysus69: has joined #RubyOnRails
[18:42:33] jnollette: has joined #RubyOnRails
[18:42:48] okdas: has joined #RubyOnRails
[18:42:52] ahrs: has joined #RubyOnRails
[18:42:53] marr: has joined #RubyOnRails
[18:44:19] kies: has joined #RubyOnRails
[18:44:56] mcr-credil: has joined #RubyOnRails
[18:47:02] toydestroyer: has joined #RubyOnRails
[18:47:19] loglaunch: has joined #RubyOnRails
[18:47:22] daemonwrangler: has joined #RubyOnRails
[18:47:35] hfp_work: has joined #RubyOnRails
[18:48:31] Gm4n: has joined #RubyOnRails
[18:49:56] armyriad: has joined #RubyOnRails
[18:50:36] maryo_: has joined #RubyOnRails
[18:51:38] jmay: has joined #RubyOnRails
[18:59:18] S007: has joined #RubyOnRails
[19:15:58] daydreamm: has joined #RubyOnRails
[19:18:06] AzaToth: has joined #RubyOnRails
[19:23:35] bronson: has joined #RubyOnRails
[19:33:24] ayonkhan: has joined #RubyOnRails
[19:41:17] gusrub: has joined #RubyOnRails
[19:45:49] xaviergmail: has joined #RubyOnRails
[19:48:18] maryo_: I have a rails model which does some calculations. But i am not sure which value it takes for the calculations and how it produces the results. Is there a way to troubleshoot the model line by line? or find what input it takes?
[19:58:44] dionysus70: has joined #RubyOnRails
[19:58:55] mr-spoon: has joined #RubyOnRails
[20:02:25] Or1on: has joined #RubyOnRails
[20:13:07] ur5us: has joined #RubyOnRails
[20:24:06] ayonkhan: has joined #RubyOnRails
[20:25:47] irishfromua: has joined #RubyOnRails
[20:27:26] xco: has joined #RubyOnRails
[20:27:28] podman: has joined #RubyOnRails
[20:30:23] xco_: has joined #RubyOnRails
[20:37:47] ayonkhan_: has joined #RubyOnRails
[20:40:09] kn-928: has joined #RubyOnRails
[20:41:56] NoGodDamnIdea: has joined #RubyOnRails
[20:46:06] gheegh: has joined #RubyOnRails
[20:46:29] mr-spoon: has joined #RubyOnRails
[20:47:19] ayonkhan: has joined #RubyOnRails
[20:53:18] jmay: has joined #RubyOnRails
[20:55:46] bruno-: has joined #RubyOnRails
[20:57:58] Rodya_: has joined #RubyOnRails
[21:00:53] jhfisc: has joined #RubyOnRails
[21:05:13] milesmatthias: has joined #RubyOnRails
[21:09:40] jackhum: has joined #RubyOnRails
[21:11:04] jhfisc: has joined #RubyOnRails
[21:17:24] orbyt_: has joined #RubyOnRails
[21:24:56] bronson: has joined #RubyOnRails
[21:26:44] jhfisc: has joined #RubyOnRails
[21:33:11] jhfisc: has joined #RubyOnRails
[21:39:13] jhfisc: has joined #RubyOnRails
[21:47:18] mtkd: has joined #RubyOnRails
[21:48:15] archiflex: has joined #RubyOnRails
[21:52:15] jhfisc: has joined #RubyOnRails
[21:55:27] ResidentBiscuit: has joined #RubyOnRails
[21:58:31] Rodya_: has joined #RubyOnRails
[21:59:56] ayonkhan_: has joined #RubyOnRails
[22:01:28] NoGodDamnIdea: has joined #RubyOnRails
[22:05:12] jhfisc: has joined #RubyOnRails
[22:05:55] milesmatthias: has joined #RubyOnRails
[22:11:29] gusrub_: has joined #RubyOnRails
[22:16:56] jhfisc: has joined #RubyOnRails
[22:19:54] jhfisc: has joined #RubyOnRails
[22:26:28] jhfisc: has joined #RubyOnRails
[22:32:03] jhfisc: has joined #RubyOnRails
[22:35:13] jhfisc: has joined #RubyOnRails
[22:35:43] Radar: GOOD MORNING
[22:39:42] andywww: has joined #RubyOnRails
[22:40:58] andywww: how might one force a jsonapi resource to pause a set amount of time before responding? for the purposes of testing..
[22:41:17] andywww: in a controller a simple “sleep 5” at the top of the controller worked fine
[22:44:45] andywww: has left #RubyOnRails: ()
[22:45:21] jhfisc: has joined #RubyOnRails
[22:51:48] pharma_joe: has joined #RubyOnRails
[22:54:17] Radar: andyw... and they're gone.
[22:59:40] Rodya_: has joined #RubyOnRails
[23:05:45] roshanavand: has joined #RubyOnRails
[23:06:30] one_zero: has joined #RubyOnRails
[23:08:20] roshanavand: has joined #RubyOnRails
[23:14:50] aajjbb: has joined #RubyOnRails
[23:16:03] xaviergmail: has joined #RubyOnRails
[23:17:00] pharma_joe: has joined #RubyOnRails
[23:21:19] jhfisc: has joined #RubyOnRails
[23:25:31] quazimodo: has joined #RubyOnRails
[23:25:50] bronson: has joined #RubyOnRails
[23:25:54] mikecmpbll: has joined #RubyOnRails
[23:28:28] workmad3: has joined #RubyOnRails
[23:33:19] jhfisc: has joined #RubyOnRails
[23:39:52] AdamOnRails: has joined #RubyOnRails
[23:40:10] AdamOnRails: testin, testing.... hello world
[23:41:23] jhfisc: has joined #RubyOnRails
[23:41:51] AdamOnRails: Question. I have models User has_one Permission setup. The Permission table has attributes "full_permissions", "basic_permissions"
[23:43:24] AdamOnRails: I want to do like... blah = Users.all.where(full_permissions: true)
[23:44:53] AdamOnRails: Seems fairly basic, I feel like I'm forgetting something
[23:46:56] jhfisc: has joined #RubyOnRails
[23:50:51] AdamOnRails: User also as a custom method has_permission?(perm) which returns true or false accordingly, if that helps
[23:51:43] pharma_joe: has joined #RubyOnRails
[23:52:48] jhfisc: has joined #RubyOnRails
[23:57:26] Radar: AdamOnRails: Users.includes(:permission).where(permissions: { full_permissions: true })
[23:57:56] AdamOnRails: My man, thank you.
[23:58:08] AdamOnRails: Or woman, no assumptions.
[23:59:11] jhfisc: has joined #RubyOnRails