« Back to channel list

#RubyOnRails - 07 May 2019

« Back 1 day Forward 1 day »
[00:04:10] jottr: has joined #RubyOnRails
[00:04:56] weird_error: has joined #RubyOnRails
[00:05:53] haengma: has joined #RubyOnRails
[00:06:35] aiguuu: has joined #RubyOnRails
[00:14:20] jottr: has joined #RubyOnRails
[00:22:50] weteamsteve: has joined #RubyOnRails
[00:24:33] jottr: has joined #RubyOnRails
[00:24:42] orbyt_: has joined #RubyOnRails
[00:34:46] jottr: has joined #RubyOnRails
[00:44:59] jottr: has joined #RubyOnRails
[00:55:12] jottr: has joined #RubyOnRails
[00:55:53] gambl0re: has joined #RubyOnRails
[01:05:25] jottr: has joined #RubyOnRails
[01:05:49] tdy: has joined #RubyOnRails
[01:12:15] sevenseacat: has joined #RubyOnRails
[01:12:25] haengma: has joined #RubyOnRails
[01:15:40] jottr: has joined #RubyOnRails
[01:25:54] jottr: has joined #RubyOnRails
[01:35:41] bga57: has joined #RubyOnRails
[01:36:07] jottr: has joined #RubyOnRails
[01:46:29] jottr: has joined #RubyOnRails
[01:47:00] KeyJoo: has joined #RubyOnRails
[01:52:03] haengma: has joined #RubyOnRails
[01:56:33] jottr: has joined #RubyOnRails
[02:05:53] wmoxam: has joined #RubyOnRails
[02:06:46] jottr: has joined #RubyOnRails
[02:13:16] tdy: has joined #RubyOnRails
[02:14:01] wickedbloodfart: has joined #RubyOnRails
[02:17:01] jottr: has joined #RubyOnRails
[02:21:13] tdy: has joined #RubyOnRails
[02:23:35] zacts: has joined #RubyOnRails
[02:26:30] haengma: has joined #RubyOnRails
[02:27:14] jottr: has joined #RubyOnRails
[02:29:57] uplime: has joined #RubyOnRails
[02:35:31] altigraph: has joined #RubyOnRails
[02:35:31] uplime: has joined #RubyOnRails
[02:37:26] jottr: has joined #RubyOnRails
[02:47:40] jottr: has joined #RubyOnRails
[02:57:52] jottr: has joined #RubyOnRails
[03:05:21] tdy: has joined #RubyOnRails
[03:08:05] jottr: has joined #RubyOnRails
[03:11:20] braincrash: has joined #RubyOnRails
[03:17:26] Saukk: has joined #RubyOnRails
[03:18:18] jottr: has joined #RubyOnRails
[03:27:50] haengma: has joined #RubyOnRails
[03:28:30] jottr: has joined #RubyOnRails
[03:38:44] jottr: has joined #RubyOnRails
[03:48:57] jottr: has joined #RubyOnRails
[03:52:35] dviola: has joined #RubyOnRails
[03:54:31] tdy: has joined #RubyOnRails
[03:59:13] jottr: has joined #RubyOnRails
[04:08:48] zacts: has joined #RubyOnRails
[04:09:22] jottr: has joined #RubyOnRails
[04:19:35] jottr: has joined #RubyOnRails
[04:26:55] pd09041999: has joined #RubyOnRails
[04:29:47] jottr: has joined #RubyOnRails
[04:40:01] jottr: has joined #RubyOnRails
[04:50:16] jottr: has joined #RubyOnRails
[04:55:55] gambl0r3: has joined #RubyOnRails
[05:00:25] jottr: has joined #RubyOnRails
[05:05:37] srinidhi: has joined #RubyOnRails
[05:10:38] jottr: has joined #RubyOnRails
[05:20:28] conta: has joined #RubyOnRails
[05:20:52] jottr: has joined #RubyOnRails
[05:31:05] jottr: has joined #RubyOnRails
[05:35:30] haengma: has joined #RubyOnRails
[05:41:19] jottr: has joined #RubyOnRails
[05:51:32] jottr: has joined #RubyOnRails
[05:55:20] kapil____: has joined #RubyOnRails
[05:55:46] Dbugger: has joined #RubyOnRails
[06:01:45] jottr: has joined #RubyOnRails
[06:11:36] Technodrome: has joined #RubyOnRails
[06:11:56] jottr: has joined #RubyOnRails
[06:22:09] jottr: has joined #RubyOnRails
[06:32:23] jottr: has joined #RubyOnRails
[06:34:11] DTZUZO: has joined #RubyOnRails
[06:36:18] xcesariox: has joined #RubyOnRails
[06:42:36] jottr: has joined #RubyOnRails
[06:46:51] ur5us: has joined #RubyOnRails
[06:52:49] jottr: has joined #RubyOnRails
[06:58:54] srinidhi: has joined #RubyOnRails
[07:00:40] jottr: has joined #RubyOnRails
[07:02:05] lankanmon: has joined #RubyOnRails
[07:04:38] Exuma: has joined #RubyOnRails
[07:06:30] mikecmpbll: has joined #RubyOnRails
[07:06:37] Ergo: has joined #RubyOnRails
[07:08:37] za1b1tsu: has joined #RubyOnRails
[07:18:13] lxsameer: has joined #RubyOnRails
[07:24:09] jottr: has joined #RubyOnRails
[07:26:24] jefffrails35: has joined #RubyOnRails
[07:30:53] conta: has joined #RubyOnRails
[08:00:59] xcesariox: has joined #RubyOnRails
[08:18:57] Sylario: has joined #RubyOnRails
[08:19:24] jottr: has joined #RubyOnRails
[08:22:16] Puffball: has joined #RubyOnRails
[08:29:40] jottr: has joined #RubyOnRails
[08:38:07] tbuehlmann: homebear: seems rails can't find the template. what directories/files do you have in app/views?
[08:44:16] jottr: has joined #RubyOnRails
[08:54:30] jottr: has joined #RubyOnRails
[09:03:12] hammer065: has joined #RubyOnRails
[09:04:42] jottr: has joined #RubyOnRails
[09:15:00] jottr: has joined #RubyOnRails
[09:25:12] jottr: has joined #RubyOnRails
[09:33:11] choke: has joined #RubyOnRails
[09:34:53] andywww: has joined #RubyOnRails
[09:35:25] jottr: has joined #RubyOnRails
[09:37:33] andywww: i have a situation where I want to use some fairly common development gems (bullet, better_errors and binding of caller) on some projects that I work on along side some colleagues, I want to use these gems but my colleagues are complaining that they have to install them also with them being in the gem file, is it at all possible to have a local ~/.<something> file that bundler will take notice of on my local machine only and
[09:37:34] andywww: pollute the project for others?
[09:41:21] tbuehlmann: andywww: not sure about that, but there are optional groups. gems in this group would only be installed when running `bundle install --with name`, maybe that's something for you. this group would be in the same Gemfile, though
[09:42:13] tbuehlmann: see https://bundler.io/guides/groups.html#optional-groups
[09:43:02] andywww: yeah just reading that now, thanks
[09:44:19] andywww: has left #RubyOnRails: ()
[09:44:30] andywww: has joined #RubyOnRails
[09:45:37] jottr: has joined #RubyOnRails
[09:48:20] andywww: hmm, that still forces them to install
[09:48:23] andywww: just not to use
[09:49:08] andywww: running bundle still installs the gems, not to worry I’ll just have to remember to remove the entries before commit
[09:55:00] pd09041999: has joined #RubyOnRails
[09:55:51] jottr: has joined #RubyOnRails
[09:56:33] tbuehlmann: the guide talks about installing, that's surprising
[10:02:52] tdy: has joined #RubyOnRails
[10:05:07] andywww: https://hastebin.com/xodosihoza.rb
[10:05:51] andywww: am i missing something obvious?
[10:06:04] jottr: has joined #RubyOnRails
[10:07:14] andywww: possibly a 2+ option
[10:07:27] andywww: i’m fixed to bundler 1.17
[10:08:50] andywww: hmm, no, it was introduced in 1.10
[10:12:58] choke: has joined #RubyOnRails
[10:16:16] jottr: has joined #RubyOnRails
[10:18:45] conta: has joined #RubyOnRails
[10:24:28] andywww: okay I see whats happening, the BUNDLE_WITH is getting added to the remembered params, putting that line in my local ~/.bundle/config (i hope) will make it run for all projects bundled locally but not for others
[10:26:30] jottr: has joined #RubyOnRails
[10:29:35] apparition: has joined #RubyOnRails
[10:36:42] jottr: has joined #RubyOnRails
[10:46:56] jottr: has joined #RubyOnRails
[10:52:15] tdy: has joined #RubyOnRails
[10:54:02] lankanmon: has joined #RubyOnRails
[10:57:09] jottr: has joined #RubyOnRails
[11:05:08] andywww: has left #RubyOnRails: ()
[11:07:21] jottr: has joined #RubyOnRails
[11:08:03] tdy1: has joined #RubyOnRails
[11:15:01] jottr: has joined #RubyOnRails
[11:18:20] DTZUZO: has joined #RubyOnRails
[11:25:13] jottr: has joined #RubyOnRails
[11:34:05] atrius: has joined #RubyOnRails
[11:35:27] jottr: has joined #RubyOnRails
[11:45:49] jottr: has joined #RubyOnRails
[11:53:50] pd09041999: has joined #RubyOnRails
[11:55:58] jottr: has joined #RubyOnRails
[12:06:05] jottr: has joined #RubyOnRails
[12:16:31] jottr: has joined #RubyOnRails
[12:18:04] gregf_: has joined #RubyOnRails
[12:24:34] dionysus69: has joined #RubyOnRails
[12:26:32] jottr: has joined #RubyOnRails
[12:35:39] _aeris_: has joined #RubyOnRails
[12:36:46] jottr: has joined #RubyOnRails
[12:46:57] jottr: has joined #RubyOnRails
[12:57:10] jottr: has joined #RubyOnRails
[13:07:24] jottr: has joined #RubyOnRails
[13:17:38] jottr: has joined #RubyOnRails
[13:21:47] xco: has joined #RubyOnRails
[13:27:51] jottr: has joined #RubyOnRails
[13:38:02] jottr: has joined #RubyOnRails
[13:54:26] cgfbee: has joined #RubyOnRails
[13:55:05] gb_away: has joined #RubyOnRails
[13:56:36] Technodrome: has joined #RubyOnRails
[14:04:01] zacts: has joined #RubyOnRails
[14:08:53] uks: has joined #RubyOnRails
[14:09:47] OneNeptune: has joined #RubyOnRails
[14:21:55] jottr: has joined #RubyOnRails
[14:32:06] jottr: has joined #RubyOnRails
[14:42:49] srinidhi: has joined #RubyOnRails
[14:52:34] uksio: has joined #RubyOnRails
[14:54:12] rohit: has joined #RubyOnRails
[15:05:00] OneNeptune: has joined #RubyOnRails
[15:06:16] agent_white: has joined #RubyOnRails
[15:06:32] jottr: has joined #RubyOnRails
[15:13:29] tdy1: has joined #RubyOnRails
[15:16:44] jottr: has joined #RubyOnRails
[15:17:34] hammer065: has joined #RubyOnRails
[15:27:21] OneNeptune: has joined #RubyOnRails
[15:35:30] jottr: has joined #RubyOnRails
[15:41:36] choke: has joined #RubyOnRails
[15:45:23] Net: I've refactored some code to make a few database queries in parallel via Threads. All our test are run in transactions, so this breaks some existing tests. What is my best option for resolving this?
[15:45:41] jottr: has joined #RubyOnRails
[15:47:34] OneNeptune: has joined #RubyOnRails
[15:48:15] lupine: Net: latest RoR can pool connections across threads, IIRC
[15:48:34] lupine: other than that, you can switch your testing strategy from transactions to truncate or delete
[15:49:23] Net: lupine: I wish we could upgrade to the latest right now, but that will take some time
[15:49:43] lupine: database_cleaner supports the other strategies natively, we do the same in our own codebase
[15:49:57] lupine: I think we stopped using transactions altogether due to the other weirdnesses they introduce into the test suite
[15:50:04] lupine: (re-using IDs, etc)
[15:50:25] Net: the only native way to handle this is to perform the cleanup manually?
[15:50:35] lupine: are you using database_cleaner at present?
[15:51:10] lupine: if so, it's just: DatabaseCleaner.clean_with(:truncation) instead of DatabaseCleaner.clean_with(:transaction)
[15:51:44] Net: Ah, yes we are
[15:51:55] Net: can I do that per test file?
[15:52:44] lupine: you could. what we do is specify rspec traits and assign different database-cleaner strategies to each
[15:52:56] lupine: config.before(:foo), etc
[15:53:12] lupine: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/support/database_cleaner.rb
[15:53:31] Net: You work on gitlab?
[15:55:55] jottr: has joined #RubyOnRails
[16:05:05] conta: has joined #RubyOnRails
[16:06:13] jottr: has joined #RubyOnRails
[16:09:08] mmachine: has joined #RubyOnRails
[16:13:11] Exuma: has joined #RubyOnRails
[16:16:30] jottr: has joined #RubyOnRails
[16:17:15] mmachine: has joined #RubyOnRails
[16:18:46] gambl0r3: has joined #RubyOnRails
[16:18:55] haengma: has joined #RubyOnRails
[16:23:13] mmachine: Hello. I'm trying to write some rspec cases for a controller that test for cookies being set. Which object should I be able to find these in?
[16:26:39] jottr: has joined #RubyOnRails
[16:30:08] ariedler: has joined #RubyOnRails
[16:36:53] jottr: has joined #RubyOnRails
[16:37:40] duderonomy: has joined #RubyOnRails
[16:41:03] choke: has joined #RubyOnRails
[16:47:05] jottr: has joined #RubyOnRails
[16:51:22] _aeris_: has joined #RubyOnRails
[16:57:19] jottr: has joined #RubyOnRails
[17:07:32] jottr: has joined #RubyOnRails
[17:11:44] Saukk: has joined #RubyOnRails
[17:17:44] jottr: has joined #RubyOnRails
[17:19:56] OneNeptune: has joined #RubyOnRails
[17:25:15] gambl0r3: has joined #RubyOnRails
[17:27:56] jottr: has joined #RubyOnRails
[17:34:57] hightower3: has joined #RubyOnRails
[17:35:00] old_relik: has joined #RubyOnRails
[17:35:57] old_relik: how does the sidekiq logs show up on the rails process logs?
[17:36:48] choke: has joined #RubyOnRails
[17:38:10] jottr: has joined #RubyOnRails
[17:46:47] OneNeptune: has joined #RubyOnRails
[17:48:27] jottr: has joined #RubyOnRails
[17:50:49] Dbugger: has joined #RubyOnRails
[17:54:09] za1b1tsu: has joined #RubyOnRails
[17:56:18] mlt-: has joined #RubyOnRails
[17:56:38] sameerynho: has joined #RubyOnRails
[17:58:35] jottr: has joined #RubyOnRails
[18:02:05] haengma: has joined #RubyOnRails
[18:03:15] OneNeptune: has joined #RubyOnRails
[18:08:48] jottr: has joined #RubyOnRails
[18:12:53] OneNeptune: has joined #RubyOnRails
[18:19:00] jottr: has joined #RubyOnRails
[18:24:24] Saukk: has joined #RubyOnRails
[18:25:54] weird_error: has joined #RubyOnRails
[18:26:04] haengma: has joined #RubyOnRails
[18:29:14] jottr: has joined #RubyOnRails
[18:31:17] ariedler: has joined #RubyOnRails
[18:39:27] jottr: has joined #RubyOnRails
[18:49:40] jottr: has joined #RubyOnRails
[18:53:15] defsdoor: has joined #RubyOnRails
[18:56:02] thunderbirdtr: has joined #RubyOnRails
[18:58:51] aiguuu: has joined #RubyOnRails
[18:59:53] jottr: has joined #RubyOnRails
[19:00:13] choke: has joined #RubyOnRails
[19:08:14] weird_error: has joined #RubyOnRails
[19:08:52] s00pcan: has joined #RubyOnRails
[19:10:04] jottr: has joined #RubyOnRails
[19:12:30] haengma: has joined #RubyOnRails
[19:15:49] cnsvc: has joined #RubyOnRails
[19:20:19] jottr: has joined #RubyOnRails
[19:25:46] jobewan: has joined #RubyOnRails
[19:30:31] jottr: has joined #RubyOnRails
[19:30:42] maryo: has joined #RubyOnRails
[19:36:54] OneNeptune: has joined #RubyOnRails
[19:38:08] cnsvc: has joined #RubyOnRails
[19:40:44] jottr: has joined #RubyOnRails
[19:50:56] jottr: has joined #RubyOnRails
[20:00:20] haengma: has joined #RubyOnRails
[20:00:36] mcr: has joined #RubyOnRails
[20:01:09] jottr: has joined #RubyOnRails
[20:06:19] za1b1tsu: has joined #RubyOnRails
[20:07:06] choke: has joined #RubyOnRails
[20:11:23] jottr: has joined #RubyOnRails
[20:21:40] jottr: has joined #RubyOnRails
[20:38:27] jottr: has joined #RubyOnRails
[20:48:41] jottr: has joined #RubyOnRails
[20:58:56] jottr: has joined #RubyOnRails
[21:09:08] jottr: has joined #RubyOnRails
[21:16:13] GodFather: has joined #RubyOnRails
[21:19:21] jottr: has joined #RubyOnRails
[21:29:33] jottr: has joined #RubyOnRails
[21:35:23] GodFather: has joined #RubyOnRails
[21:39:46] jottr: has joined #RubyOnRails
[21:41:42] choke: has joined #RubyOnRails
[21:47:39] zacts: has joined #RubyOnRails
[21:49:58] jottr: has joined #RubyOnRails
[22:00:12] jottr: has joined #RubyOnRails
[22:00:34] OneNeptune: has joined #RubyOnRails
[22:10:24] jottr: has joined #RubyOnRails
[22:20:37] jottr: has joined #RubyOnRails
[22:27:01] weteamsteve: has joined #RubyOnRails
[22:30:51] jottr: has joined #RubyOnRails
[22:41:03] jottr: has joined #RubyOnRails
[22:51:18] jottr: has joined #RubyOnRails
[22:56:49] mikecmpbll: has joined #RubyOnRails
[23:01:31] jottr: has joined #RubyOnRails
[23:05:31] gambl0r3: has joined #RubyOnRails
[23:11:44] jottr: has joined #RubyOnRails
[23:20:23] brool: has joined #RubyOnRails
[23:21:58] jottr: has joined #RubyOnRails
[23:24:10] uks: has joined #RubyOnRails
[23:32:10] jottr: has joined #RubyOnRails
[23:45:45] ariedler: has joined #RubyOnRails
[23:49:53] jottr: has joined #RubyOnRails