« Back to channel list

#RubyOnRails - 07 January 2019

« Back 1 day Forward 1 day »
[00:00:30] cnsvc: has joined #RubyOnRails
[00:16:35] duderonomy: has joined #RubyOnRails
[00:26:40] ur5us: has joined #RubyOnRails
[00:30:16] cerberussg: has joined #RubyOnRails
[00:31:54] ur5us: has joined #RubyOnRails
[00:32:35] EXCHGR: has joined #RubyOnRails
[00:40:54] conta: has joined #RubyOnRails
[00:45:47] tdy: has joined #RubyOnRails
[00:50:01] drale2k_: has joined #RubyOnRails
[00:58:45] sevenseacat: has joined #RubyOnRails
[01:23:02] drale2k_: has joined #RubyOnRails
[01:23:48] Technodrome: has joined #RubyOnRails
[02:27:01] Saukk: has joined #RubyOnRails
[02:45:01] tdy: has joined #RubyOnRails
[03:07:21] srinidhi: has joined #RubyOnRails
[03:09:02] uplime: has joined #RubyOnRails
[03:16:33] srinidhi: has joined #RubyOnRails
[03:30:21] tdy: has joined #RubyOnRails
[03:33:03] cschneid: has joined #RubyOnRails
[03:42:39] Technodrome: has joined #RubyOnRails
[04:04:43] conta: has joined #RubyOnRails
[04:08:05] cschneid: has joined #RubyOnRails
[04:09:32] braincrash: has joined #RubyOnRails
[04:25:06] duderonomy: has joined #RubyOnRails
[04:45:42] ariedler: has joined #RubyOnRails
[04:56:10] gambl0r3: has joined #RubyOnRails
[04:59:28] srinidhi: has joined #RubyOnRails
[05:07:28] agent_white: has joined #RubyOnRails
[05:08:18] cnsvc: has joined #RubyOnRails
[05:25:52] srinidhi: has joined #RubyOnRails
[05:37:13] srinidhi: has joined #RubyOnRails
[06:14:47] tdy: has joined #RubyOnRails
[06:19:06] cschneid: has joined #RubyOnRails
[06:19:24] conta: has joined #RubyOnRails
[06:29:20] segy: has joined #RubyOnRails
[06:36:49] srinidhi: has joined #RubyOnRails
[06:42:10] Dbugger: has joined #RubyOnRails
[06:50:34] cschneid: has joined #RubyOnRails
[06:58:26] dbugger_: has joined #RubyOnRails
[07:46:14] Puffball: has joined #RubyOnRails
[07:59:30] Technodrome: has joined #RubyOnRails
[07:59:41] za1b1tsu: has joined #RubyOnRails
[08:21:28] akosednar: has joined #RubyOnRails
[08:24:07] Technodrome: has joined #RubyOnRails
[08:26:51] lunarkitty7: has joined #RubyOnRails
[08:34:02] apparition: has joined #RubyOnRails
[08:48:16] DTZUZO: has joined #RubyOnRails
[08:55:46] mikecmpbll: has joined #RubyOnRails
[08:57:37] Ergo: has joined #RubyOnRails
[09:08:56] hammer065: has joined #RubyOnRails
[09:10:19] mikecmpbll: has joined #RubyOnRails
[09:14:02] srinidhi: has joined #RubyOnRails
[09:21:56] cschneid: has joined #RubyOnRails
[09:43:53] srinidhi: has joined #RubyOnRails
[09:55:12] kapil____: has joined #RubyOnRails
[09:57:45] srinidhi: has joined #RubyOnRails
[10:05:35] jsrn: has joined #RubyOnRails
[10:28:58] cschneid: has joined #RubyOnRails
[10:49:11] sameerynho: has joined #RubyOnRails
[10:50:00] tinyhippo: has left #RubyOnRails: ("WeeChat 2.3")
[11:09:06] lexileo: has joined #RubyOnRails
[11:16:37] srinidhi: has joined #RubyOnRails
[11:20:08] lupine: it seems that eager loading doesn't pull `app/views/*` into memory at boot-up. Is there a setting or gem that would cause this to happen?
[11:21:11] sevenseacat: loading is for classes, not views. what problem are you having?
[11:21:54] drale2k_: has joined #RubyOnRails
[11:23:07] lupine: deployments aren't atomic, so sometimes we have a process running with the old code, but new views
[11:23:31] lupine: if the process read the view files into RAM at bootup, that would stop being a problem
[11:27:48] sevenseacat: I don't know of any library that does that. but I'd suggest looking at your deployment strategy
[11:28:12] sevenseacat: not sure how you can have old code and new views when views are part of the code
[11:31:33] lupine: sevenseacat: it's a consequence of not stopping the process while a package install is ongoing, a decision taken to minimise downtime
[11:31:58] lupine: .deb packages can use either mode when they include a service - stop it while upgrading, or not.
[11:32:24] lupine: if you don't, the files are updated while the old process is still running, then once the extraction is complete, the service is restarted. good for uptime, bad for correctness :/
[11:32:34] lupine: -> https://gitlab.com/gitlab-org/gitlab-ce/issues/55593
[11:34:22] drale2k_: has joined #RubyOnRails
[11:40:57] conta: has joined #RubyOnRails
[11:43:34] dslegends: has joined #RubyOnRails
[11:44:13] tdy: has joined #RubyOnRails
[11:44:50] mr-spoon: has joined #RubyOnRails
[11:55:55] ariedler: has joined #RubyOnRails
[11:57:41] ariedler: has joined #RubyOnRails
[12:18:22] cerberussg: has joined #RubyOnRails
[12:48:22] catbusters: has joined #RubyOnRails
[12:59:35] cschneid: has joined #RubyOnRails
[13:18:16] catbusters: Hi! I'm trying to use Grape to build an API, and I keep coming across examples that show `get "", root: :something`. What is the `root` supposed to do?
[13:21:35] emers2n: has joined #RubyOnRails
[13:21:42] emers2n: I'm struggling to format a hash with children to match a JSON request format: https://pastebin.com/raw/pUXGbCNE
[13:25:16] catbusters: What error are you getting?
[13:26:14] emers2n: @catbusters Could not parse profiles. I'm assuming I'm not nesting the profiles correctly when manually define the hash
[13:26:56] catbusters: The code runs for me. Can you post the exact error?
[13:32:09] emers2n: @catbusters Thanks. If my hash syntax isn't wrong it is a problem elsewhere.
[13:35:59] catbusters: Could be. I'd need to see the exact error though
[13:53:53] agent_white: has joined #RubyOnRails
[13:57:18] jlebrech: has joined #RubyOnRails
[13:58:11] jlebrech: i'm getting a template error: (undefined method `[]' for nil:NilClass) but the value is still being rendered correctly.
[13:58:38] jlebrech: something prerendering?
[14:09:18] mikecmpb_: has joined #RubyOnRails
[14:17:00] alan_w: has joined #RubyOnRails
[14:25:51] krawchyk: has joined #RubyOnRails
[14:35:24] mikecmpbll: has joined #RubyOnRails
[14:36:17] NL3limin4t0r: has joined #RubyOnRails
[14:45:55] GodFather: has joined #RubyOnRails
[14:49:47] cschneid: has joined #RubyOnRails
[14:51:07] tdy: has joined #RubyOnRails
[15:05:52] dekroning: has joined #RubyOnRails
[15:07:16] dekroning: i'm using bitbucket pipelines to build my repo, but now i't complaining about not using bundler 2, when I run gem list: bundler (2.0.1, 1.16.6, default: 1.16.2), for some reason I cannot get rid of 1.16.2 via the build scripts, is there away to force a different version of bundler?
[15:07:50] dekroning: can I make version 2.0.1 the default someway?
[15:14:24] chouhoulis: has joined #RubyOnRails
[15:15:29] conta: has joined #RubyOnRails
[15:34:51] conta: has joined #RubyOnRails
[15:44:44] tdy: has joined #RubyOnRails
[16:15:15] uplime: has joined #RubyOnRails
[16:16:10] DylanJ: has joined #RubyOnRails
[16:19:43] tdy: has joined #RubyOnRails
[16:22:16] dviola: has joined #RubyOnRails
[16:31:05] tdy: has joined #RubyOnRails
[16:34:27] srinidhi: has joined #RubyOnRails
[16:37:24] maryo: has joined #RubyOnRails
[16:47:00] conta: has joined #RubyOnRails
[16:49:30] gambl0r3: has joined #RubyOnRails
[16:53:15] Saukk: has joined #RubyOnRails
[17:07:00] mksybr: has joined #RubyOnRails
[17:07:11] tdy: has joined #RubyOnRails
[17:09:48] reber: has joined #RubyOnRails
[17:11:58] conta: has joined #RubyOnRails
[17:12:33] conta2: has joined #RubyOnRails
[17:20:16] srinidhi: has joined #RubyOnRails
[17:28:10] kidPalooma: has joined #RubyOnRails
[17:32:01] kidPalooma: Hello, I have a statement like this in my routes.rb file: "resources :resource_configurations, except: [:show], as: :resources do ... end". This changes all the helpers method for my "resource" resources, however, when I call form_for @resource, the form_for method looks for the old resource_configurations helpers
[17:32:14] kidPalooma: sorry for repetitions, I hope it's clear
[17:32:34] kidPalooma: I would like form_for to use the aliased url helpers
[17:41:26] kidPalooma: ok, I solved it, thanks
[17:41:43] orbyt_: has joined #RubyOnRails
[17:42:58] defsdoor: has joined #RubyOnRails
[17:45:58] srinidhi: has joined #RubyOnRails
[17:50:31] Jervis_: has joined #RubyOnRails
[17:53:09] Travis-42: has joined #RubyOnRails
[17:53:50] conta2: has joined #RubyOnRails
[17:53:54] Travis-42: in a rails application template, is there a way to detect options set in the command line (such as "--webpack=react" so that the template can respond accordingly?
[17:54:33] orbyt_: has joined #RubyOnRails
[17:57:54] hovis: has joined #RubyOnRails
[18:04:03] KeyJoo: has joined #RubyOnRails
[18:11:47] mikecmpbll: has joined #RubyOnRails
[18:13:53] planigan: has joined #RubyOnRails
[18:18:01] srinidhi: has joined #RubyOnRails
[18:22:58] kapil____: has joined #RubyOnRails
[18:38:04] gambl0r3: has joined #RubyOnRails
[18:45:21] FastJack: has joined #RubyOnRails
[18:48:39] CGibsonmm: has joined #RubyOnRails
[18:58:17] cnsvc: has joined #RubyOnRails
[19:00:45] cnsvc: has joined #RubyOnRails
[19:01:58] CGibsonmm: has joined #RubyOnRails
[19:02:02] CGibsonmm: I am trying to test a User in a RSpec.feature test, I want to update my users to have a column the accepts a boolean, say terms_of_service: true, In my model I have a validation on create that force the user to validates :terms_of_service, acceptance: true I need a way do something like this in my feature test that allows something like @user = create(:user, terms_of_service: false) rspec/rails allows the creati
[19:02:02] CGibsonmm: on of @user but passes terms_of_service: true
[19:02:58] krawchyk_: has joined #RubyOnRails
[19:03:06] CGibsonmm: I need to be able to test against a user in the db that is already there prior to the new column, at this time all users have terms_of_service
[19:03:21] CGibsonmm: : false, as the default.
[19:08:11] Technodrome: has joined #RubyOnRails
[19:14:05] CGibsonmm: has joined #RubyOnRails
[19:19:15] waheedi: has joined #RubyOnRails
[19:20:33] waheedi: how to clean up the pool in action cable?
[19:24:53] reber: has joined #RubyOnRails
[19:26:54] orbyt_: has joined #RubyOnRails
[19:32:29] planigan: has joined #RubyOnRails
[19:32:31] orbyt_: has joined #RubyOnRails
[19:33:08] Technodrome: has joined #RubyOnRails
[19:37:01] maryo_: has joined #RubyOnRails
[19:44:08] orbyt_: has joined #RubyOnRails
[20:00:40] Technodrome: has joined #RubyOnRails
[20:04:52] srinidhi: has joined #RubyOnRails
[20:13:32] ur5us: has joined #RubyOnRails
[20:21:41] krawchyk: has joined #RubyOnRails
[20:32:23] Technodrome: has joined #RubyOnRails
[20:40:49] orbyt_: has joined #RubyOnRails
[20:45:38] c001os: has joined #RubyOnRails
[20:47:22] tdy: has joined #RubyOnRails
[20:47:45] c001os_: has joined #RubyOnRails
[20:50:38] c001os: has joined #RubyOnRails
[20:52:47] conta: has joined #RubyOnRails
[20:57:08] c001os: has joined #RubyOnRails
[21:00:25] NeXTSUN: has joined #RubyOnRails
[21:00:32] NeXTSUN: has left #RubyOnRails: ("Textual IRC Client: www.textualapp.com")
[21:00:34] NeXTSUN: has joined #RubyOnRails
[21:00:53] NeXTSUN: hi does anyone know of a good guide to install ruby on rails mac
[21:01:04] NeXTSUN: that is guaranteed to work
[21:03:06] havenwood: NeXTSUN: Nobody is going to give you guarantees.
[21:03:07] havenwood: NeXTSUN: https://ryanbigg.com/2015/06/mac-os-x-ruby-ruby-install-chruby-and-you
[21:04:48] havenwood: NeXTSUN: Are you already using Homebrew?
[21:07:25] havenwood: NeXTSUN: That ^ tutorial for setting up chruby should serve you well. It allows you to have multiple Rubies, as you might need for the varying version expectation across many projects.
[21:08:15] havenwood: NeXTSUN: You can also point chruby at the Homebrew Ruby. That's a quick way to get started if Ruby 2.6 is your cup of tea.
[21:10:08] havenwood: NeXTSUN: https://gist.github.com/havenwood/ba31f67c1d89ac236400
[21:12:55] conta: has joined #RubyOnRails
[21:18:13] waheedi: has joined #RubyOnRails
[21:18:55] waheedi: so please correct me if I'm wrong, if I use an encrypted cookie for some random user, and using this implementation for verification, I would see all his web socket messages? https://api.rubyonrails.org/classes/ActionCable/Connection/Base.html
[21:19:18] waheedi: is this really what it is, or I'm missing something, i hope I am
[21:20:26] NeXTSUN: thanks for the link havenwood but I don't see an installation guide
[21:21:10] havenwood: NeXTSUN: https://ryanbigg.com/2015/06/mac-os-x-ruby-ruby-install-chruby-and-you
[21:22:03] NeXTSUN: thank you havenwood
[21:23:34] NeXTSUN: this is a stupid question by why use a web framework?
[21:24:14] waheedi: NeXTSUN: so you can be DRY, and clean
[21:24:56] waheedi: NeXTSUN: you can always build your own web framework too, if there is a need for one
[21:25:30] NeXTSUN: what why does industry use it?
[21:25:44] NeXTSUN: also what is dry and clea?
[21:27:50] waheedi: glad it did
[21:34:48] tubbo: waheedi: encrypted cookies can only be readable by the client that they were encrypted for afaik
[21:35:32] tubbo: https://api.rubyonrails.org/classes/ActionDispatch/Cookies.html for more info
[22:34:31] tdy: has joined #RubyOnRails
[22:48:22] conta: has joined #RubyOnRails
[23:24:07] drale2k_: has joined #RubyOnRails
[23:25:31] Technodrome: has joined #RubyOnRails
[23:46:00] orbyt_: has joined #RubyOnRails