« Back to channel list

#RubyOnRails - 26 January 2019

« Back 1 day Forward 1 day »
[00:02:59] rikkipitt: has joined #RubyOnRails
[00:03:28] cnsvc: has joined #RubyOnRails
[00:15:18] Jervis_: has joined #RubyOnRails
[01:02:49] tdy1: has joined #RubyOnRails
[01:34:03] orbyt_: has joined #RubyOnRails
[01:44:58] ivanskie: has joined #RubyOnRails
[02:12:00] tdy1: has joined #RubyOnRails
[02:14:08] apparition: has joined #RubyOnRails
[02:15:43] DoctorMonocular: has joined #RubyOnRails
[02:27:21] ariedler: has joined #RubyOnRails
[03:07:10] Technodrome: has joined #RubyOnRails
[03:16:34] NeXTSUN: has joined #RubyOnRails
[03:36:41] brandoncc: has joined #RubyOnRails
[03:44:00] brandoncc: has joined #RubyOnRails
[04:10:02] braincrash: has joined #RubyOnRails
[04:21:28] brandoncc: has joined #RubyOnRails
[04:28:19] ariedler: has joined #RubyOnRails
[04:30:54] andrewray: has joined #RubyOnRails
[04:35:19] apparition: has joined #RubyOnRails
[04:59:58] tdy1: has joined #RubyOnRails
[05:00:04] NeXTSUN: has joined #RubyOnRails
[05:10:03] orbyt_: has joined #RubyOnRails
[05:13:59] ivanskie: has joined #RubyOnRails
[05:44:09] gambl0r3: has joined #RubyOnRails
[05:49:07] uksio: has joined #RubyOnRails
[05:55:12] gambl0r3: has joined #RubyOnRails
[05:55:27] duderonomy: has joined #RubyOnRails
[06:03:33] brandoncc: has joined #RubyOnRails
[06:04:36] brandoncc: I upgraded to Rails 5 and the OPTIONS method is not able to be used in a request to /cloudinary_cors.html running locally with puma....GET works fine though. Does anybody know why OPTIONS is broken with /public files now?
[06:28:54] segy: has joined #RubyOnRails
[06:29:03] ariedler: has joined #RubyOnRails
[07:39:33] Dbugger: has joined #RubyOnRails
[08:20:30] raunicolae: has joined #RubyOnRails
[08:20:44] quazimodo: has joined #RubyOnRails
[08:27:32] Technodrome: has joined #RubyOnRails
[08:29:50] ariedler: has joined #RubyOnRails
[08:48:13] reber: has joined #RubyOnRails
[09:08:39] cnsvc: has joined #RubyOnRails
[09:10:28] neoma: What would some gotchas that could cause actioncable to not receive broadcasts?
[09:11:08] neoma: I feel like I'm running into something really stupid like a typo or a forgotten include or something
[09:17:01] neoma: https://dpaste.de/cPj1
[09:17:16] tdy1: has joined #RubyOnRails
[09:18:42] neoma: Everything appears to work, except received is never called
[09:20:36] neoma: I'm not actually using redis, I wonder if that's the issue
[09:24:23] neoma: Oh hey it works now
[09:24:55] neoma: rubber duck debugging :p
[09:25:30] Fernando-Basso: has joined #RubyOnRails
[09:36:24] ravenousmoose: has joined #RubyOnRails
[09:56:17] mikecmpbll: has joined #RubyOnRails
[10:03:01] hadifarnoud: has joined #RubyOnRails
[10:14:56] sirensari2: has joined #RubyOnRails
[10:24:50] ravenousmoose: has joined #RubyOnRails
[10:34:34] raunicolae: has joined #RubyOnRails
[10:46:10] blackmesa: has joined #RubyOnRails
[10:47:18] lxsameer: has joined #RubyOnRails
[10:52:08] ravenousmoose: has joined #RubyOnRails
[10:57:23] Technodrome: has joined #RubyOnRails
[11:24:18] conta: has joined #RubyOnRails
[11:42:11] pLaTo0n: has joined #RubyOnRails
[11:54:19] blackmesa: has joined #RubyOnRails
[12:00:44] Ergo: has joined #RubyOnRails
[12:17:04] Jervis_: has joined #RubyOnRails
[12:26:14] Dbugger: has joined #RubyOnRails
[12:43:00] universa1: has joined #RubyOnRails
[12:45:38] raunicolae: has left #RubyOnRails: ("Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is")
[12:53:02] Dbugger: has joined #RubyOnRails
[12:53:19] Dbugger: has joined #RubyOnRails
[12:58:29] Dbugger: has joined #RubyOnRails
[13:00:37] Dbugger: has joined #RubyOnRails
[13:01:17] blackmesa: has joined #RubyOnRails
[13:13:12] blackmesa1: has joined #RubyOnRails
[13:36:39] oddie: has joined #RubyOnRails
[13:44:16] tomaw: has joined #RubyOnRails
[13:47:07] phaul: has joined #RubyOnRails
[14:44:51] lexileo: has joined #RubyOnRails
[14:55:54] jottr: has joined #RubyOnRails
[15:07:59] Saukk: has joined #RubyOnRails
[15:19:46] DTZUZO_: has joined #RubyOnRails
[15:27:11] ravenousmoose[aw: has joined #RubyOnRails
[15:30:19] ravenousmoose: has joined #RubyOnRails
[15:35:59] defsdoor: has joined #RubyOnRails
[15:45:17] raunicolae: has joined #RubyOnRails
[16:10:57] raunicolae: has left #RubyOnRails: ("Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is")
[16:11:05] kapil____: has joined #RubyOnRails
[16:28:00] thoraxe: has joined #RubyOnRails
[16:28:47] thoraxe: so it's been a while for me. i have this recollection that pagination got baked into rails itself a while back, but if i search the rails API i don't see paginate anywhere. i'm working on an existing codebase that uses paginate in a view, but i don't see any gem like will_paginate or anything loaded. short summary is i'm trying to figure out how to set the number of items per page
[16:32:34] thoraxe: ohhh looks like it's kaminari
[16:42:47] gambl0r3: has joined #RubyOnRails
[16:49:04] ravenousmoose[aw: has joined #RubyOnRails
[16:58:04] IGnorAND: @thoraxe I believe pagy was recommended
[17:01:28] brandoncc: has joined #RubyOnRails
[17:04:43] thoraxe: IGnorAND: pagy is NOW recommended or WAS recommended in the past? kaminari is what's installed and seems to be working
[17:04:51] thoraxe: in the interest of speed i'll probably keep it
[17:04:56] thoraxe: just took me a minute to figure out that's what it was doing
[17:05:28] IGnorAND: I believe pagy replaced willpaginate and kaminari - https://github.com/ddnexus/pagy
[17:05:32] chocoelho: has joined #RubyOnRails
[17:05:41] IGnorAND: well, someone recommended it to me and it seemed great
[17:51:37] phaul: has joined #RubyOnRails
[17:53:36] markit: has joined #RubyOnRails
[18:03:26] blackcross: has joined #RubyOnRails
[18:21:12] ravenousmoose: has joined #RubyOnRails
[18:26:59] ravenousmoose: has joined #RubyOnRails
[18:38:04] DoctorMonocular: has joined #RubyOnRails
[18:38:41] DoctorMonocular: I'm having trouble with autoloading constants from a subfolder -- I have services/changeset_format and inside that folder I have classes all inside module ChangesetFormat
[18:38:50] DoctorMonocular: when I load rails it has the module defined
[18:38:54] DoctorMonocular: but nothing in it
[18:38:59] DoctorMonocular: none of the classes I defined
[18:39:37] DoctorMonocular: oh shit, I already figured out
[18:39:43] DoctorMonocular: thanks for being good rubber ducks
[18:40:03] akosednar: has joined #RubyOnRails
[18:49:23] DoctorMonocular: fuck, actually it's not fixed
[18:49:49] DoctorMonocular: the problem still is that I have a subfolder under app/services and none of the classes are being loaded
[18:50:29] DoctorMonocular: and I already that to be autoloaded what you have to do is have the subfolder match the name of the module for those classes and the name of the files as the class name
[18:50:31] DoctorMonocular: like this: https://gist.github.com/PeteMichaud/63e477e119b4fdda5345b9f11d1f2185
[18:50:43] DoctorMonocular: the module is defined but the classes aren't loaded
[18:54:36] DoctorMonocular: if I require one of hte files manually in the console
[18:54:39] DoctorMonocular: it's found and works fine
[18:57:13] orbyt_: has joined #RubyOnRails
[19:10:40] blackmesa1: has joined #RubyOnRails
[19:11:40] orbyt_: has joined #RubyOnRails
[19:14:27] blackcross: has joined #RubyOnRails
[19:24:34] amperry: has joined #RubyOnRails
[19:26:47] amperry: Hey folks, getting an ActionView::Template::Error with a pdf render attempt. Gist here: https://gist.github.com/amp108/d9974d66ebad780b10d920373303bca3
[19:33:43] ravenousmoose: has joined #RubyOnRails
[19:34:26] jottr_: has joined #RubyOnRails
[19:42:47] jottr_: has joined #RubyOnRails
[19:44:03] Technodrome: has joined #RubyOnRails
[19:55:55] cnsvc: has joined #RubyOnRails
[20:20:28] reber__: has joined #RubyOnRails
[20:48:27] cnsvc: has joined #RubyOnRails
[20:56:45] cnsvc: has joined #RubyOnRails
[21:09:39] DoctorMonocular: ok, I'm stumped -- I have a model with a field called data that I have as `serialize data, Hash`
[21:10:15] DoctorMonocular: there are a couple classes that I store in the data hash and that work fine
[21:10:53] DoctorMonocular: but when I try to deserialize it says `ArgumentError: undefined class/module MyClass::`
[21:11:17] DoctorMonocular: that happens by just doing like > MyModel.first in the console
[21:11:37] DoctorMonocular: but then also in the console right after that I can access the MyClass constant without an issue
[21:11:49] DoctorMonocular: so the deserialize is taking place in a different context maybe?
[21:11:57] DoctorMonocular: I have no idea how to even start debugging this
[21:18:25] ravenousmoose: has joined #RubyOnRails
[21:19:32] aidanh010: has joined #RubyOnRails
[21:22:06] dustinm`: has joined #RubyOnRails
[21:49:51] uksio: has joined #RubyOnRails
[22:26:46] cnsvc: has joined #RubyOnRails
[22:31:53] blackmesa1: has joined #RubyOnRails
[23:22:56] blackmesa1: has joined #RubyOnRails
[23:25:23] blackmesa: has joined #RubyOnRails