« Back to channel list

#RubyOnRails - 25 March 2018

« Back 1 day Forward 1 day »
[00:03:08] cagomez: has joined #RubyOnRails
[00:05:57] arthurz: has joined #RubyOnRails
[00:07:41] schneider: has joined #RubyOnRails
[00:17:02] _aeris_: has joined #RubyOnRails
[00:17:26] ams__: has joined #RubyOnRails
[00:57:34] alfiemax_: has joined #RubyOnRails
[00:59:32] boshhead: has joined #RubyOnRails
[01:05:44] mroutis: has joined #RubyOnRails
[01:22:50] LenPayne: has joined #RubyOnRails
[01:31:03] schneider: has joined #RubyOnRails
[01:34:32] Tempesta: has joined #RubyOnRails
[01:40:58] alfiemax: has joined #RubyOnRails
[02:05:09] mroutis_: has joined #RubyOnRails
[02:16:53] jottr: has joined #RubyOnRails
[02:19:42] schneider: has joined #RubyOnRails
[02:25:33] jottr: has joined #RubyOnRails
[02:37:36] jottr: has joined #RubyOnRails
[02:44:29] jottr: has joined #RubyOnRails
[02:45:19] mroutis: has joined #RubyOnRails
[02:54:44] jottr: has joined #RubyOnRails
[03:03:23] apparition: has joined #RubyOnRails
[03:04:55] jottr: has joined #RubyOnRails
[03:13:17] spohnz: has joined #RubyOnRails
[03:15:54] spohnz: I am making a bug tracking page and wanting to save the current_user.username as a report_owner in my db. im not sure how I do this. any advice?
[03:16:53] schneider: has joined #RubyOnRails
[03:17:10] jottr: has joined #RubyOnRails
[03:28:41] alfiemax: has joined #RubyOnRails
[03:29:32] spohnz: i used the .merge method
[03:30:22] jottr: has joined #RubyOnRails
[03:32:37] fryguy: show some code
[03:32:50] tfitts: has joined #RubyOnRails
[03:35:36] mroutis: has joined #RubyOnRails
[03:39:05] jottr: has joined #RubyOnRails
[03:49:40] jottr: has joined #RubyOnRails
[03:55:55] alfiemax: has joined #RubyOnRails
[03:57:23] jottr: has joined #RubyOnRails
[04:07:04] jottr: has joined #RubyOnRails
[04:13:57] jottr: has joined #RubyOnRails
[04:16:38] gravity_pope: has joined #RubyOnRails
[04:21:52] schneider: has joined #RubyOnRails
[04:21:54] atrius: has joined #RubyOnRails
[04:22:55] Saukk: has joined #RubyOnRails
[04:25:15] trautwein: has joined #RubyOnRails
[04:27:51] jottr: has joined #RubyOnRails
[04:38:30] jottr: has joined #RubyOnRails
[05:04:29] mroutis_: has joined #RubyOnRails
[05:05:10] duderono_: has joined #RubyOnRails
[05:11:59] nso95: has joined #RubyOnRails
[05:12:44] schneider: has joined #RubyOnRails
[06:13:52] schneider: has joined #RubyOnRails
[06:18:09] jottr: has joined #RubyOnRails
[06:30:06] jottr: has joined #RubyOnRails
[06:36:58] jottr: has joined #RubyOnRails
[06:41:00] srinidhi: has joined #RubyOnRails
[06:48:56] reber: has joined #RubyOnRails
[06:53:00] jottr: has joined #RubyOnRails
[07:03:02] jottr: has joined #RubyOnRails
[07:10:04] moei: has joined #RubyOnRails
[07:16:03] jottr: has joined #RubyOnRails
[07:20:43] schneider: has joined #RubyOnRails
[07:28:29] jottr: has joined #RubyOnRails
[07:36:58] Diabolik: if I have a group of records that have duplicates, what's the fastest way of deleting all bar the most recent?
[07:37:28] Diabolik: my code for finding the records is
[07:37:39] Diabolik: Spree::Promotion.select(:name, :code).group(:name, :code).having("count(*) > 1")
[07:38:58] jottr: has joined #RubyOnRails
[07:42:33] za1b1tsu: has joined #RubyOnRails
[07:49:25] jottr: has joined #RubyOnRails
[08:01:21] jottr: has joined #RubyOnRails
[08:08:54] jottr: has joined #RubyOnRails
[08:13:33] sevenseacat: has joined #RubyOnRails
[08:18:05] schneider: has joined #RubyOnRails
[08:22:26] marr: has joined #RubyOnRails
[08:23:22] jottr: has joined #RubyOnRails
[08:24:59] conta: has joined #RubyOnRails
[08:30:42] jottr: has joined #RubyOnRails
[08:32:15] schneider: has joined #RubyOnRails
[08:42:59] schneider: has joined #RubyOnRails
[08:45:55] jottr: has joined #RubyOnRails
[08:47:57] elcms: has joined #RubyOnRails
[08:58:43] jottr: has joined #RubyOnRails
[09:13:19] jottr: has joined #RubyOnRails
[09:24:31] cschneid: has joined #RubyOnRails
[09:25:41] jottr: has joined #RubyOnRails
[09:34:16] babykosh: has joined #RubyOnRails
[09:37:38] jottr: has joined #RubyOnRails
[09:44:23] schneider: has joined #RubyOnRails
[09:45:07] shpoont: has joined #RubyOnRails
[09:45:24] srinidhi: has joined #RubyOnRails
[09:50:10] jottr: has joined #RubyOnRails
[10:00:11] _aeris_: has joined #RubyOnRails
[10:00:53] schneider: has joined #RubyOnRails
[10:03:21] conta: has joined #RubyOnRails
[10:04:35] MrCrackPotBuilde: has joined #RubyOnRails
[10:04:51] MrCrackPotBuilde: how to change Capybara.server settings to use passenger
[10:05:12] MrCrackPotBuilde: ive googled it but cant find much and ive tried phussion_passenger and just passenger
[10:05:38] jottr: has joined #RubyOnRails
[10:10:49] schneider: has joined #RubyOnRails
[10:13:13] Ergo: has joined #RubyOnRails
[10:17:26] pLaTo0n: has joined #RubyOnRails
[10:18:17] jottr: has joined #RubyOnRails
[10:27:33] alfiemax: has joined #RubyOnRails
[10:31:36] jottr: has joined #RubyOnRails
[10:38:05] rikkipitt: has joined #RubyOnRails
[10:42:38] shtirlic: has joined #RubyOnRails
[10:46:21] jottr: has joined #RubyOnRails
[10:52:02] kapil___: has joined #RubyOnRails
[10:56:35] sameerynho: has joined #RubyOnRails
[10:58:13] jottr: has joined #RubyOnRails
[11:12:47] jottr: has joined #RubyOnRails
[11:20:19] alfiemax: has joined #RubyOnRails
[11:22:45] hammer065: has joined #RubyOnRails
[11:23:11] jottr: has joined #RubyOnRails
[11:25:46] mikecmpbll: has joined #RubyOnRails
[11:28:50] Fernando-Basso: has joined #RubyOnRails
[11:38:42] jottr: has joined #RubyOnRails
[11:44:05] larissa: has joined #RubyOnRails
[11:50:10] jottr: has joined #RubyOnRails
[11:52:34] rikkipitt: has joined #RubyOnRails
[11:56:28] DTZUZO_: has joined #RubyOnRails
[11:59:28] TheMoonMaster: has joined #RubyOnRails
[11:59:48] dyyylan: has joined #RubyOnRails
[12:02:15] jottr: has joined #RubyOnRails
[12:08:55] srinidhi: has joined #RubyOnRails
[12:09:23] jottr: has joined #RubyOnRails
[12:15:44] jottr: has joined #RubyOnRails
[12:26:58] riotjones: has joined #RubyOnRails
[12:27:34] rikkipitt: has joined #RubyOnRails
[12:28:54] desperek: has joined #RubyOnRails
[12:30:58] jottr: has joined #RubyOnRails
[12:39:00] jottr: has joined #RubyOnRails
[12:49:30] jottr: has joined #RubyOnRails
[12:57:57] jottr: has joined #RubyOnRails
[12:58:24] AzaToth: has joined #RubyOnRails
[13:08:49] mjolnird: has joined #RubyOnRails
[13:13:44] jottr: has joined #RubyOnRails
[13:27:36] jottr: has joined #RubyOnRails
[13:30:08] Puffball: has joined #RubyOnRails
[13:36:56] jottr: has joined #RubyOnRails
[13:37:35] schneider: has joined #RubyOnRails
[13:52:48] jottr: has joined #RubyOnRails
[14:02:40] roshanavand: has joined #RubyOnRails
[14:04:19] jottr: has joined #RubyOnRails
[14:10:59] jottr: has joined #RubyOnRails
[14:23:35] jottr: has joined #RubyOnRails
[14:37:22] jottr: has joined #RubyOnRails
[14:49:10] jottr: has joined #RubyOnRails
[14:52:00] sidx64: has joined #RubyOnRails
[14:54:04] workmad3: has joined #RubyOnRails
[14:58:17] jottr: has joined #RubyOnRails
[15:02:19] pLaTo0n: has joined #RubyOnRails
[15:05:58] Dimik: has joined #RubyOnRails
[15:10:36] jottr: has joined #RubyOnRails
[15:22:12] jottr: has joined #RubyOnRails
[15:25:03] kapil___: has joined #RubyOnRails
[15:25:30] gravity_pope: has joined #RubyOnRails
[15:26:34] sidx64_: has joined #RubyOnRails
[15:27:03] Puffball: has joined #RubyOnRails
[15:35:53] jottr: has joined #RubyOnRails
[15:45:37] jottr: has joined #RubyOnRails
[15:47:54] gravity_pope: has joined #RubyOnRails
[15:51:49] lord4163: has joined #RubyOnRails
[15:53:53] jnollette: has joined #RubyOnRails
[15:59:08] KeyJoo: has joined #RubyOnRails
[16:00:54] jottr: has joined #RubyOnRails
[16:10:51] jottr: has joined #RubyOnRails
[16:14:50] mikecmpbll: has joined #RubyOnRails
[16:24:53] jottr: has joined #RubyOnRails
[16:30:52] jottr: has joined #RubyOnRails
[16:32:37] atrius: has joined #RubyOnRails
[16:40:57] orbyt_: has joined #RubyOnRails
[16:42:19] jottr: has joined #RubyOnRails
[16:50:59] jottr: has joined #RubyOnRails
[16:59:18] jottr: has joined #RubyOnRails
[17:05:31] jottr: has joined #RubyOnRails
[17:09:42] MrCrackPotBuilde: has joined #RubyOnRails
[17:10:00] alfiemax: has joined #RubyOnRails
[17:19:32] jottr: has joined #RubyOnRails
[17:22:44] kn-928: has joined #RubyOnRails
[17:31:31] jottr: has joined #RubyOnRails
[17:41:59] riotjones: has joined #RubyOnRails
[17:43:51] sameerynho: has joined #RubyOnRails
[17:46:52] jottr: has joined #RubyOnRails
[18:26:07] Tritex: has joined #RubyOnRails
[18:26:35] DrYockel: has joined #RubyOnRails
[18:30:03] MonicleLewinsky: has joined #RubyOnRails
[18:31:06] _aeris_: has joined #RubyOnRails
[18:33:53] durango: has joined #RubyOnRails
[18:42:04] duderonomy: has joined #RubyOnRails
[18:45:51] riotjones: has joined #RubyOnRails
[18:54:29] Puffball: has joined #RubyOnRails
[18:58:12] duderonomy: has joined #RubyOnRails
[19:03:13] alfiemax: has joined #RubyOnRails
[19:08:48] ule: Anyone here running Rails on FreeBSD?
[19:09:06] ule: Such a headache configuring this passenger on it
[19:09:40] ule: I'm almost giving up. I'm wondering if configuring my Nginx with Puma would be less painfull
[19:13:03] jottr: has joined #RubyOnRails
[19:14:15] riotjones: has joined #RubyOnRails
[19:22:40] armyriad: has joined #RubyOnRails
[19:23:33] riotjones: has joined #RubyOnRails
[19:31:03] ewilliam: hi, i'm dealing with weird dependent: destroy behavior. Scheme::Step is a polymorphic model that can be either Screen or Screen::Group. a Scheme can have many Scheme::Steps. however when i delete a Screen, the Scheme's Screen::Steps are still intact, and errors out because of a nonexistent Screen record.
[19:31:07] ewilliam: code: https://gist.github.com/ewilliam/b2f9b84e6f81d8e596bf750e2feaff46
[19:31:43] bga57: has joined #RubyOnRails
[19:31:53] ewilliam: i dont think `belongs_to :steppable, polymorphic: true, dependent: destroy` is a thing or is it?
[19:33:17] ewilliam: how can i ensure that when a Screen is deleted, all of its polymorphic instances are also deleted
[19:38:02] tdy: has joined #RubyOnRails
[19:42:01] sameerynho: has joined #RubyOnRails
[19:49:14] alfiemax: has joined #RubyOnRails
[19:50:08] rikkipitt: has joined #RubyOnRails
[19:54:49] ewilliam: `belongs_to :steppable, polymorphic: true, dependent: destroy` doesnt work
[19:54:53] ewilliam: help appreciated
[20:03:14] schneider: has joined #RubyOnRails
[20:06:57] alfiemax: has joined #RubyOnRails
[20:11:07] cschneid: has joined #RubyOnRails
[20:11:39] quazimodo: has joined #RubyOnRails
[20:19:49] sidx64: has joined #RubyOnRails
[20:24:13] alfiemax: has joined #RubyOnRails
[20:28:25] riotjones: has joined #RubyOnRails
[20:28:25] blackmesa: has joined #RubyOnRails
[20:36:38] cschneid: has joined #RubyOnRails
[20:37:35] alfiemax: has joined #RubyOnRails
[20:39:37] sidx64_: has joined #RubyOnRails
[20:43:00] morfin: has joined #RubyOnRails
[20:43:13] harrycs: has joined #RubyOnRails
[20:45:12] harryv: has joined #RubyOnRails
[20:52:03] blackmesa: has joined #RubyOnRails
[20:52:12] Radar: GOOD MORNING
[20:53:28] gravity_pope: has joined #RubyOnRails
[21:02:54] alfiemax: has joined #RubyOnRails
[21:04:55] kn-928: has joined #RubyOnRails
[21:22:32] duderonomy: has joined #RubyOnRails
[21:25:40] cagomez: has joined #RubyOnRails
[21:31:41] riotjones: has joined #RubyOnRails
[21:37:27] Mosselman: has joined #RubyOnRails
[21:37:40] alfiemax: has joined #RubyOnRails
[21:38:05] gravity_pope: has joined #RubyOnRails
[21:41:17] rikkipitt: has joined #RubyOnRails
[21:51:24] DTZUZO: has joined #RubyOnRails
[21:54:59] cagomez: has joined #RubyOnRails
[21:58:20] cagomez: has joined #RubyOnRails
[22:05:38] riotjones: has joined #RubyOnRails
[22:06:30] cagomez: has joined #RubyOnRails
[22:09:24] Mosselman: has joined #RubyOnRails
[22:13:23] cagomez: has joined #RubyOnRails
[22:17:33] cagomez: has joined #RubyOnRails
[22:31:47] ewilliam: can anyone help with my problem ^^^
[22:31:55] ewilliam: im willing to clarify if its not clear enough
[22:33:28] alfiemax: has joined #RubyOnRails
[22:43:42] orbyt_: has joined #RubyOnRails
[22:49:53] kn-928: has joined #RubyOnRails
[22:50:28] orbyt_: has joined #RubyOnRails
[22:52:27] cschneid: has joined #RubyOnRails
[22:53:06] Ropeney: has joined #RubyOnRails
[22:59:03] alfiemax: has joined #RubyOnRails
[23:06:18] Olipro_: has joined #RubyOnRails
[23:11:59] riotjones: has joined #RubyOnRails
[23:13:12] wethu: has joined #RubyOnRails
[23:22:58] cschneid: has joined #RubyOnRails
[23:24:57] alfiemax: has joined #RubyOnRails
[23:32:36] TheMoonMaster: has joined #RubyOnRails
[23:39:28] ewilliam: solved my problem. never mind about it
[23:39:48] ewilliam: Screen needed to know about its associations
[23:41:31] MonicleLewinsky: I'm having trouble require'ing a gem that I installed. I installed 'rest-client' and am trying to use it on a controller, but it keeps saying "cannot load such file -- rest-client".
[23:41:37] MonicleLewinsky: Any tips for troubleshooting?