« Back to channel list

#RubyOnRails - 06 April 2019

« Back 1 day Forward 1 day »
[00:18:40] orbyt_: has joined #RubyOnRails
[00:30:41] bga57: has joined #RubyOnRails
[00:39:29] Dbugger: has joined #RubyOnRails
[00:57:01] brool: has joined #RubyOnRails
[00:57:39] brool: why would running `rails -v` yield this error? https://pastebin.com/kKCk8jGb
[01:28:11] nones: has joined #RubyOnRails
[01:44:52] mangold: has joined #RubyOnRails
[02:31:52] gambl0re: has joined #RubyOnRails
[02:32:45] segy: has joined #RubyOnRails
[02:35:24] lemmington: has joined #RubyOnRails
[02:35:51] lemmington: Anyone using webpacker? Is there a simple way to namespace css classes to views/partials?
[02:52:10] pd09041999: has joined #RubyOnRails
[03:09:57] braincrash: has joined #RubyOnRails
[03:51:30] pd09041999: has joined #RubyOnRails
[03:53:25] segy: has joined #RubyOnRails
[04:05:33] gambl0r3: has joined #RubyOnRails
[04:31:51] Saukk: has joined #RubyOnRails
[04:47:17] segy: has joined #RubyOnRails
[05:03:06] kapil____: has joined #RubyOnRails
[05:38:34] mangold: has joined #RubyOnRails
[05:51:57] apparition: has joined #RubyOnRails
[05:56:38] shtirlic: has joined #RubyOnRails
[06:14:28] pd09041999: has joined #RubyOnRails
[06:23:49] pd09041999: has joined #RubyOnRails
[06:39:27] xco: has joined #RubyOnRails
[07:05:14] ricekrispie2: has joined #RubyOnRails
[07:21:42] ariedler: has joined #RubyOnRails
[07:30:40] xco: has joined #RubyOnRails
[07:36:57] sphalerite: has joined #RubyOnRails
[08:08:13] lxsameer: has joined #RubyOnRails
[08:35:31] mikecmpbll: has joined #RubyOnRails
[09:15:20] pd09041999: has joined #RubyOnRails
[09:22:31] ariedler: has joined #RubyOnRails
[09:30:23] conta1: has joined #RubyOnRails
[09:31:50] powerbit: has joined #RubyOnRails
[09:38:01] xco: has joined #RubyOnRails
[09:39:06] xco: has joined #RubyOnRails
[09:45:38] jottr: has joined #RubyOnRails
[09:47:21] conta1: has joined #RubyOnRails
[09:48:49] markit: has joined #RubyOnRails
[10:07:04] za1b1tsu: has joined #RubyOnRails
[10:11:25] srinidhi: has joined #RubyOnRails
[10:14:01] apparition: has joined #RubyOnRails
[10:41:28] mangold: has joined #RubyOnRails
[10:50:18] dviola: has joined #RubyOnRails
[10:50:36] lankanmon: has joined #RubyOnRails
[10:55:07] ariedler: has joined #RubyOnRails
[10:58:58] NeXTSUN: has joined #RubyOnRails
[11:11:12] za1b1tsu: has joined #RubyOnRails
[11:11:24] ravenousmoose: has joined #RubyOnRails
[11:20:43] mikecmpbll: has joined #RubyOnRails
[11:45:34] za1b1tsu: has joined #RubyOnRails
[11:48:28] za1b1tsu_: has joined #RubyOnRails
[11:53:17] sidx64: has joined #RubyOnRails
[11:53:48] mangold: has joined #RubyOnRails
[11:55:39] Fernando-Basso: has joined #RubyOnRails
[11:55:53] sidx64_: has joined #RubyOnRails
[12:13:28] NeXTSUN: has joined #RubyOnRails
[12:34:01] apparition: has joined #RubyOnRails
[13:01:43] atrius: has joined #RubyOnRails
[13:01:56] sidx64: has joined #RubyOnRails
[13:21:47] Fernando-Basso: has joined #RubyOnRails
[13:31:51] sidx64: has joined #RubyOnRails
[13:34:36] conta1: has joined #RubyOnRails
[13:49:05] prestorium: has joined #RubyOnRails
[13:52:50] tdy: has joined #RubyOnRails
[13:57:06] apparition: has joined #RubyOnRails
[14:13:31] GodFather: has joined #RubyOnRails
[14:17:46] sidx64: has joined #RubyOnRails
[14:48:28] NeXTSUN: has joined #RubyOnRails
[15:05:54] sidx64_: has joined #RubyOnRails
[15:17:26] NeXTSUN: has joined #RubyOnRails
[15:36:40] Saukk: has joined #RubyOnRails
[15:50:40] gambl0r3: has joined #RubyOnRails
[16:12:25] agent_white: has joined #RubyOnRails
[16:23:53] segy: has joined #RubyOnRails
[16:29:10] uks: has joined #RubyOnRails
[16:29:33] eckhardt: has joined #RubyOnRails
[16:33:10] sidx64: has joined #RubyOnRails
[16:36:35] dviola: has joined #RubyOnRails
[17:02:26] eckhardt: has joined #RubyOnRails
[17:06:52] sidx64: has joined #RubyOnRails
[17:08:24] pd_09041999: has joined #RubyOnRails
[17:13:38] segy: has joined #RubyOnRails
[17:35:16] segy: has joined #RubyOnRails
[17:36:53] srinidhi: Hi! I need some help with - https://api.rubyonrails.org/classes/ActiveModel/Validations/HelperMethods.html#method-i-validates_format_of - especially the example where "with:" can take a lambda
[17:36:53] srinidhi: I've this in a model - validates_format_of :name, with: -> { Regexp.union(IssueTracker.pluck(:regex)) }
[17:37:18] srinidhi: Regexp.union(IssueTracker.pluck(:regex)).class <- in irb this returns "Regexp"
[17:37:25] srinidhi: s/irb/rails console/
[17:38:02] srinidhi: but when I run my specs, I get this error - ArgumentError: wrong number of arguments (given 1, expected 0)
[17:38:06] GodFather: has joined #RubyOnRails
[17:38:30] srinidhi: I'm not able to figure out which method is expecting 0 arguments in the lambda
[17:38:57] srinidhi: any tips or points on what am I missing?
[17:50:18] uksio: has joined #RubyOnRails
[17:59:46] ravenousmoose: has joined #RubyOnRails
[18:14:10] mikecmpbll: has joined #RubyOnRails
[18:16:22] orbyt_: has joined #RubyOnRails
[18:44:52] pd_09041999: has joined #RubyOnRails
[18:46:12] MrCrackPotBuilde: has joined #RubyOnRails
[18:49:38] xco: has joined #RubyOnRails
[19:24:57] srinidhi: found the problem - https://github.com/rails/rails/blob/5-2-stable/activemodel/lib/active_model/validations/format.rb#L29
[19:32:20] srinidhi: documentation doesn't say that the lambda *must* accept an argument.
[20:28:28] hightower2: has joined #RubyOnRails
[20:41:03] wallace_mu: has joined #RubyOnRails
[20:41:48] agent_white: has joined #RubyOnRails
[20:42:37] orbyt_: has joined #RubyOnRails
[21:11:29] agent_white: Question if anyone is around... have an interview with a final step to create a quick 'demo app'. Is it alright to use scaffolding? I'm not sure if they would look for that or look for more 'hand built' controllers/models etc.
[21:13:00] gambl0re: has joined #RubyOnRails
[21:16:46] agent_white: has joined #RubyOnRails
[21:27:33] Puffball: has joined #RubyOnRails
[21:34:14] xco: has joined #RubyOnRails
[21:47:03] orbyt_: has joined #RubyOnRails
[22:12:41] orbyt_: has joined #RubyOnRails
[22:20:10] arielserafini: has joined #RubyOnRails
[22:41:03] plantroon: has left #RubyOnRails: ("WeeChat 2.3")
[23:01:12] xco: has joined #RubyOnRails
[23:18:03] orbyt_: has joined #RubyOnRails
[23:39:28] NeXTSUN: has joined #RubyOnRails
[23:57:05] whipply: has joined #RubyOnRails
[23:57:28] shtirlic: has joined #RubyOnRails
[23:57:29] whipply: Hey there. Is there any reason not to use slim over erb? it seems like it's a much more condensed syntax