« Back to channel list

#RubyOnRails - 22 May 2019

« Back 1 day Forward 1 day »
[00:06:53] tf2ftw: has joined #RubyOnRails
[00:10:39] skryking: has joined #RubyOnRails
[00:10:40] gambl0re: has joined #RubyOnRails
[00:22:58] s00pcan: has joined #RubyOnRails
[00:26:33] octos: has joined #RubyOnRails
[00:29:30] CodeHex: has joined #RubyOnRails
[01:28:47] bambanx: has joined #RubyOnRails
[01:37:39] tdy: has joined #RubyOnRails
[01:49:29] w0rd-driven: has joined #RubyOnRails
[02:03:29] tf2ftw: has joined #RubyOnRails
[02:06:01] duderonomy: has joined #RubyOnRails
[02:21:45] haxx0r: has joined #RubyOnRails
[02:22:59] haxx0r: i'm calling `Haml::Engine.new(haml.template).render` but no rails helper available in there. how to access them?
[02:30:41] haxx0r: alternative: how can i render a 'template" that is coming out of the database? it seems that `actionview.render` and all the other render methods require a template on filesystem
[02:36:00] Dr_MDMA_MD: why haml in the first place
[02:36:15] Dr_MDMA_MD: why sass/less in the first place
[02:36:57] Dr_MDMA_MD: you have to deal with a new, different and unnecessary format as opposed to regular html/erb
[02:37:21] Dr_MDMA_MD: you have to add a ton of dependencies to your app's stack, increasing its likelihood of breaking later on
[02:37:42] weaksauce: why rails in the first place
[02:37:50] Dr_MDMA_MD: imho its complete and utter nonsense. for what, just because you're too lazy to write html tags?
[02:51:08] sevenseacat: has joined #RubyOnRails
[03:02:47] Dr_MDMA_MD: sevenseacat :)
[03:11:01] braincrash: has joined #RubyOnRails
[03:17:56] gambl0re: has joined #RubyOnRails
[03:38:00] Axsuul: What should I name a variable that goes with "start_from"? I have "end_before" or "end_until"
[03:45:25] haxx0r: Dr_MDMA_MD well i do it now with ERB and it works. but writing erb templates is nasty compared to HAML or SLIM :P
[03:46:17] haxx0r: but now i need find a solid editor for ERB templates. mmmh
[04:24:32] regedit_: has joined #RubyOnRails
[04:27:01] s00pcan: has joined #RubyOnRails
[04:32:46] s00pcan_: has joined #RubyOnRails
[04:41:44] kapilp: has joined #RubyOnRails
[04:48:36] blackmesa1: has joined #RubyOnRails
[05:04:55] hd1: has joined #RubyOnRails
[05:26:25] conta: has joined #RubyOnRails
[05:27:27] blackmesa1: has joined #RubyOnRails
[05:33:37] ziyadb: has joined #RubyOnRails
[05:33:45] Nuck: has joined #RubyOnRails
[05:33:48] Fenhl: has joined #RubyOnRails
[05:34:03] Liothen: has joined #RubyOnRails
[05:35:12] ppl: has joined #RubyOnRails
[05:41:44] schneider: has joined #RubyOnRails
[05:46:58] srinidhi: has joined #RubyOnRails
[06:02:01] conta: has joined #RubyOnRails
[06:13:57] jefffrails35: has joined #RubyOnRails
[07:03:51] lxsameer: has joined #RubyOnRails
[07:13:41] blackmesa1: has joined #RubyOnRails
[07:17:41] Dbugger: has joined #RubyOnRails
[07:29:02] schne1der: has joined #RubyOnRails
[07:31:52] deepreds1: has joined #RubyOnRails
[07:40:00] mikecmpbll: has joined #RubyOnRails
[07:49:23] kapilp: has joined #RubyOnRails
[08:03:31] ovnimancer: has joined #RubyOnRails
[08:12:41] weird_error: has joined #RubyOnRails
[08:31:11] xco: has joined #RubyOnRails
[08:43:52] srinidhi: has joined #RubyOnRails
[09:00:19] pokalyis: has joined #RubyOnRails
[09:10:49] DylanJ: has joined #RubyOnRails
[09:12:02] DTZUZO_: has joined #RubyOnRails
[09:20:57] tdy: has joined #RubyOnRails
[09:32:09] arup_r: has joined #RubyOnRails
[09:56:48] blackmesa1: has joined #RubyOnRails
[10:21:13] mikecmpb_: has joined #RubyOnRails
[10:25:02] lunarkitty7: has joined #RubyOnRails
[10:38:25] mikecmpbll: has joined #RubyOnRails
[10:43:52] apparition: has joined #RubyOnRails
[10:47:16] haxx0r: has joined #RubyOnRails
[10:54:26] lankanmon: has joined #RubyOnRails
[11:10:25] Ergo: has joined #RubyOnRails
[11:13:25] gregf_: has joined #RubyOnRails
[11:20:24] tf2ftw: has joined #RubyOnRails
[11:23:09] blackmesa1: has joined #RubyOnRails
[11:25:18] tdy: has joined #RubyOnRails
[11:25:38] GodFather: has joined #RubyOnRails
[11:26:29] za1b1tsu: has joined #RubyOnRails
[11:28:49] yottanami: has joined #RubyOnRails
[11:29:56] yottanami: How can I use `Rails::Generators.invoke ..., :behavior => :revoke` for destroying a generator of a Gem?
[11:38:45] blackmesa1: has joined #RubyOnRails
[11:44:10] yottanami: Something like this: ` Rails::Generators.invoke 'devise:install', :behavior => :revoke`
[12:19:09] conta: has joined #RubyOnRails
[12:23:29] Technodrome: has joined #RubyOnRails
[12:59:48] octos: has joined #RubyOnRails
[13:09:08] octos: has joined #RubyOnRails
[13:12:50] Dr_MDMA_MD: has joined #RubyOnRails
[13:23:17] ziyadb: General architecture question, I have a "post" model with uuids as their primary key, and it doesn't exactly play nice with the polymorphic models it's associated with. i.e. commentable, eventable, and action_text_rich_texts, what's the best practice in this case?
[13:24:27] ziyadb: I'm leaning towards simply no longer using uuids for the post model, because it's creating more trouble than it's worth.
[13:31:55] srinidhi: has joined #RubyOnRails
[13:47:06] hightower2: has joined #RubyOnRails
[13:51:59] Sylario: has joined #RubyOnRails
[14:09:19] brool: has joined #RubyOnRails
[14:20:29] schne1der: has joined #RubyOnRails
[14:26:17] uks: has joined #RubyOnRails
[14:34:58] ziyadb: thoughts on the above, gentlemen?
[14:46:37] conta: has joined #RubyOnRails
[15:25:00] DylanJ: has joined #RubyOnRails
[15:26:44] Saukk: has joined #RubyOnRails
[15:38:08] blackmesa1: has joined #RubyOnRails
[16:14:25] tdy: has joined #RubyOnRails
[16:19:56] conta: has joined #RubyOnRails
[16:42:39] sameerynho: has joined #RubyOnRails
[16:51:41] brool: has joined #RubyOnRails
[16:52:45] duderonomy: has joined #RubyOnRails
[16:55:35] srinidhi: has joined #RubyOnRails
[17:02:26] conta: has joined #RubyOnRails
[17:06:08] blackmesa: has joined #RubyOnRails
[17:17:34] beholders_eye: has joined #RubyOnRails
[17:30:18] ravenous_: has joined #RubyOnRails
[17:32:13] ravenous_: has joined #RubyOnRails
[17:38:43] tubbo: has joined #RubyOnRails
[17:42:59] blackmesa: has joined #RubyOnRails
[17:58:37] mikecmpbll: has joined #RubyOnRails
[18:37:58] Saukk: has joined #RubyOnRails
[18:41:29] weaksauce: axsuul end_at paired with start_at?
[18:42:20] weaksauce: the old saying goes there are 2 hard things in computer science: cache invalidation, naming things and off by one errors
[18:52:59] Technodrome: has joined #RubyOnRails
[18:56:11] ellcs: has joined #RubyOnRails
[19:02:02] ravenous_: has joined #RubyOnRails
[19:04:48] Kilo`byte: has joined #RubyOnRails
[19:10:19] hd1: has joined #RubyOnRails
[19:11:01] ziyadb: weaksauce: ^
[19:11:50] weaksauce: what's causing you trouble with uuids?
[19:14:28] ziyadb: weaksauce: the polymorphic association expects an integer type for the commentable type (post), which is a uuid, so it's not playing nice
[19:23:38] weaksauce: i guess you could keep the uuid as a backup and use an int as the primary key if it's causing you issue
[19:24:15] FLeiXiuS: has joined #RubyOnRails
[19:25:43] ziyadb: fair enough...
[19:39:55] happyhans: has joined #RubyOnRails
[19:41:35] brool: has joined #RubyOnRails
[19:48:20] defsdoor: has joined #RubyOnRails
[20:21:13] octos: has joined #RubyOnRails
[20:32:53] octos: has joined #RubyOnRails
[21:05:26] Exuma: has joined #RubyOnRails
[21:11:08] octos: has joined #RubyOnRails
[21:13:43] octos: has joined #RubyOnRails
[21:16:12] octos: has joined #RubyOnRails
[21:22:41] mlt-: has joined #RubyOnRails
[21:27:06] Tempesta: has joined #RubyOnRails
[21:37:26] Cache_Money: has joined #RubyOnRails
[21:39:01] octos: has joined #RubyOnRails
[21:52:31] Cache_Money: has joined #RubyOnRails
[21:56:54] Cache_Money: has left #RubyOnRails: ()
[21:58:15] Fernando-Basso: has joined #RubyOnRails
[21:59:34] octos: has joined #RubyOnRails
[22:27:47] MrCrackPotBuilde: has joined #RubyOnRails
[22:40:35] beholders_eye: has joined #RubyOnRails
[22:51:00] xco: has joined #RubyOnRails
[22:53:42] skryking: has joined #RubyOnRails
[22:59:24] Xiti: has joined #RubyOnRails
[23:12:46] weird_error: has joined #RubyOnRails
[23:21:07] weird_error: has joined #RubyOnRails
[23:24:13] uksio: has joined #RubyOnRails