« Back to channel list

#RubyOnRails - 13 April 2018

« Back 1 day Forward 1 day »
[00:08:02] uks: has joined #RubyOnRails
[00:22:41] workmad3: has joined #RubyOnRails
[00:22:48] ivanskie: has joined #RubyOnRails
[00:27:09] cagomez: has joined #RubyOnRails
[00:28:20] duderono_: has joined #RubyOnRails
[00:34:13] orbyt_: has joined #RubyOnRails
[00:35:18] alfiemax: has joined #RubyOnRails
[00:36:35] Rodya_: has joined #RubyOnRails
[00:44:20] sevenseacat: has joined #RubyOnRails
[00:53:41] harrycs: has joined #RubyOnRails
[00:56:37] kurko_: has joined #RubyOnRails
[01:00:15] duderonomy: has joined #RubyOnRails
[01:06:02] harrycs: has joined #RubyOnRails
[01:08:02] harrycs: has joined #RubyOnRails
[01:10:04] harrycs: has joined #RubyOnRails
[01:16:04] harrycs: has joined #RubyOnRails
[01:18:03] harrycs: has joined #RubyOnRails
[01:22:06] harrycs: has joined #RubyOnRails
[01:24:04] harrycs: has joined #RubyOnRails
[01:26:04] harrycs: has joined #RubyOnRails
[01:32:04] harrycs: has joined #RubyOnRails
[01:40:03] harrycs: has joined #RubyOnRails
[01:44:02] tpendragon: has joined #RubyOnRails
[01:55:51] SteenJobs: has joined #RubyOnRails
[02:00:03] harrycs: has joined #RubyOnRails
[02:02:03] harrycs: has joined #RubyOnRails
[02:04:02] harrycs: has joined #RubyOnRails
[02:06:05] harrycs: has joined #RubyOnRails
[02:10:03] harrycs: has joined #RubyOnRails
[02:18:04] harrycs: has joined #RubyOnRails
[02:20:26] tdy: has joined #RubyOnRails
[02:22:05] workmad3: has joined #RubyOnRails
[02:29:26] dtzuzu: has joined #RubyOnRails
[02:30:52] orbyt_: has joined #RubyOnRails
[02:36:33] Technodrome: has joined #RubyOnRails
[02:51:52] alfiemax: has joined #RubyOnRails
[02:59:31] Saukk: has joined #RubyOnRails
[03:04:11] Rodya_: has joined #RubyOnRails
[03:08:13] bobbobbins: has joined #RubyOnRails
[03:09:06] Technodrome: has joined #RubyOnRails
[03:15:33] orbyt_: has joined #RubyOnRails
[03:19:22] mroutis: has joined #RubyOnRails
[03:50:59] sidx64: has joined #RubyOnRails
[03:56:53] Technodrome: has joined #RubyOnRails
[04:04:19] quazimodo: has joined #RubyOnRails
[04:05:29] Rodya_: has joined #RubyOnRails
[04:14:27] darkhanb: has joined #RubyOnRails
[04:21:21] workmad3: has joined #RubyOnRails
[04:29:27] timdotrb: has joined #RubyOnRails
[04:36:44] kapil___: has joined #RubyOnRails
[04:50:42] reber: has joined #RubyOnRails
[05:04:58] ur5us: has joined #RubyOnRails
[05:49:36] sidx64: has joined #RubyOnRails
[05:50:02] arielserafini: has joined #RubyOnRails
[05:57:29] LightStalker: has joined #RubyOnRails
[06:04:49] apeiros: has joined #RubyOnRails
[06:20:38] workmad3: has joined #RubyOnRails
[06:36:00] dionysus69: has joined #RubyOnRails
[06:40:59] apeiros: has joined #RubyOnRails
[06:44:32] srinidhi: has joined #RubyOnRails
[06:44:46] DrYockel: has joined #RubyOnRails
[07:02:00] ianfleeton: has joined #RubyOnRails
[07:02:10] Rodya_: has joined #RubyOnRails
[07:07:27] andrewray: has joined #RubyOnRails
[07:08:15] andrewray: has joined #RubyOnRails
[07:09:01] andrewray: has joined #RubyOnRails
[07:09:55] andrewray: has joined #RubyOnRails
[07:10:33] andrewray: has joined #RubyOnRails
[07:11:23] andrewray: has joined #RubyOnRails
[07:12:03] andrewray: has joined #RubyOnRails
[07:12:57] andrewray: has joined #RubyOnRails
[07:13:40] srinidhi: has joined #RubyOnRails
[07:21:16] sidx64: has joined #RubyOnRails
[07:23:17] dminuoso: So can someone tell me why reflect_on_all_associations is called reflect_on_all_associations?
[07:24:06] dminuoso: Rather than say.. #associations
[07:27:44] tbuehlmann: it's actually .reflections and that's just some wrapper for filtering or something, right?
[07:31:59] uksio: has joined #RubyOnRails
[07:33:27] srinidhi: has joined #RubyOnRails
[07:35:41] timdotrb: has joined #RubyOnRails
[07:36:28] timdotrb: has joined #RubyOnRails
[07:36:33] dminuoso: tbuehlmann: .reflections is also a dumb name.
[07:36:39] ariejan: has joined #RubyOnRails
[07:37:13] timdotrb: has joined #RubyOnRails
[07:38:05] timdotrb: has joined #RubyOnRails
[07:38:46] timdotrb: has joined #RubyOnRails
[07:39:17] sevenseacat: ur face is dumb lolol
[07:39:35] timdotrb: has joined #RubyOnRails
[07:40:49] schneider: has joined #RubyOnRails
[07:50:49] mtkd: has joined #RubyOnRails
[07:50:52] marr: has joined #RubyOnRails
[07:51:05] dionysus69: has joined #RubyOnRails
[07:51:06] dminuoso: https://gist.github.com/dminuoso/1bcabb7f0c6cd3bd40d65f9a9bcfd33a mmm
[07:51:18] dminuoso: This feels so wrong :(
[07:57:11] tbuehlmann: I fixed it for ya: https://gist.github.com/tbuehlmann/dae4b12849e4773a1d9a84fdf5233428
[07:58:58] arBmind: has joined #RubyOnRails
[07:59:45] mikecmpbll: has joined #RubyOnRails
[08:02:27] ianfleeton: has joined #RubyOnRails
[08:02:55] Rodya_: has joined #RubyOnRails
[08:07:40] dionysus69: has joined #RubyOnRails
[08:10:27] dminuoso: tbuehlmann: Yeah uh. No.
[08:11:15] SteenJobs: has joined #RubyOnRails
[08:13:17] dminuoso: tbuehlmann: Id rather then do..
[08:13:35] dminuoso: 1.step.lazy.map(&Q.concat("construction-order-edit-many"))
[08:13:45] dminuoso: 1.step.lazy.map(&Q.concat("construction-order-edit-many-"))
[08:13:51] dminuoso: Or for explicitness
[08:13:58] dminuoso: 1.step.lazy.map(&Q.concat("construction-order-edit-many-") * Q.to_s)
[08:14:06] dminuoso: Maybe needs some parens *shrugs*
[08:19:58] workmad3: has joined #RubyOnRails
[08:23:13] KeyJoo: has joined #RubyOnRails
[08:24:03] kapil___: has joined #RubyOnRails
[08:30:28] quazimodo: has joined #RubyOnRails
[08:42:00] ellcs: has joined #RubyOnRails
[08:50:04] schneider: has joined #RubyOnRails
[09:03:41] Rodya_: has joined #RubyOnRails
[09:04:36] tbuehlmann: what do you mean, no?!
[09:05:10] rikkipitt: has joined #RubyOnRails
[09:11:06] defsdoor: has joined #RubyOnRails
[09:12:03] srinidhi: has joined #RubyOnRails
[09:24:18] ur5us: has joined #RubyOnRails
[09:27:45] srinidhi: has joined #RubyOnRails
[09:30:55] SteenJobs: has joined #RubyOnRails
[09:36:37] srinidhi: has joined #RubyOnRails
[09:38:23] SteenJobs: has joined #RubyOnRails
[09:42:36] mtkd: has joined #RubyOnRails
[09:52:46] jnollette: has joined #RubyOnRails
[09:55:54] roshanavand: has joined #RubyOnRails
[09:57:02] KeyJoo: has joined #RubyOnRails
[09:59:01] andywww: has joined #RubyOnRails
[10:00:22] andywww: I’m trying to do something whichi i thought was fairly simple but its proving not to be, I’d like to pass my index action an optional ids array to filter what it returns but am having some real problems with strong parameters
[10:00:25] andywww: https://gist.github.com/wanabewired/e677f07322ae931be763741f67c5372c
[10:01:26] segy: has joined #RubyOnRails
[10:02:44] tbuehlmann: andywww: `id` is an array, so permit it as params.permit(id: [])
[10:03:13] andywww: aah, I see, thanks
[10:04:21] Rodya_: has joined #RubyOnRails
[10:08:15] andywww: has left #RubyOnRails: ()
[10:14:44] schneider: has joined #RubyOnRails
[10:15:59] SteenJobs: has joined #RubyOnRails
[10:18:04] segy: has joined #RubyOnRails
[10:19:22] workmad3: has joined #RubyOnRails
[10:20:52] SanguineAnomaly: has joined #RubyOnRails
[10:29:23] GeorgesLeYeti: has joined #RubyOnRails
[10:30:43] GeorgesLeYeti: I want to search a product where name contain some specific char but I don't understand the result I get
[10:30:57] GeorgesLeYeti: Product.where("title LIKE ?", "PROD_#{t}_%").pluck(:title)
[10:31:06] GeorgesLeYeti: => ["PROD_146732_0-VOF", "PROD_1467_0-4_3"]
[10:41:31] one_zero: has joined #RubyOnRails
[10:42:24] ur5us: has joined #RubyOnRails
[10:42:56] tbuehlmann: GeorgesLeYeti: what's the problem?
[10:44:07] marahin: GeorgesLeYeti "_" stands for ANY single character.
[10:44:32] marahin: So "LIKE '_1467_'" would work for "a1467b", "_1467_", "1467" :)
[10:45:02] marahin: I think this is the source of confusion.
[10:52:24] GeorgesLeYeti: marahin, ok ty. I didn't know
[10:53:46] GeorgesLeYeti: But then how am i suppose to do for search by the PROD_1467_
[10:58:51] Cavallari: has joined #RubyOnRails
[11:00:45] SteenJobs: has joined #RubyOnRails
[11:03:20] apparition: has joined #RubyOnRails
[11:05:09] Rodya_: has joined #RubyOnRails
[11:17:28] KeyJoo: has joined #RubyOnRails
[11:20:51] dviola: has joined #RubyOnRails
[11:26:54] Sylario: GeorgesLeYeti "PROD\_#{t}\_%"
[11:27:25] fl4sh_: has joined #RubyOnRails
[11:29:48] ellcs: has joined #RubyOnRails
[11:47:47] mtkd: has joined #RubyOnRails
[11:47:56] alfiemax: has joined #RubyOnRails
[11:49:06] mostlybadfly: has joined #RubyOnRails
[11:49:24] alfiemax: has joined #RubyOnRails
[11:49:29] SteenJobs: has joined #RubyOnRails
[11:52:56] arBmind: has joined #RubyOnRails
[11:55:01] srinidhi: has joined #RubyOnRails
[12:04:37] SteenJobs: has joined #RubyOnRails
[12:05:07] duderonomy: has joined #RubyOnRails
[12:05:51] Rodya_: has joined #RubyOnRails
[12:12:57] SteenJobs: has joined #RubyOnRails
[12:18:42] workmad3: has joined #RubyOnRails
[12:21:25] ^mtkd: has joined #RubyOnRails
[12:43:44] mtkd: has joined #RubyOnRails
[12:54:30] kurko_: has joined #RubyOnRails
[12:57:31] duderonomy: has joined #RubyOnRails
[12:57:57] SteenJobs: has joined #RubyOnRails
[13:06:40] Rodya_: has joined #RubyOnRails
[13:07:55] SteenJobs: has joined #RubyOnRails
[13:14:45] ellcs: has joined #RubyOnRails
[13:15:18] daveomcd: has joined #RubyOnRails
[13:17:54] srinidhi: has joined #RubyOnRails
[13:19:47] daveomcd: in my cable.js file, for the App.cable = ActionCable.createconsumer(); line, do I need to pass anything as a parameter to it? I see of the actioncable github page reference to "ws://cable.example.com" but on some tutorial it's just left blank.
[13:32:15] Technodrome: has joined #RubyOnRails
[13:32:16] duderonomy: has joined #RubyOnRails
[13:37:47] SteenJobs: has joined #RubyOnRails
[13:45:53] srinidhi: has joined #RubyOnRails
[13:51:40] quazimodo: has joined #RubyOnRails
[14:02:48] chouhoulis: has joined #RubyOnRails
[14:03:00] SteenJobs: has joined #RubyOnRails
[14:07:41] Rodya_: has joined #RubyOnRails
[14:08:15] swistak35: has joined #RubyOnRails
[14:08:47] workmad3: has joined #RubyOnRails
[14:10:58] dionysus69: has joined #RubyOnRails
[14:14:53] kapil___: has joined #RubyOnRails
[14:17:23] ellcs: has joined #RubyOnRails
[14:20:59] LateralOctober: has joined #RubyOnRails
[14:22:22] SteenJobs: has joined #RubyOnRails
[14:30:40] badeball: has joined #RubyOnRails
[14:32:07] SteenJobs: has joined #RubyOnRails
[14:33:12] kurko_: has joined #RubyOnRails
[14:48:07] SteenJobs: has joined #RubyOnRails
[14:48:25] mtkd: has joined #RubyOnRails
[14:51:42] duderonomy: has joined #RubyOnRails
[14:52:55] sonOfRa: has joined #RubyOnRails
[14:59:37] quazimodo: has joined #RubyOnRails
[15:08:25] Rodya_: has joined #RubyOnRails
[15:11:02] orbyt_: has joined #RubyOnRails
[15:13:12] fl4sh_: has joined #RubyOnRails
[15:19:34] kurko_: has joined #RubyOnRails
[15:27:29] AlHafoudh: has joined #RubyOnRails
[15:28:44] SteenJobs: has joined #RubyOnRails
[15:29:23] troys: has joined #RubyOnRails
[15:40:05] dionysus69: has joined #RubyOnRails
[15:48:20] ianfleeton: has joined #RubyOnRails
[15:48:26] DrYockel1: has joined #RubyOnRails
[15:49:37] dionysus69: has joined #RubyOnRails
[15:51:49] roshanavand: has joined #RubyOnRails
[15:53:43] cagomez: has joined #RubyOnRails
[15:55:27] mroutis: has joined #RubyOnRails
[15:55:40] Technodrome: has joined #RubyOnRails
[15:59:15] SteenJobs: has joined #RubyOnRails
[16:02:28] Saukk: has joined #RubyOnRails
[16:10:23] orbyt_: has joined #RubyOnRails
[16:16:52] jcarl43: has joined #RubyOnRails
[16:28:45] andrewray: has joined #RubyOnRails
[16:31:49] timdotrb: has joined #RubyOnRails
[16:45:52] shtirlic: has joined #RubyOnRails
[16:52:19] desperek: has left #RubyOnRails: ()
[16:52:48] desperek: has joined #RubyOnRails
[16:59:37] srinidhi: has joined #RubyOnRails
[17:02:22] reber: has joined #RubyOnRails
[17:02:43] kapil___: has joined #RubyOnRails
[17:05:27] shtirlic: has joined #RubyOnRails
[17:10:04] Rodya_: has joined #RubyOnRails
[17:13:24] mikecmpbll: has joined #RubyOnRails
[17:17:19] apeiros: has joined #RubyOnRails
[17:26:22] Technodrome: has joined #RubyOnRails
[17:33:58] dwcraig: has joined #RubyOnRails
[17:59:03] elcms: has joined #RubyOnRails
[18:05:41] ariejan: has joined #RubyOnRails
[18:10:40] Rodya_: has joined #RubyOnRails
[18:15:40] jottr: has joined #RubyOnRails
[18:15:50] trautwein: has joined #RubyOnRails
[18:22:06] sameerynho: has joined #RubyOnRails
[18:26:41] ianfleeton: has joined #RubyOnRails
[18:35:40] ianfleeton: has joined #RubyOnRails
[18:39:27] trautwein: has joined #RubyOnRails
[18:45:21] trautwein: has joined #RubyOnRails
[18:49:49] roshanavand: has joined #RubyOnRails
[18:49:50] schneider: has joined #RubyOnRails
[18:54:05] mtkd: has joined #RubyOnRails
[18:58:21] elcms: has joined #RubyOnRails
[19:03:17] schneider: has joined #RubyOnRails
[19:03:58] ams__: has joined #RubyOnRails
[19:06:22] srinidhi: has joined #RubyOnRails
[19:11:27] Rodya_: has joined #RubyOnRails
[19:12:22] schneider: has joined #RubyOnRails
[19:18:14] sidx64: has joined #RubyOnRails
[19:19:15] Technodrome: has joined #RubyOnRails
[19:20:12] sidx64_: has joined #RubyOnRails
[19:21:29] schneider: has joined #RubyOnRails
[19:27:58] cagomez: has joined #RubyOnRails
[19:29:22] SteenJobs: has joined #RubyOnRails
[19:30:09] schneider: has joined #RubyOnRails
[19:33:14] Aherin: has joined #RubyOnRails
[19:33:45] mtkd: has joined #RubyOnRails
[19:39:17] schneider: has joined #RubyOnRails
[19:40:14] dionysus69: has joined #RubyOnRails
[19:43:01] drona6: has joined #RubyOnRails
[19:44:16] drona6_: has joined #RubyOnRails
[19:46:39] drona6_: I'm having trouble finding the source code in Rails that creates named route helpers (e.g. `comment_url`, `anything_url`). I found `polymorphic_url` in action_dispatch/routing/polymorphic_routes.rb, but that looks to be a module that's included somewhere else to make the dynamic route helpers. Does anyone know where I could look for the actual code (maybe in a `method_mission` block) that defines `#{anything}_url`?
[19:47:56] drona6_: `method_missing`*
[19:50:14] schneider: has joined #RubyOnRails
[19:51:07] jottr: has joined #RubyOnRails
[19:56:03] harrycs: has joined #RubyOnRails
[19:56:28] harryv: has joined #RubyOnRails
[19:56:29] duderonomy: has joined #RubyOnRails
[19:58:25] drona6: https://medium.com/basecs is worth checking out.
[19:59:24] schneider: has joined #RubyOnRails
[20:00:03] drona6: (Sorry for the above link--wrong channel.)
[20:06:05] workmad3: has joined #RubyOnRails
[20:07:35] cagomez: has joined #RubyOnRails
[20:12:09] Rodya_: has joined #RubyOnRails
[20:12:41] quazimodo: has joined #RubyOnRails
[20:13:13] schneider: has joined #RubyOnRails
[20:22:17] schneider: has joined #RubyOnRails
[20:31:24] schneider: has joined #RubyOnRails
[20:40:31] schneider: has joined #RubyOnRails
[20:42:16] Technodrome: has joined #RubyOnRails
[20:43:29] sameerynho: has joined #RubyOnRails
[20:43:33] Sylario: Is there a server supporting thread and byebug for dev?
[20:44:10] Sylario: I use passenger but it does not support byebug in the non pro edition
[20:45:27] Sylario: And multithread is needed por PDF generation
[20:45:41] fryguy: puma is the standard recommendation
[20:47:49] havenwood: sylario: Puma is also the Rails default
[20:48:38] Sylario: My rails server launch webrick
[20:48:48] havenwood: sylario: What version of Rails?
[20:49:21] havenwood: sylario: That should have been generated with a Puma default, unless you've upgraded it from an older version and not added Puma.
[20:49:34] Sylario: ho, it has been generated in 3
[20:49:37] schneider: has joined #RubyOnRails
[20:49:43] Sylario: but i used pry in the past
[20:49:53] havenwood: sylario: Ah, then add to the Gemfile: gem 'puma'
[20:50:16] havenwood: and: bundle
[20:50:46] Sylario: i'll keep it in dev for now, my prod is still apache passenger
[20:54:59] Sylario: havenwood: it works, thx
[20:55:09] Sylario: just had to make it listen on 0.0.0.0
[20:58:43] schneider: has joined #RubyOnRails
[21:00:39] tdy: has joined #RubyOnRails
[21:07:48] schneider: has joined #RubyOnRails
[21:09:39] easzero: has joined #RubyOnRails
[21:10:10] duderonomy: has joined #RubyOnRails
[21:11:06] easzero_: has joined #RubyOnRails
[21:12:58] Rodya_: has joined #RubyOnRails
[21:16:52] schneider: has joined #RubyOnRails
[21:22:43] Ergo: has joined #RubyOnRails
[21:26:02] schneider: has joined #RubyOnRails
[21:35:07] schneider: has joined #RubyOnRails
[21:41:42] wethu: has joined #RubyOnRails
[21:41:49] roshanavand: has joined #RubyOnRails
[21:44:13] schneider: has joined #RubyOnRails
[21:49:06] mroutis: has joined #RubyOnRails
[21:53:20] schneider: has joined #RubyOnRails
[22:02:25] schneider: has joined #RubyOnRails
[22:05:29] workmad3: has joined #RubyOnRails
[22:11:33] schneider: has joined #RubyOnRails
[22:11:38] elcms: has joined #RubyOnRails
[22:13:38] Rodya_: has joined #RubyOnRails
[22:15:44] nickjj: has joined #RubyOnRails
[22:19:23] chouhoulis: has joined #RubyOnRails
[22:20:36] schneider: has joined #RubyOnRails
[22:23:06] ule: Hey guys.. what's the best practice to storing password on Rails for prod? Environment Variable always?
[22:24:09] duderonomy: has joined #RubyOnRails
[22:29:45] schneider: has joined #RubyOnRails
[22:34:34] Technodrome: has joined #RubyOnRails
[22:38:50] schneider: has joined #RubyOnRails
[22:44:47] harryk_: has joined #RubyOnRails
[22:45:29] mroutis: has joined #RubyOnRails
[22:45:30] emers2n: has joined #RubyOnRails
[22:47:57] schneider: has joined #RubyOnRails
[22:57:06] schneider: has joined #RubyOnRails
[23:06:13] schneider: has joined #RubyOnRails
[23:14:19] Rodya_: has joined #RubyOnRails
[23:17:14] schneider: has joined #RubyOnRails
[23:28:10] schneider: has joined #RubyOnRails
[23:37:16] schneider: has joined #RubyOnRails
[23:40:50] mroutis: I looked at rails/rails on github, searching for issues/documentation related on an opinonated way to run Rails with Docker
[23:41:26] mroutis: I know it's not a standard at all, but it's a common google search now days, with a lot of deprecated information
[23:42:07] mroutis: don't know if the Rails doc should take an approach on it... I'd be happy to contribute with a first draft
[23:43:05] mroutis: I wanted to open an issue in the first pleace, but I wanted to discuss it first
[23:46:21] schneider: has joined #RubyOnRails
[23:47:42] duderonomy: has joined #RubyOnRails
[23:49:26] sameerynho: has joined #RubyOnRails
[23:55:28] schneider: has joined #RubyOnRails