« Back to channel list

#RubyOnRails - 28 November 2018

« Back 1 day Forward 1 day »
[00:03:34] NivenHuH: has joined #RubyOnRails
[00:05:50] NivenHuH: has joined #RubyOnRails
[00:22:17] sevenseacat: has joined #RubyOnRails
[00:23:40] gavit: has joined #RubyOnRails
[00:25:04] GodFather: has joined #RubyOnRails
[00:27:24] tjbp: has joined #RubyOnRails
[00:35:28] Dreamer3_: has joined #RubyOnRails
[00:38:45] Exuma: has joined #RubyOnRails
[01:11:29] jaddison: has joined #RubyOnRails
[01:17:06] mangold: has joined #RubyOnRails
[01:20:15] quazimodo: has joined #RubyOnRails
[01:45:49] mangold: has joined #RubyOnRails
[02:32:29] Puffball: has joined #RubyOnRails
[02:46:48] Saukk: has joined #RubyOnRails
[02:47:57] mochiyoda: has left #RubyOnRails: ("Konversation terminated!")
[02:56:07] glossybrown: has joined #RubyOnRails
[02:57:19] GodFather: has joined #RubyOnRails
[03:01:46] maryo: has joined #RubyOnRails
[03:18:41] kapil____: Hello i see many people use django. what is difference between rails and django?
[03:20:34] DTZUZO: has joined #RubyOnRails
[03:22:21] glossybrown: has joined #RubyOnRails
[03:23:49] glossybrown: has joined #RubyOnRails
[03:28:27] havenwood: kapil____: Ruby versus Python is one substantial difference.
[03:28:30] havenwood: kapil____: What are you making?
[03:31:45] havenwood: kapil____: ?
[03:31:53] kapil____: i am using rails
[03:32:51] havenwood: So you just wonder if you're missing anything not using Django?
[03:33:31] havenwood: Django has its own templating language and admin generation stuff, for better or worse. It used to be ahead in the WebSocket game with Twistd, but these days there's ActionCable.
[03:34:24] havenwood: kapil____: I'd suggest Phoenix envy rather than Django. :P
[03:34:58] kapil____: i am using phenix now.
[03:35:05] havenwood: kapil____: Then carry on.
[03:35:38] kapil____: thanks, but should i need to use django ?
[03:35:45] havenwood: Yes, do it.
[03:35:46] kapil____: am i missing something?
[03:36:26] havenwood: Should you speak Dutch? Sure. Do it!
[03:38:26] orbyt_: has joined #RubyOnRails
[03:39:08] adgtl: Devise experts.. can someone help me to fix this issue? https://gist.github.com/4655478286cf10f3a02c00a6556109c3
[03:40:14] havenwood: kapil____: I don't think you're missing anything, other than maybe that there are many fine options and it comes down to what you're doing and aesthetic preference.
[03:41:32] kapil____: thanks i love elixir.
[03:41:45] kapil____: i am using rails but only its generators.
[03:41:46] baweaver: kapil____: Pick one thing
[03:42:02] baweaver: If you keep jumping off to new things you're not really going to build much skill
[03:42:37] baweaver: You end up with applications implementing 5-6 technologies you're not familiar with
[03:42:56] baweaver: Pick one new tech, max, per project
[03:43:21] kapil____: oh i am thinking to learn python. still not learned elixir completely, should i not learn it now?
[03:43:25] baweaver: If you do everything from scratch you'll have no idea how to debug any of it or which part is broken
[03:43:43] baweaver: Earlier you tried to learn Rails, React, GraphQL, and a lot of other things at once
[03:43:57] kapil____: oh you know it
[03:44:04] baweaver: and you were really struggling to see how it all worked together, and I'd mentioned to do just Rails
[03:44:11] Radar: yeah we're aware ;)
[03:44:13] baweaver: throw away the rest of it, focus on Rails, and learn that first.
[03:44:44] kapil____: thanks. save many times
[03:44:48] baweaver: You can learn 50 things, and stay at a novice level, or learn one thing well and learn how to take that deeper to develop your skills
[03:44:58] Exuma: has joined #RubyOnRails
[03:45:12] baweaver: Not to say you shouldn't eventually do so, but for you at where you're at now I'd stick to just one tool.
[03:46:12] kapil____: thanks. i will stick to elixir rails and Js only for now.
[03:46:42] baweaver: Elixir or Rails, choose one, and follow that through
[03:46:56] baweaver: and on JS, avoid React for now
[03:47:03] baweaver: Keep things simple and build from there
[03:47:18] baweaver: Limit yourself to vanilla JS while learning the basics
[03:47:33] kapil____: ok then i will only use elixir.
[03:47:46] baweaver: _Maybe_ some jQuery
[03:48:02] baweaver: I say all of this because you tend to meander through many different frameworks and languages, and get lost because of it
[03:48:13] baweaver: so better to focus on one and learn it well than focus on many and learn little.
[03:49:28] kapil____: oh i got it. so i can learn one perfect and know it well
[03:52:36] lexileo: has joined #RubyOnRails
[04:03:47] Exuma: has joined #RubyOnRails
[04:05:35] darkhanb: has joined #RubyOnRails
[04:10:15] braincrash: has joined #RubyOnRails
[04:32:47] Exuma: has joined #RubyOnRails
[04:33:08] jasmith: has joined #RubyOnRails
[04:44:21] Puffball: has joined #RubyOnRails
[04:50:18] timdotrb: has joined #RubyOnRails
[05:20:28] Exuma: has joined #RubyOnRails
[05:21:54] uksio: has joined #RubyOnRails
[05:42:11] Xiti: has joined #RubyOnRails
[06:03:01] reber: has joined #RubyOnRails
[06:04:50] Xiti: has joined #RubyOnRails
[06:23:09] jaddison: has joined #RubyOnRails
[06:23:41] conta: has joined #RubyOnRails
[06:27:57] conta1: has joined #RubyOnRails
[06:34:11] armyriad: has joined #RubyOnRails
[06:44:27] gambl0re: has joined #RubyOnRails
[06:47:17] crankhar1er: has joined #RubyOnRails
[07:06:36] mangold: has joined #RubyOnRails
[07:11:13] roshanavand: has joined #RubyOnRails
[07:13:20] eckhardt: has joined #RubyOnRails
[07:25:58] apparition: has joined #RubyOnRails
[07:39:59] cnsvc_: has joined #RubyOnRails
[07:56:00] Terens: has joined #RubyOnRails
[07:56:20] Terens: what do you use for internal documentation ?
[08:02:57] baweaver: What level? What are you wanting to cover and how do you want to distribute it?
[08:03:35] baweaver: Much like testing there are various levels of documentation, each one important for their own reasons and each abstraction being significantly more brittle.
[08:06:27] aberwarum: has joined #RubyOnRails
[08:07:03] baweaver: I've taken to calling them names similar to testing. Unit documentation (individual functions as individual units) I would recommend YARDoc. API documentation (endpoints, or public APIs for a gem) I would recommend YARDoc or API Pie. Workflow / Integration documentation (Full processes and complete workflows) I would recommend considering a static site generator, wikis, or again using YARDoc with its document feature for expanded areas.
[08:07:38] baweaver: Now there are a lot more types to consider, sure, and the higher level concern they are the harder it is to keep them consistent which means more build process and integration checks
[08:08:08] baweaver: Really I tend to prefer YARDoc for most things, and API Pie for generating API documentation.
[08:08:20] baweaver: Though eventually you end up with workflow type documents like you see with the Rails documentation which are static sites
[08:08:31] baweaver: EmberJS is another good example of this
[08:09:37] baweaver: terens: that cover what you were looking for?
[08:41:20] Jervis_: has joined #RubyOnRails
[08:52:50] roshanavand: has joined #RubyOnRails
[08:56:35] cheeti: has joined #RubyOnRails
[08:58:33] cheeti: hi i am activated active_model_otp in my rails 5 application. users can enable and desable two factor authentication. but in login for i am showing token field, is ther any way to show login form in second step if user enabled 2 factor authentication?
[09:05:07] ChanServ: +o baweaver
[09:06:08] ChanServ: -o baweaver
[09:06:08] ChanServ: -o baweaver
[09:07:09] mikecmpbll: has joined #RubyOnRails
[09:07:16] timdotrb: has joined #RubyOnRails
[09:08:14] timdotrb: has joined #RubyOnRails
[09:08:47] timdotrb: has joined #RubyOnRails
[09:09:39] timdotrb: has joined #RubyOnRails
[09:10:29] timdotrb: has joined #RubyOnRails
[09:11:09] timdotrb: has joined #RubyOnRails
[09:17:48] timdotrb: has joined #RubyOnRails
[09:19:44] timdotrb: has joined #RubyOnRails
[09:20:39] timdotrb: has joined #RubyOnRails
[09:21:24] timdotrb: has joined #RubyOnRails
[09:22:02] timdotrb: has joined #RubyOnRails
[09:22:48] timdotrb: has joined #RubyOnRails
[09:23:33] timdotrb: has joined #RubyOnRails
[09:24:18] timdotrb: has joined #RubyOnRails
[09:25:03] timdotrb: has joined #RubyOnRails
[09:25:48] timdotrb: has joined #RubyOnRails
[09:26:48] timdotrb: has joined #RubyOnRails
[09:27:23] timdotrb: has joined #RubyOnRails
[09:28:09] timdotrb: has joined #RubyOnRails
[09:28:11] spectra: has joined #RubyOnRails
[09:29:04] timdotrb: has joined #RubyOnRails
[09:29:39] timdotrb: has joined #RubyOnRails
[09:30:35] timdotrb: has joined #RubyOnRails
[09:31:14] timdotrb: has joined #RubyOnRails
[09:31:59] timdotrb: has joined #RubyOnRails
[09:32:44] timdotrb: has joined #RubyOnRails
[09:33:27] Guest21835: has joined #RubyOnRails
[09:33:39] timdotrb: has joined #RubyOnRails
[09:34:29] timdotrb: has joined #RubyOnRails
[09:35:02] timdotrb: has joined #RubyOnRails
[09:36:02] timdotrb: has joined #RubyOnRails
[09:36:44] timdotrb: has joined #RubyOnRails
[09:37:34] timdotrb: has joined #RubyOnRails
[09:38:09] timdotrb: has joined #RubyOnRails
[09:52:57] quazimodo: has joined #RubyOnRails
[10:10:28] mangold: has joined #RubyOnRails
[10:11:58] tdy: has joined #RubyOnRails
[10:14:33] roshanavand: has joined #RubyOnRails
[10:21:24] cnsvc_: has joined #RubyOnRails
[11:05:19] roshanavand: has joined #RubyOnRails
[11:05:47] quazimodo: has joined #RubyOnRails
[11:22:47] quazimodo: has joined #RubyOnRails
[11:25:11] cnsvc_: has joined #RubyOnRails
[11:58:39] uks: has joined #RubyOnRails
[12:04:18] lexileo: has joined #RubyOnRails
[12:16:50] lankanmon: has joined #RubyOnRails
[12:17:43] srinidhi: has joined #RubyOnRails
[12:20:02] dviola: has joined #RubyOnRails
[12:21:29] FastJack: has joined #RubyOnRails
[12:24:45] mangold: has joined #RubyOnRails
[12:27:20] cnsvc_: has joined #RubyOnRails
[12:29:33] sheepman: has joined #RubyOnRails
[12:32:33] roshanavand: has joined #RubyOnRails
[12:36:37] roshanavand: has joined #RubyOnRails
[12:45:53] Guest21835: has joined #RubyOnRails
[13:00:35] reber: has joined #RubyOnRails
[13:08:51] Guest21835: has joined #RubyOnRails
[13:11:22] CassioAlmeidas: has joined #RubyOnRails
[13:12:34] CassioAlmeidas: I can not show validation errors in modal ajax with simple form
[13:24:40] Dreamer3_: has joined #RubyOnRails
[13:31:49] snowy: has joined #RubyOnRails
[13:35:13] blackmesa: has joined #RubyOnRails
[13:41:20] conta: has joined #RubyOnRails
[13:46:51] roshanavand: has joined #RubyOnRails
[14:00:45] cnsvc_: has joined #RubyOnRails
[14:02:21] crankhar1er: has joined #RubyOnRails
[14:11:22] eclm: has joined #RubyOnRails
[14:20:51] glossybrown: has joined #RubyOnRails
[14:33:57] roshanavand: has joined #RubyOnRails
[14:43:22] mauro1254: has joined #RubyOnRails
[14:51:06] Sylario: has joined #RubyOnRails
[15:06:37] chouhoulis: has joined #RubyOnRails
[15:12:34] timdotrb: has joined #RubyOnRails
[15:16:08] Puffball: has joined #RubyOnRails
[15:24:26] quazimodo: has joined #RubyOnRails
[15:32:00] conta: has joined #RubyOnRails
[15:34:18] cnsvc_: has joined #RubyOnRails
[15:45:03] conta1: has joined #RubyOnRails
[15:46:16] brianpWins: has joined #RubyOnRails
[15:48:16] brianpWins: I’m using the attributes api with a jsonb, and deserializing the data into an array of PORO’s. I’ve realized on first load of the parents (AR) object everything is fine. But if I call `changed?` or any dirty tracking method it calls the deserializer again, creating new PORO’s and considering the custom attribute changed.
[15:48:29] brianpWins: For reference it’s essentially this: http://jetrockets.pro/blog/rails-5-attributes-api-value-objects-and-jsonb
[15:48:37] brianpWins: but with a mutable collection
[15:49:35] brianpWins: I’m sure I can find workaround for this, and would be all ears. But I’m also wondering if this could be considered a bug? Should dirty tracking be deserialzing the db strings again? It’s already done it before, seems like extra work to do it again.
[15:58:33] brianpWins: Ahhhh finally found a super old rails 3 issue descirbing similar behavuour and sounds like it’s all by design
[16:00:20] brianpWins: Or not, looks like it’s flip flopped over the years
[16:05:14] Dbugger: has joined #RubyOnRails
[16:06:52] brianpWins: orrr, maybe the accepted use case is in place changes on nested data structures, but not supported is when they’re deserialized to something that’s a non standard type. Which makes sense because they can’t support diffing random types.
[16:07:31] brianpWins: I wonder if there’s an interface to make the comparisons generic, like simple defining <=> and if there is support for that. Im going to check that out
[16:09:52] quazimodo: has joined #RubyOnRails
[16:15:54] cnk: has joined #RubyOnRails
[16:25:59] jaddison: has joined #RubyOnRails
[16:29:55] hammer065: has joined #RubyOnRails
[16:29:57] brianpWins: I have the custom type defined with serializer/deserializers. I can also define my own check for `changed_in_place?` and manage equality however I need to
[16:30:00] brianpWins: this works for me.
[16:31:15] brianpWins: Rubber ducking. It works.
[16:34:26] cnk: brianpWins: excellent!
[16:40:03] roshanavand: has joined #RubyOnRails
[16:41:07] quazimodo: has joined #RubyOnRails
[16:47:08] segy: has joined #RubyOnRails
[16:49:18] DTZUZO: has joined #RubyOnRails
[16:49:43] za1b1tsu: has joined #RubyOnRails
[16:57:38] gambl0re: has joined #RubyOnRails
[16:59:01] SteenJobs: has joined #RubyOnRails
[17:04:37] jaddison: has joined #RubyOnRails
[17:05:01] cnsvc_: has joined #RubyOnRails
[17:05:57] snowy: has joined #RubyOnRails
[17:14:10] darkhanb: has joined #RubyOnRails
[17:22:51] Aherin: has joined #RubyOnRails
[17:25:16] SteenJobs_: has joined #RubyOnRails
[17:45:46] eckhardt_: has joined #RubyOnRails
[17:47:51] _aeris_: has joined #RubyOnRails
[17:56:58] za1b1tsu: has joined #RubyOnRails
[17:57:04] ghormoon: has joined #RubyOnRails
[17:57:57] Guest21835: has joined #RubyOnRails
[18:06:01] buyfn: has joined #RubyOnRails
[18:08:05] cschneid_: has joined #RubyOnRails
[18:10:35] cnsvc_: has joined #RubyOnRails
[18:32:07] buyfn: has joined #RubyOnRails
[18:37:11] lxsameer: has joined #RubyOnRails
[18:47:28] roshanavand: has joined #RubyOnRails
[19:01:08] lexileo: has joined #RubyOnRails
[19:07:15] dslegends: has joined #RubyOnRails
[19:11:42] reber__: has joined #RubyOnRails
[19:14:48] cnsvc_: has joined #RubyOnRails
[19:15:05] tdy: has joined #RubyOnRails
[19:17:53] gambl0re: has joined #RubyOnRails
[19:23:05] roshanavand: has joined #RubyOnRails
[19:37:09] ur5us: has joined #RubyOnRails
[20:04:22] orbyt_: has joined #RubyOnRails
[20:18:01] dviola: has joined #RubyOnRails
[20:42:04] OrangeManBad: has left #RubyOnRails: ("Bye")
[21:01:32] cnsvc_: has joined #RubyOnRails
[21:05:53] Aherin: has joined #RubyOnRails
[21:06:48] jaddison: has joined #RubyOnRails
[21:15:39] GodFather: has joined #RubyOnRails
[21:26:14] defsdoor: has joined #RubyOnRails
[21:26:15] lomex: has joined #RubyOnRails
[21:40:22] Radar: GOOD MORNING
[21:46:15] orbyt_: has joined #RubyOnRails
[21:46:36] glossybrown: has joined #RubyOnRails
[22:00:57] mikecmpbll: has joined #RubyOnRails
[22:28:29] tectonic: has joined #RubyOnRails
[22:31:51] jaddison: has joined #RubyOnRails
[22:39:57] mangold: has joined #RubyOnRails
[22:40:24] agent_white: has joined #RubyOnRails
[22:41:42] jaddison: has joined #RubyOnRails
[23:21:46] orbyt_: has joined #RubyOnRails
[23:38:20] orbyt_: has joined #RubyOnRails
[23:40:21] Xiti: has joined #RubyOnRails
[23:56:52] brkkyk: has joined #RubyOnRails