« Back to channel list

#RubyOnRails - 29 April 2018

« Back 1 day Forward 1 day »
[00:00:44] uks: has joined #RubyOnRails
[00:04:38] jnollette: has joined #RubyOnRails
[00:05:15] schneider: has joined #RubyOnRails
[00:08:00] DTZUZO: has joined #RubyOnRails
[00:10:06] rfoust: has joined #RubyOnRails
[00:14:33] schneider: has joined #RubyOnRails
[00:15:19] alfiemax: has joined #RubyOnRails
[00:17:09] Technodrome: has joined #RubyOnRails
[00:23:50] schneider: has joined #RubyOnRails
[00:28:23] alfiemax: has joined #RubyOnRails
[00:28:35] Linuus`: has joined #RubyOnRails
[00:33:09] schneider: has joined #RubyOnRails
[00:42:28] schneider: has joined #RubyOnRails
[00:42:43] darkhanb_: has joined #RubyOnRails
[00:49:03] orbyt_: has joined #RubyOnRails
[00:51:45] schneider: has joined #RubyOnRails
[01:01:00] schneider: has joined #RubyOnRails
[01:02:13] mroutis: has joined #RubyOnRails
[01:10:20] schneider: has joined #RubyOnRails
[01:12:21] Linuus`: has joined #RubyOnRails
[01:19:37] schneider: has joined #RubyOnRails
[01:29:02] schneider: has joined #RubyOnRails
[01:30:52] alfiemax: has joined #RubyOnRails
[01:38:15] schneider: has joined #RubyOnRails
[01:47:34] schneider: has joined #RubyOnRails
[01:50:59] sevenseacat: has joined #RubyOnRails
[01:56:51] schneider: has joined #RubyOnRails
[02:05:16] schneider: has joined #RubyOnRails
[02:10:36] schneider: has joined #RubyOnRails
[02:11:20] tdy: has joined #RubyOnRails
[02:19:59] schneider: has joined #RubyOnRails
[02:23:42] Linuus`: has joined #RubyOnRails
[02:29:14] schneider: has joined #RubyOnRails
[02:38:34] schneider: has joined #RubyOnRails
[02:47:51] schneider: has joined #RubyOnRails
[02:57:13] schneider: has joined #RubyOnRails
[02:58:51] Linuus`: has joined #RubyOnRails
[03:06:26] schneider: has joined #RubyOnRails
[03:15:47] schneider: has joined #RubyOnRails
[03:25:07] schneider: has joined #RubyOnRails
[03:34:28] schneider: has joined #RubyOnRails
[03:34:59] Linuus`: has joined #RubyOnRails
[03:36:23] alfiemax: has joined #RubyOnRails
[03:43:43] schneider: has joined #RubyOnRails
[03:52:58] schneider: has joined #RubyOnRails
[03:58:16] beilabs_: has joined #RubyOnRails
[04:02:21] schneider: has joined #RubyOnRails
[04:11:36] schneider: has joined #RubyOnRails
[04:20:54] schneider: has joined #RubyOnRails
[04:27:55] Technodrome: has joined #RubyOnRails
[04:30:14] schneider: has joined #RubyOnRails
[04:39:28] schneider: has joined #RubyOnRails
[04:48:48] schneider: has joined #RubyOnRails
[04:51:06] Linuus`: has joined #RubyOnRails
[04:51:50] Saukk: has joined #RubyOnRails
[04:58:06] schneider: has joined #RubyOnRails
[05:07:25] schneider: has joined #RubyOnRails
[05:16:45] schneider: has joined #RubyOnRails
[05:19:00] KeyJoo: has joined #RubyOnRails
[05:19:56] KeyJoo: has joined #RubyOnRails
[05:26:00] schneider: has joined #RubyOnRails
[05:35:14] Linuus`: has joined #RubyOnRails
[05:35:17] schneider: has joined #RubyOnRails
[05:44:34] schneider: has joined #RubyOnRails
[05:50:07] vovs03: has joined #RubyOnRails
[05:50:22] Technodrome: has joined #RubyOnRails
[05:53:59] schneider: has joined #RubyOnRails
[06:01:14] emers2n: has joined #RubyOnRails
[06:03:13] schneider: has joined #RubyOnRails
[06:12:31] schneider: has joined #RubyOnRails
[06:21:52] schneider: has joined #RubyOnRails
[06:28:21] srruby: has joined #RubyOnRails
[06:28:34] reber: has joined #RubyOnRails
[06:31:07] schneider: has joined #RubyOnRails
[06:33:52] dedeqtor: has joined #RubyOnRails
[06:40:24] schneider: has joined #RubyOnRails
[06:49:18] Linuus`: has joined #RubyOnRails
[06:49:45] schneider: has joined #RubyOnRails
[06:58:58] schneider: has joined #RubyOnRails
[07:08:17] schneider: has joined #RubyOnRails
[07:17:36] schneider: has joined #RubyOnRails
[07:26:55] Linuus`: has joined #RubyOnRails
[07:26:58] schneider: has joined #RubyOnRails
[07:30:51] conta: has joined #RubyOnRails
[07:36:15] schneider: has joined #RubyOnRails
[07:45:29] schneider: has joined #RubyOnRails
[07:55:07] schneider: has joined #RubyOnRails
[07:56:51] nickenchuggets: has joined #RubyOnRails
[08:00:05] marr: has joined #RubyOnRails
[08:00:40] Linuus`: has joined #RubyOnRails
[08:04:14] schneider: has joined #RubyOnRails
[08:04:16] Ropeney: has joined #RubyOnRails
[08:13:48] schneider: has joined #RubyOnRails
[08:23:04] schneider: has joined #RubyOnRails
[08:28:54] Technodrome: has joined #RubyOnRails
[08:32:26] schneider: has joined #RubyOnRails
[08:36:57] Linuus`: has joined #RubyOnRails
[08:41:40] schneider: has joined #RubyOnRails
[08:51:03] schneider: has joined #RubyOnRails
[08:52:41] beilabs: has joined #RubyOnRails
[08:58:30] ur5us: has joined #RubyOnRails
[09:00:20] schneider: has joined #RubyOnRails
[09:08:58] defsdoor: has joined #RubyOnRails
[09:09:39] schneider: has joined #RubyOnRails
[09:18:57] schneider: has joined #RubyOnRails
[09:20:34] Linuus`: has joined #RubyOnRails
[09:27:19] kapil___: has joined #RubyOnRails
[09:27:21] sameerynho: has joined #RubyOnRails
[09:28:14] schneider: has joined #RubyOnRails
[09:49:31] DTZUZO: has joined #RubyOnRails
[09:51:09] beilabs: has joined #RubyOnRails
[09:57:12] roshanavand: has joined #RubyOnRails
[09:58:59] Linuus`: has joined #RubyOnRails
[10:18:12] Fernando-Basso: has joined #RubyOnRails
[10:22:12] roshanavand: has joined #RubyOnRails
[10:32:39] ferr: has left #RubyOnRails: ("WeeChat 2.1")
[10:38:17] Technodrome: has joined #RubyOnRails
[10:39:40] jnollette: has joined #RubyOnRails
[10:43:35] acovrig: has joined #RubyOnRails
[10:43:50] Linuus`: has joined #RubyOnRails
[10:45:31] acovrig: I’m working on a photo management system, Pic has_many Tag through PicTag; to display the tags I have a tag.pics.last.fname, which works fine, but it makes page loads take ~2s given it has N(tags)+1 queries to run to dispaly that, how would I change my queries to be faster?
[10:46:31] Radar: acovrig: show us the query output for the page please.
[10:51:03] acovrig: Radar: https://gist.github.com/acovrig/f1432d220ee6d7bcbfd3e9121233dd4c
[10:51:46] acovrig: I’m thinking something with includes but not sure what
[10:54:10] acovrig: or like a join where I somehow get the last pic in association with each tag
[10:58:37] Radar: pic load time seems large
[10:59:07] Radar: Could probably shorten it by doing @tags = Tag.includes(:pics).order(name: :asc)
[10:59:39] Radar: acovrig: double check pics table to make sure tag_id field is indexed.
[10:59:55] roshanavand: has joined #RubyOnRails
[11:02:32] ferr: has joined #RubyOnRails
[11:03:33] acovrig: if I do an includes, can I specify which columns I want (for the large select in (id array))?
[11:04:57] ferr: has left #RubyOnRails: ()
[11:05:38] acovrig: just adding a .select(:id, :fname) to the Pic.where() elsewhere in my controller went from 17ms -> 3ms so I’m guessing if I did the same on an includes(:pics) then it’d greatly help too
[11:14:17] Technodrome: has joined #RubyOnRails
[11:19:30] cschneid_: has joined #RubyOnRails
[11:35:26] cstls: has joined #RubyOnRails
[11:46:13] beilabs_: has joined #RubyOnRails
[11:57:29] roshanavand: has joined #RubyOnRails
[12:52:39] GodFather_: has joined #RubyOnRails
[13:26:53] vovs03: has joined #RubyOnRails
[13:35:26] ferr: has joined #RubyOnRails
[14:07:17] cschneid_: has joined #RubyOnRails
[14:28:50] Dimik: has joined #RubyOnRails
[14:32:04] kurko_: has joined #RubyOnRails
[15:19:16] prahal: has joined #RubyOnRails
[15:25:02] ellcs: has joined #RubyOnRails
[15:34:41] noonipoony: has joined #RubyOnRails
[15:35:21] Puffball: has joined #RubyOnRails
[15:42:40] roshanavand: has joined #RubyOnRails
[16:06:30] intuxicated: has joined #RubyOnRails
[16:08:22] oded: has joined #RubyOnRails
[16:09:01] oded: How do I use .coffee.erb with webpacker? I have installed both coffee & erb loader, and I added .coffee.erb to the extensions list in webpacker.yml
[16:10:17] oded: The last part was an attempt on my side, didn't work...
[16:13:43] cschneid_: has joined #RubyOnRails
[17:16:35] orbyt_: has joined #RubyOnRails
[17:40:17] Technodrome: has joined #RubyOnRails
[17:48:08] eckhardt: has joined #RubyOnRails
[17:48:11] sagax: has joined #RubyOnRails
[17:49:28] alfiemax: has joined #RubyOnRails
[17:52:26] dionysus69: has joined #RubyOnRails
[18:02:43] ellcs: has joined #RubyOnRails
[18:11:32] mroutis: has joined #RubyOnRails
[18:18:48] kurko_: has joined #RubyOnRails
[18:22:53] beilabs: has joined #RubyOnRails
[18:23:53] beilabs: has joined #RubyOnRails
[18:46:43] orbyt_: has joined #RubyOnRails
[18:52:34] cstls: has joined #RubyOnRails
[19:02:11] reber: has joined #RubyOnRails
[19:19:36] roshanavand: has joined #RubyOnRails
[19:24:36] jnollette: has joined #RubyOnRails
[19:25:03] _aeris_: has joined #RubyOnRails
[19:43:37] reber__: has joined #RubyOnRails
[19:45:48] reber: has joined #RubyOnRails
[20:02:24] big_reggie: has joined #RubyOnRails
[20:02:41] big_reggie: anyone use Devise and know why the RESTful routes are not on a per-user basis?
[20:03:03] big_reggie: for example, /users/password/edit instead of /users/1/password/edit
[20:07:14] weaksauce: has joined #RubyOnRails
[20:13:29] kurko__: has joined #RubyOnRails
[20:14:26] alfiemax: has joined #RubyOnRails
[20:51:07] rfoust: has joined #RubyOnRails
[20:54:28] ur5us: has joined #RubyOnRails
[21:00:30] beilabs: has joined #RubyOnRails
[21:11:17] roshanavand: has joined #RubyOnRails
[22:13:44] mrbubbles: has joined #RubyOnRails
[22:21:56] mroutis: has joined #RubyOnRails
[22:41:28] cschneid_: has joined #RubyOnRails
[22:47:36] fschuindt: has joined #RubyOnRails
[22:58:27] cschneid_: has joined #RubyOnRails
[23:05:43] alfiemax: has joined #RubyOnRails
[23:17:24] mroutis: has joined #RubyOnRails
[23:18:09] prahal: has joined #RubyOnRails
[23:23:02] MoskitoHero: has joined #RubyOnRails
[23:24:44] t0adst00l: has joined #RubyOnRails
[23:24:45] lopex: has joined #RubyOnRails
[23:25:06] lopex: has left #RubyOnRails: ()
[23:36:03] dviola: has joined #RubyOnRails
[23:46:03] cschneid_: has joined #RubyOnRails
[23:49:09] orbyt_: has joined #RubyOnRails
[23:51:58] t0adst00l: has joined #RubyOnRails
[23:59:20] uksio: has joined #RubyOnRails
[23:59:55] fschuindt: Hi there, folks. I'm dealing with a "column "date" is of type date but expression is of type integer" postgres error here: https://gist.github.com/fschuindt/a1e531cc982fc5ba6c4de30ab5d36e70 The field is a date type. What integer it's talking about? Any clue? Thanks.