« Back to channel list

#RubyOnRails - 22 April 2019

« Back 1 day Forward 1 day »
[00:09:36] atapi: has joined #RubyOnRails
[00:11:07] bokwoon: has joined #RubyOnRails
[00:22:58] Puffball: has joined #RubyOnRails
[00:31:19] crankharder: has joined #RubyOnRails
[01:12:28] s00pcan: has joined #RubyOnRails
[01:21:04] crankharder: has joined #RubyOnRails
[01:31:48] atapi: has joined #RubyOnRails
[01:49:58] nones: has joined #RubyOnRails
[01:53:46] rascencio: has joined #RubyOnRails
[02:07:05] samort7: Am I supposed to share credentials.yml.enc or master.key?
[02:09:43] srinidhi: has joined #RubyOnRails
[02:20:33] crankharder: has joined #RubyOnRails
[02:53:27] rascencio: has joined #RubyOnRails
[03:04:05] rascencio: has joined #RubyOnRails
[03:06:16] DTZUZO: has joined #RubyOnRails
[03:09:39] braincrash: has joined #RubyOnRails
[03:17:47] tdy: has joined #RubyOnRails
[03:21:03] Saukk: has joined #RubyOnRails
[03:24:40] rascencio: has left #RubyOnRails: ("Good Bye")
[03:24:43] NeXTSUN: has joined #RubyOnRails
[03:50:14] wallace_mu: has joined #RubyOnRails
[04:11:35] wallace_mu: has joined #RubyOnRails
[04:16:08] ariedler: has joined #RubyOnRails
[04:21:25] quazimodo: has joined #RubyOnRails
[04:41:32] srinidhi: has joined #RubyOnRails
[05:00:29] crankharder: has joined #RubyOnRails
[05:08:28] duderonomy: has joined #RubyOnRails
[05:10:32] crankharder: has joined #RubyOnRails
[05:13:51] duderonomy: has joined #RubyOnRails
[05:16:36] duderonomy: has joined #RubyOnRails
[05:18:04] benlieb: has joined #RubyOnRails
[05:19:25] sagax: has joined #RubyOnRails
[06:39:22] srinidhi: has joined #RubyOnRails
[06:45:44] kapil____: has joined #RubyOnRails
[06:48:26] jottr: has joined #RubyOnRails
[06:56:32] dionysus69: has joined #RubyOnRails
[07:00:39] jottr: has joined #RubyOnRails
[07:14:43] benlieb: has joined #RubyOnRails
[07:40:17] srinidhi: has joined #RubyOnRails
[07:43:17] hightower2: has joined #RubyOnRails
[07:51:45] phaul: has joined #RubyOnRails
[08:01:00] sameerynho: has joined #RubyOnRails
[08:18:32] crankharder: has joined #RubyOnRails
[08:23:58] ellcs: has joined #RubyOnRails
[08:25:07] ellcs: has joined #RubyOnRails
[08:26:06] ellcs: has joined #RubyOnRails
[08:26:45] ellcs: has joined #RubyOnRails
[08:27:59] ellcs: has joined #RubyOnRails
[08:28:46] ellcs: has joined #RubyOnRails
[08:31:43] crankharder: has joined #RubyOnRails
[08:38:18] srinidhi: has joined #RubyOnRails
[08:41:44] crankharder: has joined #RubyOnRails
[08:51:41] crankharder: has joined #RubyOnRails
[09:21:24] crankharder: has joined #RubyOnRails
[09:31:19] crankharder: has joined #RubyOnRails
[09:36:26] srinidhi: has joined #RubyOnRails
[09:41:18] crankharder: has joined #RubyOnRails
[09:47:30] za1b1tsu: has joined #RubyOnRails
[10:21:12] crankharder: has joined #RubyOnRails
[10:30:16] lomex: has joined #RubyOnRails
[10:30:56] crankharder: has joined #RubyOnRails
[10:40:50] crankharder: has joined #RubyOnRails
[10:50:47] crankharder: has joined #RubyOnRails
[11:00:42] crankharder: has joined #RubyOnRails
[11:23:30] lankanmon: has joined #RubyOnRails
[11:29:16] jottr: has joined #RubyOnRails
[12:10:12] Croata: has joined #RubyOnRails
[12:19:16] s00pcan: has joined #RubyOnRails
[12:24:11] DTZUZO: has joined #RubyOnRails
[12:24:19] srinidhi: has joined #RubyOnRails
[12:31:25] crankharder: has joined #RubyOnRails
[12:51:27] powerbit: Hello, it might be strange asking this in here but as I started relearning ruby (reading eloquent ruby) I was thinking reading something in javascript too. What do you recommend? Thanks
[12:54:17] lupine: my favourite ruby+js primer: https://www.destroyallsoftware.com/talks/wat
[12:58:43] quazimodo: has joined #RubyOnRails
[13:10:55] crankharder: has joined #RubyOnRails
[13:12:59] blackbaba: has joined #RubyOnRails
[13:57:35] wallace_mu: has joined #RubyOnRails
[14:00:48] kapil____: has joined #RubyOnRails
[14:19:55] ariedler: has joined #RubyOnRails
[14:48:01] tdy: has joined #RubyOnRails
[15:05:02] uks: has joined #RubyOnRails
[15:05:56] s00pcan: has joined #RubyOnRails
[15:18:16] uranoss: has joined #RubyOnRails
[15:30:28] terabytes: has joined #RubyOnRails
[16:02:57] sandstrom: has joined #RubyOnRails
[16:10:12] s2013: has joined #RubyOnRails
[16:11:00] davidfetter_work: has joined #RubyOnRails
[16:20:25] ariedler: has joined #RubyOnRails
[16:51:27] duderonomy: has joined #RubyOnRails
[16:56:06] Momentum: does anyone know of a way to create a migration that changes :id to :uuid?
[16:57:53] Momentum: also is it really bad to commit changes to migrations? would be way too simpler
[16:58:45] defsdoor: has joined #RubyOnRails
[16:58:59] Momentum: no nevermind that won't work
[17:11:18] jottr: has joined #RubyOnRails
[17:14:19] Saukk: has joined #RubyOnRails
[17:21:57] agent_white: has joined #RubyOnRails
[18:11:10] dtzuzu: has joined #RubyOnRails
[18:15:54] tdy: has joined #RubyOnRails
[18:34:28] tipyn: has joined #RubyOnRails
[18:45:18] conta1: has joined #RubyOnRails
[18:51:12] Momentum: anyone here could help with uuid?
[18:54:07] TheMoonMaster: Momentum: if you're migrating existing data you probably need to add a new UUID column, then add new relationship fields for each association pointing to that uuid column, back fill those associations values, dual write the id and uuid association values, then rename the fields, etc.
[18:54:11] TheMoonMaster: tl;dr a lot of work
[18:55:08] Momentum: so i use id and uuid together for each model?
[18:55:15] Momentum: hmm i thought of only using uuid
[18:55:21] TheMoonMaster: well to transfer existing data
[18:55:28] TheMoonMaster: unless you can wipe it all out
[18:55:34] Momentum: i can wipe it all out
[18:55:42] Momentum: but i have a different problem now
[18:56:09] Momentum: i'm setting the type of my foregin key to uuid but when i check the model in the console the type stays integer
[18:56:13] Momentum: i dunno why
[18:57:32] Momentum: here's my migration http://ix.io/1GU3
[18:57:55] TheMoonMaster: just curious, but why use uuid's in the first place?
[18:58:40] Momentum: well, using incremental ids gives some information about the records of the database and ... i don't like that
[18:59:05] TheMoonMaster: do you have a reason for that to be concerning?
[18:59:15] TheMoonMaster: also you should generally use some kind of `slug` field imo
[18:59:19] TheMoonMaster: dealing with uuid's is a pain
[18:59:28] Momentum: yeah sure i'm going to use a slug
[19:00:46] Momentum: i found a way to use uuids instead of ids now i'm just stuck with this incomprehensive problem
[19:01:16] Momentum: sorry to bother of course, but i would appreciate any help
[19:03:10] TheMoonMaster: you probably don't need uuid's fwiw. but that migration looks fine. I'd expect it create the foreign keys as uuid's
[19:03:34] TheMoonMaster: might be worth dropping/creating/migrating again in-case you got in some kind of weird state somehow
[19:03:52] Momentum: i did rake db:reset
[19:04:18] TheMoonMaster: I think that uses schema load
[19:04:33] TheMoonMaster: so if you were in a weird state and your schema reflected that, it wouldn't help
[19:14:57] Momentum: yeah i was stuck in a weird state indeed, thank you for your help TheMoonMaster :)
[19:22:30] Momentum: TheMoonMaster: i thought about it a little bit, since i'm not exposing ids as you mentioned that shouldn't be a big deal, i think i will just use default ids
[19:23:03] TheMoonMaster: nice, I think that'll keep things simple
[19:23:07] sandstrom: has joined #RubyOnRails
[19:25:19] powerbit: Hi, what books do you recommend for learning rails, thanks
[19:26:16] Momentum: the official rails guide is a pretty good reading
[19:28:04] TheMoonMaster: I like the official rails guide and the pragprog rails book
[20:12:34] lomex: has joined #RubyOnRails
[20:14:32] Exuma: has joined #RubyOnRails
[20:24:54] snk: the https://www.railstutorial.org/ book was pretty good
[20:28:47] s2013: has joined #RubyOnRails
[20:38:59] benlieb: has joined #RubyOnRails
[20:45:06] benlieb: has joined #RubyOnRails
[20:48:27] Momentum: TheMoonMaster: i figured that if i want to use uniqe slugs i'd combine them with ids and with default ids they will be exposed :/
[20:48:57] TheMoonMaster: or you can make the field that generates the slug unique
[20:49:01] TheMoonMaster: or append a number to the slug
[20:49:12] TheMoonMaster: or not worry about exposing the id
[20:50:02] Momentum: yeah how am i not thinking about that, i didn't even consider the implementation of my slug generator
[20:57:09] uranoss: has joined #RubyOnRails
[20:58:15] ferdi2005: has joined #RubyOnRails
[21:01:19] dviola: has joined #RubyOnRails
[21:06:16] benlieb: has joined #RubyOnRails
[21:08:13] ferdi2005: has joined #RubyOnRails
[21:08:30] Net: has joined #RubyOnRails
[21:11:15] uranoss: has joined #RubyOnRails
[21:13:05] iamdevnul: has joined #RubyOnRails
[21:14:04] Exuma: has joined #RubyOnRails
[21:15:37] _aeris: has joined #RubyOnRails
[21:16:43] hnanon: has joined #RubyOnRails
[21:56:45] duderono_: has joined #RubyOnRails
[21:56:46] ariedler_: has joined #RubyOnRails
[21:59:27] hammer065: has joined #RubyOnRails
[21:59:45] arthurnn: has joined #RubyOnRails
[22:00:06] RiPuk: has joined #RubyOnRails
[22:00:17] Exagone313: has joined #RubyOnRails
[22:00:21] hays: has joined #RubyOnRails
[22:00:37] alnk: has joined #RubyOnRails
[22:01:15] beingjohnm: has joined #RubyOnRails
[22:02:08] bitch: has joined #RubyOnRails
[22:04:35] mr-spoon: has joined #RubyOnRails
[22:04:38] LtHummus: has joined #RubyOnRails
[22:04:59] Ropeney: has joined #RubyOnRails
[22:05:53] Axsuul: has joined #RubyOnRails
[22:07:38] syndikate: has joined #RubyOnRails
[22:09:22] helpa-bot: has joined #RubyOnRails
[22:11:53] helpa-bot: has joined #RubyOnRails
[22:12:21] Ropeney_: has joined #RubyOnRails
[22:13:33] funnel_: has joined #RubyOnRails
[22:13:40] quazimod1: has joined #RubyOnRails
[22:14:03] ltd_: has joined #RubyOnRails
[22:15:26] sunya7a_: has joined #RubyOnRails
[22:16:33] helpa-bot: has joined #RubyOnRails
[22:16:50] cxl: has joined #RubyOnRails
[22:17:23] Sirecote: has joined #RubyOnRails
[22:17:24] Vircung: has joined #RubyOnRails
[22:18:34] russt: has joined #RubyOnRails
[22:19:07] helpa: has joined #RubyOnRails
[22:20:08] LightStalker: has joined #RubyOnRails
[22:20:10] mangold: has joined #RubyOnRails
[22:26:53] weteamsteve: has joined #RubyOnRails
[22:36:53] benlieb_: has joined #RubyOnRails
[22:39:23] mlt-: has joined #RubyOnRails
[22:49:43] orbyt_: has joined #RubyOnRails
[22:49:55] benlieb_: has joined #RubyOnRails
[23:02:43] benlieb: has joined #RubyOnRails
[23:24:22] uks: has joined #RubyOnRails
[23:32:46] benlieb: has joined #RubyOnRails