« Back to channel list

#RubyOnRails - 29 April 2019

« Back 1 day Forward 1 day »
[00:00:48] Psy-Q: has joined #RubyOnRails
[00:06:54] skryking__: has joined #RubyOnRails
[00:12:27] Haydos: has joined #RubyOnRails
[00:12:35] jottr: has joined #RubyOnRails
[00:35:38] weird_error: has joined #RubyOnRails
[00:40:01] jottr: has joined #RubyOnRails
[00:46:14] mostlybadfly: has joined #RubyOnRails
[00:58:40] NeXTSUN: has joined #RubyOnRails
[01:00:58] jottr: has joined #RubyOnRails
[01:21:51] jottr: has joined #RubyOnRails
[01:42:50] jottr: has joined #RubyOnRails
[02:00:30] orbyt_: has joined #RubyOnRails
[02:18:01] jottr: has joined #RubyOnRails
[02:32:16] hnanon: has joined #RubyOnRails
[02:39:45] jottr: has joined #RubyOnRails
[03:00:39] jottr: has joined #RubyOnRails
[03:06:39] m_antis: has joined #RubyOnRails
[03:09:54] braincrash: has joined #RubyOnRails
[03:21:48] jelera: has joined #RubyOnRails
[03:24:44] s00pcan: has joined #RubyOnRails
[03:27:46] Saukk: has joined #RubyOnRails
[03:35:10] jottr: has joined #RubyOnRails
[04:01:56] arescorpio: has joined #RubyOnRails
[04:03:06] bambanx: has joined #RubyOnRails
[04:07:31] jottr: has joined #RubyOnRails
[04:12:53] ariedler: has joined #RubyOnRails
[04:28:26] jottr: has joined #RubyOnRails
[04:49:21] jottr: has joined #RubyOnRails
[05:10:54] xco: has joined #RubyOnRails
[05:11:54] kapil____: has joined #RubyOnRails
[05:13:42] Xiti`: has joined #RubyOnRails
[05:14:20] srinidhi: has joined #RubyOnRails
[05:16:40] bambanxx: has joined #RubyOnRails
[05:17:48] jottr: has joined #RubyOnRails
[05:22:37] conta: has joined #RubyOnRails
[05:27:37] orbyt_: has joined #RubyOnRails
[05:38:42] jottr: has joined #RubyOnRails
[05:59:37] jottr: has joined #RubyOnRails
[06:13:36] ariedler: has joined #RubyOnRails
[06:16:55] tdy1: has joined #RubyOnRails
[06:20:33] jottr: has joined #RubyOnRails
[06:31:29] Dbugger: has joined #RubyOnRails
[06:38:19] arooni: has joined #RubyOnRails
[06:48:59] jottr: has joined #RubyOnRails
[07:09:54] jottr: has joined #RubyOnRails
[07:14:55] Sylario: has joined #RubyOnRails
[07:21:35] prestorium: has joined #RubyOnRails
[07:29:31] jefffrails35: has joined #RubyOnRails
[07:38:52] jottr: has joined #RubyOnRails
[07:43:42] lxsameer: has joined #RubyOnRails
[07:58:35] Ergo: has joined #RubyOnRails
[07:59:46] jottr: has joined #RubyOnRails
[08:02:41] hightower2: has joined #RubyOnRails
[08:14:22] ariedler: has joined #RubyOnRails
[08:15:42] jottr: has joined #RubyOnRails
[08:44:25] srinidhi: has joined #RubyOnRails
[09:01:30] conta: has joined #RubyOnRails
[09:15:29] jefffrails35: has joined #RubyOnRails
[09:31:16] m_antis_: has joined #RubyOnRails
[09:35:53] jottr: has joined #RubyOnRails
[09:53:30] conta: has joined #RubyOnRails
[09:57:25] jottr: has joined #RubyOnRails
[10:15:16] ariedler: has joined #RubyOnRails
[10:19:45] jottr: has joined #RubyOnRails
[10:50:28] jottr: has joined #RubyOnRails
[10:55:07] ariedler: has joined #RubyOnRails
[10:58:59] jottr: has joined #RubyOnRails
[11:32:02] lankanmon: has joined #RubyOnRails
[11:38:30] ldnunes: has joined #RubyOnRails
[11:40:21] pd09041999: has joined #RubyOnRails
[11:45:48] jottr: has joined #RubyOnRails
[12:06:24] jottr: has joined #RubyOnRails
[12:09:33] Technodrome: has joined #RubyOnRails
[12:27:51] jottr: has joined #RubyOnRails
[12:33:54] srinidhi: has joined #RubyOnRails
[12:39:01] pd09041999: has joined #RubyOnRails
[12:48:39] jottr: has joined #RubyOnRails
[13:15:40] jottr: has joined #RubyOnRails
[13:36:33] jottr: has joined #RubyOnRails
[13:40:33] quazimodo: has joined #RubyOnRails
[13:41:40] jelera: has joined #RubyOnRails
[13:45:58] hnanon: has joined #RubyOnRails
[13:48:12] krawchyk: has joined #RubyOnRails
[13:57:32] jottr: has joined #RubyOnRails
[14:07:28] hnanon_: has joined #RubyOnRails
[14:10:39] uksio: has joined #RubyOnRails
[14:11:12] orbyt_: has joined #RubyOnRails
[14:28:37] conta: has joined #RubyOnRails
[14:32:06] Xiti: has joined #RubyOnRails
[14:42:21] hnanon: has joined #RubyOnRails
[14:46:59] jottr: has joined #RubyOnRails
[14:51:42] dionysus69: has joined #RubyOnRails
[14:58:12] dionysus69: has joined #RubyOnRails
[15:00:54] jelera: has joined #RubyOnRails
[15:10:59] dionysus70: has joined #RubyOnRails
[15:12:01] jottr: has joined #RubyOnRails
[15:32:53] jottr: has joined #RubyOnRails
[15:36:09] shansen: has joined #RubyOnRails
[15:37:46] pd09041999: has joined #RubyOnRails
[15:52:13] jelera: has joined #RubyOnRails
[15:53:42] conta: has joined #RubyOnRails
[15:57:47] duderonomy: has joined #RubyOnRails
[16:01:59] jottr: has joined #RubyOnRails
[16:02:59] Saukk: has joined #RubyOnRails
[16:08:19] jelera: has joined #RubyOnRails
[16:09:33] IanMalcolm: has joined #RubyOnRails
[16:22:53] jottr: has joined #RubyOnRails
[16:23:19] tdy1: has joined #RubyOnRails
[16:39:32] cschneid: has joined #RubyOnRails
[16:40:35] cschneid: Working with a mailer, but need to conditionally render a template. Basically it's: `if template_exists?(@mythingy.name); render specific_template; else render_default_template` -- is there a way to check if a template exists?
[16:42:15] blackmesa: has joined #RubyOnRails
[16:44:52] jelera: has joined #RubyOnRails
[16:45:31] jelera: has joined #RubyOnRails
[16:46:17] jelera: has joined #RubyOnRails
[16:47:01] jelera: has joined #RubyOnRails
[16:47:48] jelera: has joined #RubyOnRails
[16:49:38] agent_white: has joined #RubyOnRails
[16:57:17] Tempesta: has joined #RubyOnRails
[16:57:33] jefffrails35: has joined #RubyOnRails
[17:08:50] krawchyk: has joined #RubyOnRails
[17:17:13] duderonomy: has joined #RubyOnRails
[17:34:16] krawchyk: has joined #RubyOnRails
[17:54:04] ramfjord: has joined #RubyOnRails
[18:01:56] krawchyk: has joined #RubyOnRails
[18:04:50] IGnorAND: Does everyone run the db on their local pc when developping?
[18:25:03] sameerynho: has joined #RubyOnRails
[18:37:33] hnanon: has joined #RubyOnRails
[18:45:35] planigan: has joined #RubyOnRails
[19:11:14] defsdoor: has joined #RubyOnRails
[19:15:41] krawchyk: has joined #RubyOnRails
[19:25:44] hightower3: has joined #RubyOnRails
[19:41:12] violentE: has joined #RubyOnRails
[19:50:55] tdy1: has joined #RubyOnRails
[19:57:58] jottr: has joined #RubyOnRails
[20:06:38] eckhardt: has joined #RubyOnRails
[20:14:58] jottr: has joined #RubyOnRails
[20:30:33] Dbugger: has joined #RubyOnRails
[20:37:02] Technodrome: has joined #RubyOnRails
[20:41:23] jottr: has joined #RubyOnRails
[20:50:10] hahuang65: IGnorAND yeah. I used to just run it directly on the dev machine, but now I run it thru docker on the dev machine.
[20:50:38] IGnorAND: hahuang65: so no db on your pc, just on the docker?
[20:51:20] hahuang65: IGnorAND well, I'll usually still have the dev libraries installed for the database, because whatever db adapter usually needs those to compile, but the running database would just be in docker.
[20:51:49] hahuang65: pretty much, I set up a `docker-compose.yml` file for each of my projects, and have ALL the external dependencies live in there, like db, redis, elasticsearch, nginx, whatever.
[20:51:58] hahuang65: that way I can start everything up at once with `docker-compose up`.
[20:52:10] IGnorAND: does docker run on your pc?
[20:52:31] IGnorAND: or is that a vm that runs docker?
[20:52:50] hahuang65: docker just runs on my local machine
[20:55:09] hahuang65: cschneid i think template_exists? is an existing method...https://api.rubyonrails.org/classes/ActionView/LookupContext/ViewPaths.html#method-i-template_exists-3F
[20:58:21] cschneid: @hahuang65 cool - I ended up just doing a rescue if the template wasn't found, which is ... /shrug.
[20:58:47] hahuang65: why not use `template_exists?`
[21:01:25] Fernando-Basso: has joined #RubyOnRails
[21:10:16] ur5us: has joined #RubyOnRails
[21:12:08] lupine: has joined #RubyOnRails
[21:15:16] jelera: has joined #RubyOnRails
[21:19:42] jottr: has joined #RubyOnRails
[21:23:47] elcontrastador: has joined #RubyOnRails
[21:24:17] lupine: has joined #RubyOnRails
[21:48:38] jottr: has joined #RubyOnRails
[22:03:32] cschneid: hahuang65: because I didn't know it existed, then finished. I may go back and fix it now. Any idea on how to grab the lookup context from the mailer?
[22:05:45] hahuang65: cschneid i think you can just straight call `template_exists?`, but you should try it and see
[22:09:33] jottr: has joined #RubyOnRails
[22:32:08] cschneid: @hahuang65 update - calling it directly works, have to give it the full name of the template - if template_exists?("my_mailer/#{@name.downcase}.text.erb")
[22:32:13] cschneid: thanks for finding that for me :)
[22:33:38] jelera: has joined #RubyOnRails
[22:42:04] tdy1: has joined #RubyOnRails
[22:46:23] ur5us: has joined #RubyOnRails
[22:47:33] brool: has joined #RubyOnRails
[22:59:26] eckhardt: has joined #RubyOnRails
[23:00:13] eckhardt: has joined #RubyOnRails
[23:01:13] eckhardt: has joined #RubyOnRails
[23:02:03] eckhardt: has joined #RubyOnRails
[23:02:14] jelera: has joined #RubyOnRails
[23:03:35] eckhardt: has joined #RubyOnRails
[23:15:25] jottr: has joined #RubyOnRails
[23:23:55] uks: has joined #RubyOnRails
[23:37:12] Haydos: has joined #RubyOnRails
[23:39:28] krawchyk: has joined #RubyOnRails
[23:53:57] NeXTSUN: has joined #RubyOnRails