« Back to channel list

#RubyOnRails - 08 May 2019

« Back 1 day Forward 1 day »
[00:03:27] pd09041999: has joined #RubyOnRails
[00:05:35] jottr: has joined #RubyOnRails
[00:09:00] zacts: has joined #RubyOnRails
[00:15:48] jottr: has joined #RubyOnRails
[00:22:20] OneNeptune: has joined #RubyOnRails
[00:23:52] FrankD: has joined #RubyOnRails
[00:25:32] FrankD: Hi -- if I have two scaffolds generated for say Triggers and Events.. and I want an interface like GenerateEmails, which grabs Triggers and Events in a certain time range.. would it be appropriate to just create another controller and then use something like render partial inside GenerateEmails?
[00:26:01] jottr: has joined #RubyOnRails
[00:27:55] FrankD: playing with Rails 5.2
[00:36:14] jottr: has joined #RubyOnRails
[00:37:17] haengma: has joined #RubyOnRails
[00:46:31] jottr: has joined #RubyOnRails
[00:51:12] jpstudioweb: has joined #RubyOnRails
[00:56:42] jottr: has joined #RubyOnRails
[01:05:00] cnsvc: has joined #RubyOnRails
[01:06:52] jottr: has joined #RubyOnRails
[01:08:56] quazimodo: has joined #RubyOnRails
[01:10:58] OneNeptune: has joined #RubyOnRails
[01:17:06] jottr: has joined #RubyOnRails
[01:27:22] jottr: has joined #RubyOnRails
[01:33:14] Technodrome: has joined #RubyOnRails
[01:33:24] sevenseacat: has joined #RubyOnRails
[01:37:30] jottr: has joined #RubyOnRails
[01:40:43] ariedler: has joined #RubyOnRails
[01:43:46] haengma: has joined #RubyOnRails
[01:50:31] Tempesta: has joined #RubyOnRails
[01:53:49] jottr: has joined #RubyOnRails
[01:56:18] ariedler: has joined #RubyOnRails
[02:02:10] kateskips: has joined #RubyOnRails
[02:04:03] jottr: has joined #RubyOnRails
[02:14:14] jottr: has joined #RubyOnRails
[02:22:48] cnsvc: has joined #RubyOnRails
[02:23:22] jobewan: has joined #RubyOnRails
[02:24:28] jottr: has joined #RubyOnRails
[02:25:00] tdy: has joined #RubyOnRails
[02:34:40] jottr: has joined #RubyOnRails
[02:36:55] gambl0r3: has joined #RubyOnRails
[02:44:52] jottr: has joined #RubyOnRails
[02:53:01] OneNeptune: has joined #RubyOnRails
[02:55:06] jottr: has joined #RubyOnRails
[02:58:54] brool: has joined #RubyOnRails
[03:05:19] jottr: has joined #RubyOnRails
[03:09:01] pd09041999: has joined #RubyOnRails
[03:10:44] braincrash: has joined #RubyOnRails
[03:15:32] jottr: has joined #RubyOnRails
[03:18:31] webdestroya: has joined #RubyOnRails
[03:25:44] jottr: has joined #RubyOnRails
[03:30:42] Saukk: has joined #RubyOnRails
[03:35:42] zacts: has joined #RubyOnRails
[03:35:58] jottr: has joined #RubyOnRails
[03:42:32] tdy: has joined #RubyOnRails
[03:46:11] jottr: has joined #RubyOnRails
[03:55:45] pd09041999: has joined #RubyOnRails
[03:56:22] jottr: has joined #RubyOnRails
[03:56:34] ariedler: has joined #RubyOnRails
[04:06:36] jottr: has joined #RubyOnRails
[04:10:00] srinidhi: has joined #RubyOnRails
[04:16:49] jottr: has joined #RubyOnRails
[04:27:02] jottr: has joined #RubyOnRails
[04:37:13] jottr: has joined #RubyOnRails
[04:46:13] _aeris_: has joined #RubyOnRails
[04:47:26] jottr: has joined #RubyOnRails
[04:54:05] old_relik: has joined #RubyOnRails
[04:54:22] old_relik: I have some simple date time comparison utility method
[04:54:29] old_relik: where should it go?
[04:54:42] old_relik: it's used in service objects and sidekiq jobs
[04:57:39] jottr: has joined #RubyOnRails
[04:59:31] duderonomy: has joined #RubyOnRails
[05:03:06] srinidhi: has joined #RubyOnRails
[05:06:56] za1b1tsu: has joined #RubyOnRails
[05:07:51] jottr: has joined #RubyOnRails
[05:22:49] jottr: has joined #RubyOnRails
[05:27:34] haengma: has joined #RubyOnRails
[05:33:00] jottr: has joined #RubyOnRails
[05:43:11] jottr: has joined #RubyOnRails
[05:43:58] tdy: has joined #RubyOnRails
[05:53:24] jottr: has joined #RubyOnRails
[05:53:27] kapil____: has joined #RubyOnRails
[06:01:12] MrCrackPotBuilde: has joined #RubyOnRails
[06:03:36] jottr: has joined #RubyOnRails
[06:13:50] jottr: has joined #RubyOnRails
[06:24:03] jottr: has joined #RubyOnRails
[06:28:17] defsdoor: has joined #RubyOnRails
[06:34:16] jottr: has joined #RubyOnRails
[06:39:59] tdy: has joined #RubyOnRails
[06:44:29] jottr: has joined #RubyOnRails
[06:54:40] jottr: has joined #RubyOnRails
[07:04:53] jottr: has joined #RubyOnRails
[07:20:51] jottr: has joined #RubyOnRails
[07:29:52] mikecmpbll: has joined #RubyOnRails
[07:31:04] jottr: has joined #RubyOnRails
[07:36:52] Dbugger: has joined #RubyOnRails
[07:37:06] Ergo: has joined #RubyOnRails
[07:41:15] jottr: has joined #RubyOnRails
[07:47:03] jefffrails35: has joined #RubyOnRails
[07:57:58] jottr: has joined #RubyOnRails
[07:58:22] ariedler: has joined #RubyOnRails
[08:00:27] haengma: has joined #RubyOnRails
[08:05:25] lxsameer: has joined #RubyOnRails
[08:08:09] jottr: has joined #RubyOnRails
[08:15:41] jottr: has joined #RubyOnRails
[08:25:55] tdy: has joined #RubyOnRails
[09:12:25] ur5us: has joined #RubyOnRails
[09:21:14] srinidhi: has joined #RubyOnRails
[09:25:09] jottr: has joined #RubyOnRails
[09:29:20] pd09041999: has joined #RubyOnRails
[09:29:53] zacts: has joined #RubyOnRails
[09:32:58] jpstudioweb: has joined #RubyOnRails
[09:35:20] jpstudioweb: What are the best rubyonrails groups in the usa?
[09:35:21] jottr: has joined #RubyOnRails
[09:45:35] jottr: has joined #RubyOnRails
[09:47:23] pd09041999: has joined #RubyOnRails
[09:55:06] uks: has joined #RubyOnRails
[09:55:49] jottr: has joined #RubyOnRails
[09:59:18] ariedler: has joined #RubyOnRails
[10:06:00] jottr: has joined #RubyOnRails
[10:16:15] jottr: has joined #RubyOnRails
[10:21:14] DTZUZO: has joined #RubyOnRails
[10:25:22] Ergo: has joined #RubyOnRails
[10:26:28] jottr: has joined #RubyOnRails
[10:36:39] jottr: has joined #RubyOnRails
[10:43:15] apparition: has joined #RubyOnRails
[10:43:18] GodFather: has joined #RubyOnRails
[10:51:34] lankanmon: has joined #RubyOnRails
[10:53:01] jottr: has joined #RubyOnRails
[10:53:57] pd09041999: has joined #RubyOnRails
[10:55:07] ariedler: has joined #RubyOnRails
[11:03:12] jottr: has joined #RubyOnRails
[11:13:25] jottr: has joined #RubyOnRails
[11:23:37] jottr: has joined #RubyOnRails
[11:33:50] jottr: has joined #RubyOnRails
[11:41:51] ss942: has joined #RubyOnRails
[11:44:04] jottr: has joined #RubyOnRails
[11:48:29] ss942: Hello, I'm writing helper, which task is to render label + input for multiple "custom fields" based on it's "custom field type"
[11:48:29] ss942: The only problem I have is with that "I can't imagine that there's impossible to do it in Rails that way"
[11:48:29] ss942: I'm looking for a way to write string in a way that html.erb files are (somthing like: x="<%= label ... %>".to_erb_html)
[11:48:29] ss942: Does Rails or any of it's gems have a way to do it like that?
[11:51:53] tbuehlmann: ss942: you can use view helpers in helper methods, just call the methods directly
[11:52:44] tbuehlmann: if things get too complicated you can use a partial instead
[11:54:21] jottr: has joined #RubyOnRails
[12:01:13] haengma: has joined #RubyOnRails
[12:04:28] jottr: has joined #RubyOnRails
[12:05:35] Technodrome: has joined #RubyOnRails
[12:09:23] zacts: has joined #RubyOnRails
[12:14:41] jottr: has joined #RubyOnRails
[12:24:55] jottr: has joined #RubyOnRails
[12:27:46] haengma: has joined #RubyOnRails
[12:35:07] jottr: has joined #RubyOnRails
[12:42:57] maryo: has joined #RubyOnRails
[12:45:21] jottr: has joined #RubyOnRails
[12:51:46] maryo: has joined #RubyOnRails
[12:52:20] pd09041999: has joined #RubyOnRails
[12:55:33] jottr: has joined #RubyOnRails
[13:05:46] jottr: has joined #RubyOnRails
[13:08:58] schne1der: has joined #RubyOnRails
[13:14:03] Terens: has joined #RubyOnRails
[13:16:00] jottr: has joined #RubyOnRails
[13:26:13] jottr: has joined #RubyOnRails
[13:28:02] ss942: tbuehlmann: are you still here? I had unexpected meeting, and cannot say thank you when after your answer I found solution.
[13:28:03] ss942: So I'm telling it now, thank you !
[13:32:49] tbuehlmann: you're welcome!
[13:36:26] jottr: has joined #RubyOnRails
[13:40:22] OneNeptune: has joined #RubyOnRails
[13:43:19] arechsteiner: has joined #RubyOnRails
[13:46:38] jottr: has joined #RubyOnRails
[13:56:52] jottr: has joined #RubyOnRails
[14:00:02] arechsteiner: quick question. in rails 5.2 where would I best store my DB credentials per environment/machine?
[14:01:14] arechsteiner: i'm guessing it's not neccessarily credentials.yml.enc because that is the same for all environments (or isn't it?)
[14:07:05] jottr: has joined #RubyOnRails
[14:14:38] conta1: has joined #RubyOnRails
[14:16:12] zacts: has joined #RubyOnRails
[14:17:18] jottr: has joined #RubyOnRails
[14:22:09] catbusters: has joined #RubyOnRails
[14:27:30] jottr: has joined #RubyOnRails
[14:31:24] Giorgio: has joined #RubyOnRails
[14:37:16] Giorgio: has joined #RubyOnRails
[14:37:43] jottr: has joined #RubyOnRails
[14:41:31] agent_white: has joined #RubyOnRails
[14:47:56] jottr: has joined #RubyOnRails
[14:58:13] jottr: has joined #RubyOnRails
[14:59:36] maryo: has joined #RubyOnRails
[15:00:26] ariedler: has joined #RubyOnRails
[15:33:15] jeremycw: has joined #RubyOnRails
[15:46:42] zacts: has joined #RubyOnRails
[15:48:00] homebear: has left #RubyOnRails: ()
[15:59:19] brool: has joined #RubyOnRails
[16:05:34] duderonomy: has joined #RubyOnRails
[16:16:13] gambl0r3: has joined #RubyOnRails
[16:17:41] choke: has joined #RubyOnRails
[16:18:43] Saukk: has joined #RubyOnRails
[16:24:56] dhuey: has joined #RubyOnRails
[16:32:37] maryo_: has joined #RubyOnRails
[16:35:15] haengma: has joined #RubyOnRails
[16:39:19] cnsvc: has joined #RubyOnRails
[16:39:51] duderonomy: has joined #RubyOnRails
[16:55:23] choke: has joined #RubyOnRails
[17:02:59] schne1der: has joined #RubyOnRails
[17:08:45] planigan: has joined #RubyOnRails
[17:10:13] planigan: has joined #RubyOnRails
[17:14:37] haengma: has joined #RubyOnRails
[17:48:01] tdy: has joined #RubyOnRails
[17:48:35] wallace_mu: has joined #RubyOnRails
[17:53:49] LtHummus: has joined #RubyOnRails
[18:06:19] gambl0r3: has joined #RubyOnRails
[18:07:17] sameerynho: has joined #RubyOnRails
[18:08:15] agent_white: has joined #RubyOnRails
[18:14:42] pd09041999: has joined #RubyOnRails
[18:24:01] pd09041999: has joined #RubyOnRails
[18:35:31] schneider: has joined #RubyOnRails
[18:37:51] choke: I am building an API, I have some a post body that contains some fields that are there solely for determining if i should send an email or not, so, what's the best way to handle that? making them attributes on the model seems off since they only apply for this decision, sending the mail from the controller while would work - seems like i'm adding too much logic to the controller, and adding everything to a series of helpers also
[18:37:51] choke: seems weird as i'm passing post parameters or the request object around everywhere. thoughts?
[18:46:58] choke: has joined #RubyOnRails
[18:52:12] mikecmpbll: has joined #RubyOnRails
[18:53:00] Xiti: has joined #RubyOnRails
[19:02:19] ariedler: has joined #RubyOnRails
[19:03:26] maryo: has joined #RubyOnRails
[19:18:01] za1b1tsu: has joined #RubyOnRails
[19:26:16] defsdoor: has joined #RubyOnRails
[19:33:33] choke: has joined #RubyOnRails
[19:49:40] choke: using https://github.com/rails/rails-observers is there any way to make the context used to save available to the observer?
[19:59:46] weteamsteve: has joined #RubyOnRails
[20:12:09] maryo_: has joined #RubyOnRails
[20:16:50] TvL2386: has joined #RubyOnRails
[20:17:05] havenwood: has joined #RubyOnRails
[20:20:31] Sirecote: has joined #RubyOnRails
[20:21:54] cxl: has joined #RubyOnRails
[20:22:05] hellekin: has joined #RubyOnRails
[20:33:23] ArTiSTiX: has joined #RubyOnRails
[20:56:00] dhuey: has joined #RubyOnRails
[21:08:04] TonyD: has joined #RubyOnRails
[21:11:54] TonyD: First message from a new user - Hello World :)
[21:36:54] zacts: has joined #RubyOnRails
[21:41:02] zacts: has joined #RubyOnRails
[21:45:25] schneider: has joined #RubyOnRails
[21:52:54] brool: has joined #RubyOnRails
[22:00:16] ellcs: has joined #RubyOnRails
[22:06:39] ariedler: has joined #RubyOnRails
[22:23:26] ellcs: has joined #RubyOnRails
[22:29:16] ephemer0l_: has joined #RubyOnRails
[22:32:29] edolix: has joined #RubyOnRails
[23:22:13] gambl0r3: has joined #RubyOnRails
[23:23:29] uksio: has joined #RubyOnRails
[23:33:05] weird_error: has joined #RubyOnRails
[23:33:40] weird_error: has joined #RubyOnRails