« Back to channel list

#RubyOnRails - 12 December 2018

« Back 1 day Forward 1 day »
[00:08:47] Inside: no, mostly dead
[00:11:39] bijan_: has joined #RubyOnRails
[00:15:42] bijan__: has joined #RubyOnRails
[00:16:49] jenrzzz: has joined #RubyOnRails
[00:23:40] jenrzzz: has joined #RubyOnRails
[00:24:26] bijan_: has joined #RubyOnRails
[00:30:44] gavit: has joined #RubyOnRails
[00:30:56] gavit: whats the diff between vue and vuejs when doing yarn add?
[00:34:09] Aces1up: has joined #RubyOnRails
[00:34:20] Aces1up: is there a way to see what files rails has autoloaded?
[00:34:37] Aces1up: i have a couple files in app/lib but only 1 of them seems to autoload.
[00:34:56] Aces1up: as any other file added to that directory rails cannot see any modules or classes I put into it.
[00:39:23] eckhardt_: has joined #RubyOnRails
[00:40:16] bijan_: has joined #RubyOnRails
[00:41:39] dviola: has joined #RubyOnRails
[00:48:43] Bin4ry: has joined #RubyOnRails
[00:51:53] jenrzzz: has joined #RubyOnRails
[01:01:48] bijan_: has joined #RubyOnRails
[01:03:40] sevenseacat: has joined #RubyOnRails
[01:04:33] crankharder: has joined #RubyOnRails
[01:05:28] carbone5: has joined #RubyOnRails
[01:06:19] jenrzzz: has joined #RubyOnRails
[01:11:18] gambl0r3: has joined #RubyOnRails
[01:15:12] bijan_: has joined #RubyOnRails
[01:19:01] bijan__: has joined #RubyOnRails
[01:26:21] carbone5: has joined #RubyOnRails
[01:28:10] bijan_: has joined #RubyOnRails
[01:32:45] bijan_: has joined #RubyOnRails
[01:34:29] Bin4ry: has joined #RubyOnRails
[01:36:55] bijan__: has joined #RubyOnRails
[01:39:52] carbone5: has joined #RubyOnRails
[01:45:10] bijan_: has joined #RubyOnRails
[01:57:46] bijan_: has joined #RubyOnRails
[01:59:35] kapil____: has joined #RubyOnRails
[01:59:43] carbone5: has joined #RubyOnRails
[02:10:23] bijan_: has joined #RubyOnRails
[02:18:32] cnsvc_: has joined #RubyOnRails
[02:39:39] andrew_v: has joined #RubyOnRails
[02:39:58] andrew_v: anyone worked with actioncable before? all I've found for docs is the guide. want to look into what to do when people lose access to an ACL'd subscription (example: a chat room they're kicked out of)
[02:44:08] bijan_: has joined #RubyOnRails
[02:54:33] Saukk: has joined #RubyOnRails
[02:57:19] bijan_: has joined #RubyOnRails
[03:02:59] gambl0r3: has joined #RubyOnRails
[03:05:30] crankharder: has joined #RubyOnRails
[03:09:44] paranoicsan: has joined #RubyOnRails
[03:10:32] bijan_: has joined #RubyOnRails
[03:13:44] bambanxx: has joined #RubyOnRails
[03:14:47] bijan__: has joined #RubyOnRails
[03:20:24] lexileo: has joined #RubyOnRails
[03:23:19] bijan_: has joined #RubyOnRails
[03:32:38] bijan_: has joined #RubyOnRails
[03:42:15] Majadon: has joined #RubyOnRails
[03:46:07] bijan_: has joined #RubyOnRails
[03:50:53] bijan_: has joined #RubyOnRails
[03:55:21] bijan__: has joined #RubyOnRails
[03:55:33] jenrzzz: has joined #RubyOnRails
[04:00:17] jhass: has joined #RubyOnRails
[04:03:46] Bin4ry: has joined #RubyOnRails
[04:03:47] universa1: has joined #RubyOnRails
[04:06:31] sonOfRa: has joined #RubyOnRails
[04:09:03] braincrash: has joined #RubyOnRails
[04:11:54] carbone5: has joined #RubyOnRails
[04:37:33] bijan_: has joined #RubyOnRails
[04:38:10] bijan__: has joined #RubyOnRails
[04:47:55] Exuma: has joined #RubyOnRails
[04:50:12] bijan_: has joined #RubyOnRails
[05:07:17] bijan_: has joined #RubyOnRails
[05:15:56] Exuma: has joined #RubyOnRails
[05:20:03] thunderbirdtr: has joined #RubyOnRails
[05:23:07] uks: has joined #RubyOnRails
[05:23:13] akosednar: has joined #RubyOnRails
[05:23:32] segy: has joined #RubyOnRails
[05:27:55] bijan_: has joined #RubyOnRails
[05:28:32] hadifarnoud: has joined #RubyOnRails
[05:32:12] bijan__: has joined #RubyOnRails
[05:32:30] hadifarnoud: has joined #RubyOnRails
[05:33:20] hadifarnoud: has joined #RubyOnRails
[05:34:17] hadifarnoud: has joined #RubyOnRails
[05:34:50] hadifarnoud: has joined #RubyOnRails
[05:35:06] jenrzzz: has joined #RubyOnRails
[05:36:05] bijan_: has joined #RubyOnRails
[05:39:39] bijan__: has joined #RubyOnRails
[05:40:57] cnsvc_: has joined #RubyOnRails
[05:45:17] gambl0r3: has joined #RubyOnRails
[05:45:52] paranoicsan: has joined #RubyOnRails
[05:49:26] jenrzzz: has joined #RubyOnRails
[05:52:25] bijan_: has joined #RubyOnRails
[05:53:54] lunarkitty7: has joined #RubyOnRails
[05:55:24] jackhum: has joined #RubyOnRails
[05:58:40] jenrzzz: has joined #RubyOnRails
[06:05:37] bijan_: has joined #RubyOnRails
[06:09:27] bijan__: has joined #RubyOnRails
[06:10:53] jackhum: has joined #RubyOnRails
[06:13:56] _aeris_: has joined #RubyOnRails
[06:17:56] bijan_: has joined #RubyOnRails
[06:22:42] bijan__: has joined #RubyOnRails
[06:23:15] Bin4ry: has joined #RubyOnRails
[06:24:51] jenrzzz: has joined #RubyOnRails
[06:27:08] spd_25: has joined #RubyOnRails
[06:27:19] conta: has joined #RubyOnRails
[06:31:07] bijan_: has joined #RubyOnRails
[06:34:04] spd_25: Hello, I am new here and I want to contribute in the ruby on rails project. How should I get started?
[06:35:46] bijan_: has joined #RubyOnRails
[06:44:07] bijan_: has joined #RubyOnRails
[06:45:17] Jervis_: has joined #RubyOnRails
[06:48:23] bijan__: has joined #RubyOnRails
[06:50:12] reber: has joined #RubyOnRails
[06:56:37] bijan_: has joined #RubyOnRails
[06:56:46] lexileo: has joined #RubyOnRails
[07:02:41] ariedler: has joined #RubyOnRails
[07:09:47] bijan_: has joined #RubyOnRails
[07:10:13] cnsvc_: has joined #RubyOnRails
[07:18:14] bijan_: has joined #RubyOnRails
[07:21:57] bijan__: has joined #RubyOnRails
[07:24:38] mauro1254: has joined #RubyOnRails
[07:34:38] bijan_: has joined #RubyOnRails
[07:39:00] jenrzzz: has joined #RubyOnRails
[07:40:01] armyriad: has joined #RubyOnRails
[07:43:27] bijan_: has joined #RubyOnRails
[07:46:40] w0rd-driven: has joined #RubyOnRails
[07:47:41] bijan__: has joined #RubyOnRails
[07:51:48] pbodev1: has joined #RubyOnRails
[07:51:54] bijan_: has joined #RubyOnRails
[07:52:05] pbodev1: has joined #RubyOnRails
[07:52:19] pbodev1: has joined #RubyOnRails
[07:52:33] pbodev1: has joined #RubyOnRails
[07:52:47] pbodev1: has joined #RubyOnRails
[07:53:10] pbodev1: has joined #RubyOnRails
[07:53:35] pbodev1: has joined #RubyOnRails
[07:53:55] pbodev1: has joined #RubyOnRails
[07:56:11] w0rd-driven: has joined #RubyOnRails
[07:56:50] roshanavand: has joined #RubyOnRails
[08:00:13] bijan_: has joined #RubyOnRails
[08:01:05] dionysus69: just for info, there's this Rails group on linkedin for those who are interested: https://www.linkedin.com/groups/13653102/
[08:01:18] pbodev1: has joined #RubyOnRails
[08:03:50] Bin4ry: has joined #RubyOnRails
[08:04:08] jenrzzz: has joined #RubyOnRails
[08:04:41] w0rd-driven: has joined #RubyOnRails
[08:04:58] srinidhi: has joined #RubyOnRails
[08:08:20] bijan_: has joined #RubyOnRails
[08:12:01] cnsvc_: has joined #RubyOnRails
[08:12:46] bijan__: has joined #RubyOnRails
[08:17:38] jenrzzz: has joined #RubyOnRails
[08:25:45] jsc: has joined #RubyOnRails
[08:26:11] cnsvc_: has joined #RubyOnRails
[08:32:21] cnsvc_: has joined #RubyOnRails
[08:38:37] jenrzzz: has joined #RubyOnRails
[08:38:45] cnsvc_: has joined #RubyOnRails
[08:42:54] powerbit: has joined #RubyOnRails
[08:47:20] jenrzzz: has joined #RubyOnRails
[08:55:55] jenrzzz: has joined #RubyOnRails
[09:02:35] ur5us: has joined #RubyOnRails
[09:03:30] ariedler: has joined #RubyOnRails
[09:07:16] za1b1tsu: has joined #RubyOnRails
[09:17:12] jenrzzz: has joined #RubyOnRails
[09:28:41] Bin4ry: has joined #RubyOnRails
[09:34:22] jenrzzz: has joined #RubyOnRails
[09:47:29] gregf_: has joined #RubyOnRails
[09:47:33] cnsvc_: has joined #RubyOnRails
[09:49:35] Guest61854: has joined #RubyOnRails
[09:53:57] Bin4ry: has joined #RubyOnRails
[10:12:07] jenrzzz: has joined #RubyOnRails
[10:23:06] ElFerna: has joined #RubyOnRails
[10:29:17] Bin4ry: has joined #RubyOnRails
[10:36:20] gheegh: has joined #RubyOnRails
[10:39:23] hadifarnoud: has joined #RubyOnRails
[10:44:39] DTZUZO: has joined #RubyOnRails
[10:54:27] conta: has joined #RubyOnRails
[11:03:03] jenrzzz: has joined #RubyOnRails
[11:04:15] ariedler: has joined #RubyOnRails
[11:14:33] jenrzzz: has joined #RubyOnRails
[11:18:26] cnsvc_: has joined #RubyOnRails
[11:20:13] kapil____: has joined #RubyOnRails
[11:24:20] ElFerna: has joined #RubyOnRails
[11:54:20] jenrzzz: has joined #RubyOnRails
[11:54:31] conta: has joined #RubyOnRails
[11:55:06] ariedler: has joined #RubyOnRails
[12:06:03] hadifarnoud: has joined #RubyOnRails
[12:10:31] paranoicsan: has joined #RubyOnRails
[12:18:00] GodFather: has joined #RubyOnRails
[12:24:36] ElFerna: has joined #RubyOnRails
[12:32:31] nickjj: has joined #RubyOnRails
[12:33:41] jenrzzz: has joined #RubyOnRails
[12:46:33] dslegends: has joined #RubyOnRails
[12:47:30] jenrzzz: has joined #RubyOnRails
[12:49:20] cnsvc_: has joined #RubyOnRails
[12:55:24] gheegh: has joined #RubyOnRails
[12:57:03] jenrzzz: has joined #RubyOnRails
[13:02:47] reber: has joined #RubyOnRails
[13:06:16] jackhum: has joined #RubyOnRails
[13:09:20] jenrzzz: has joined #RubyOnRails
[13:15:59] roshanavand: has joined #RubyOnRails
[13:21:37] jenrzzz: has joined #RubyOnRails
[13:33:46] jenrzzz: has joined #RubyOnRails
[13:49:02] mostlybadfly: has joined #RubyOnRails
[13:49:49] crankharder: has joined #RubyOnRails
[13:52:44] paranoicsan: has joined #RubyOnRails
[13:54:09] jenrzzz: has joined #RubyOnRails
[13:58:41] jackhum: has joined #RubyOnRails
[14:09:11] Puffball: has joined #RubyOnRails
[14:12:37] kapil____: has joined #RubyOnRails
[14:18:30] cnsvc_: has joined #RubyOnRails
[14:41:17] jenrzzz: has joined #RubyOnRails
[14:55:57] ElFerna: has joined #RubyOnRails
[14:58:33] Guest61854: has joined #RubyOnRails
[15:04:09] paranoicsan: has joined #RubyOnRails
[15:08:05] krawchyk: has joined #RubyOnRails
[15:09:22] _aeris_: has joined #RubyOnRails
[15:11:43] jenrzzz: has joined #RubyOnRails
[15:22:38] gavit: has joined #RubyOnRails
[15:22:50] paranoicsan: has joined #RubyOnRails
[15:27:52] _aeris_: has joined #RubyOnRails
[15:32:07] Inside: Is it ever possible for .valid? to return true, but .save to return false?
[15:32:10] Inside: (for the same object)
[15:36:14] jenrzzz: has joined #RubyOnRails
[15:44:37] srinidhi: has joined #RubyOnRails
[15:48:40] cnsvc_: has joined #RubyOnRails
[15:49:56] conta: has joined #RubyOnRails
[15:52:29] jenrzzz: has joined #RubyOnRails
[16:06:30] _aeris_: has joined #RubyOnRails
[16:09:00] srinidhi: has joined #RubyOnRails
[16:18:14] Moeh: has joined #RubyOnRails
[16:20:54] cpruitt: has joined #RubyOnRails
[16:21:19] jenrzzz: has joined #RubyOnRails
[16:23:56] cpruitt: So I have an application that mostly works with dates in UTC, but the user facing portions localize time to the user's zone. I do this by setting time zone in the controller in a before action. I have an issue in which the application works correctly, but tests following the request tests that hit the controller fail. This is because the controller is setting Time.zone and later tests inherit that config change.
[16:24:51] cpruitt: So I've set a before :each in my rspec config to set Time.zone = Rails.application.config.time_zone. That solves the problem, but I'm curious if there's a better way or if my choice of using a before action for this is not ideal. Anyone have any thoughts?
[16:45:17] Dbugger: has joined #RubyOnRails
[16:56:46] jenrzzz: has joined #RubyOnRails
[17:17:19] mikecmpbll: has joined #RubyOnRails
[17:18:44] cnsvc_: has joined #RubyOnRails
[17:19:52] ElFerna: has joined #RubyOnRails
[17:33:16] jenrzzz: has joined #RubyOnRails
[17:38:19] andrewray: has joined #RubyOnRails
[17:38:46] andrewray: Is it possible to see the sprockets manifest in a rails console?
[17:38:58] andrewray: looks like it's an instantiated class but im' not sure where it lives
[17:42:00] syndikate: Not sure what caused this - I used draper gem, created a decorator which has a field being called itself inside a method with same name essentially going into an infinite loop. So, the app got stuck and I killed it. This somehow broke my mysql data. The table name got rewritten and I am not sure where to start debugging for this. Although, I could replace my dev data and go ahead but I want to inv
[17:42:05] syndikate: estigate what happened.
[17:42:47] NivenHuH: has joined #RubyOnRails
[17:44:17] ElFerna: has joined #RubyOnRails
[17:45:09] mikecmpbll: has joined #RubyOnRails
[18:02:11] gambl0r3: has joined #RubyOnRails
[18:04:30] eckhardt_: has joined #RubyOnRails
[18:04:53] bambanx: has joined #RubyOnRails
[18:08:46] gheegh: has joined #RubyOnRails
[18:22:31] TCrown: has joined #RubyOnRails
[18:23:59] TCrown: Hey all, been working on a Udemy course for ruby on rails.. I am having issues with push saying my ruby version != gemfile.. Ive tried everything, if anyone has a moment could they help me out? :D
[18:26:21] TCrown: pushing to heroku master branch*/production, push to github works fine
[18:26:28] baweaver: TCrown: What's the error text?
[18:26:59] TCrown: Compiling Ruby/Rails
[18:26:59] TCrown: remote: -----> Using Ruby version: ruby-2.5.1
[18:26:59] TCrown: remote: -----> Installing dependencies using bundler 1.15.2
[18:27:00] TCrown: remote: Ruby version change detected. Clearing bundler cache.
[18:27:00] TCrown: remote: Old: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]
[18:30:29] baweaver: "Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language" <- Make sure to use something like that next time. IRC will kick you otherwise.
[18:30:38] baweaver: If TCrown comes back, shoot them that.
[18:30:45] baweaver: Also this: https://devcenter.heroku.com/articles/ruby-versions
[18:34:05] TCrown: has joined #RubyOnRails
[18:34:08] TCrown: Sorry got booted
[18:34:19] TCrown: When i pasted the error
[18:34:49] TCrown: Failed to install gems via Bundler.
[18:34:49] TCrown: Detected a mismatch between your Ruby version installed and Ruby version specified in Gemfile or Gemfile.lock.
[18:35:46] TCrown: in cloud9 IDE
[18:38:50] ElFerna: has joined #RubyOnRails
[18:40:48] jenrzzz: has joined #RubyOnRails
[18:53:12] gambl0r3: has joined #RubyOnRails
[18:53:49] Aherin: has joined #RubyOnRails
[18:58:24] Jervis_: has joined #RubyOnRails
[19:01:13] TCrown: Could someone please assist me if they are available? New to ruby on rails. Having issues with push & deployment on heroku. getting error ' Failed to install gems via Bundler.
[19:01:13] TCrown: <TCrown> Detected a mismatch between your Ruby version installed and Ruby version specified in Gemfile or Gemfile.lock.'
[19:17:24] lxsameer: has joined #RubyOnRails
[19:17:58] Inside: 1) What does your Gemfile look like? Does it have a 'ruby 'X.X.X' directive at the top?
[19:18:24] Inside: The error basically means that the version of ruby installed on the server is not the same as the version of ruby that is specified by your Gemfile
[19:18:55] Inside: https://devcenter.heroku.com/articles/ruby-versions
[19:19:14] Inside: That should fix everything
[19:25:21] ElFerna: has joined #RubyOnRails
[19:25:37] weaksauce: has joined #RubyOnRails
[19:26:29] TCrown: Yes my gemfile does. i edited it to say ruby 2.5.0. ive troubleshot through heroku, but ill give that link some love too
[19:26:53] TCrown: I did change the version in the gemfile.lock at one point, but have used RVM to change my ruby version and bundler install since
[19:27:39] TCrown: also using MRI if thats relevant
[19:29:44] Inside: your thing says "using ruby-2.5.1"
[19:29:50] Inside: TCrown> remote: -----> Using Ruby version: ruby-2.5.1
[19:32:11] Inside: if you want 2.5 w/ any minor version you would do ruby '~> 2.5' or so
[19:32:29] Inside: (which is essentially >= 2.5.0 and <= 2.6.0)
[19:33:15] ElFerna: has joined #RubyOnRails
[19:33:50] ElFerna: has joined #RubyOnRails
[19:34:14] TCrown: i think i need to use 2.5.3
[19:34:24] TCrown: so i installed it on rvm
[19:35:56] TCrown: ruby -v returns 2.5.3p105, but when i push to heroku it says 2.5.1 is specified and 2.5.3 is in gemfile.lock
[19:37:42] Inside: 1) why do you need to use 2.5.3?
[19:38:25] TCrown: The course uses MRI, and when i looked at your link it said supported versions
[19:38:32] TCrown: 2.5.3 was listed there
[19:38:34] Inside: 2) You should be able to change Gemfile to have ruby '~> 2.5' like I said, then run bundle install to change your Gemfile.lock
[19:39:19] Inside: When you do that you're basically saying 'it's okay if I developed on 2.5.3, but the server has 2.5.1'
[19:40:18] GodFather: has joined #RubyOnRails
[19:40:21] gambl0r3: has joined #RubyOnRails
[19:40:56] TCrown: i understand
[19:41:04] TCrown: This was unexpected...: Your Ruby version is 2.3.4, but your Gemfile specified ~> 2.5
[19:41:15] TCrown: When i bundle install
[19:44:24] TCrown: i got it! Thanks for your help inside.. Just having it explained in words did the trick
[19:48:40] context: has joined #RubyOnRails
[19:48:44] context: anyone here use activejob + sidekiq? im trying to schedule a job in the future but it never shows up in sidekiq
[19:52:49] roshanavand: has joined #RubyOnRails
[19:58:57] jenrzzz: has joined #RubyOnRails
[20:00:56] Inside: what was the error?
[20:03:47] GodFather: has joined #RubyOnRails
[20:06:24] TCrown: Still not totally sure.. But i set ruby to 2.5.1, bundle install, and pushed it to heroku again and it worked.. although when i open the page it says application error lol.
[20:06:49] context: Inside: no error, AJ says it enqueued the job
[20:11:04] context: i see the job[s] in the redis key "schedule" but something tells me thats not where sidekiq is looking
[20:11:54] context: ignore that. wrong redis db :)
[20:12:51] defsdoor: has joined #RubyOnRails
[20:14:29] cpruitt: has joined #RubyOnRails
[20:14:30] context: got it. my console was using the wrong redis database :x
[20:22:39] cnsvc_: has joined #RubyOnRails
[20:23:24] ur5us: has joined #RubyOnRails
[20:25:12] carbone5: has joined #RubyOnRails
[20:44:08] bambanxx: has joined #RubyOnRails
[20:45:14] baweaver: TCrown: "Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language" <- Make sure to use something like that next time.
[20:45:21] baweaver: Also this: https://devcenter.heroku.com/articles/ruby-versions
[20:46:10] baweaver: Heroku typically has good docs if you search around, I know some of the folks who write them and they try and make sure to document common errors like that.
[20:49:48] ElFerna: has joined #RubyOnRails
[20:53:33] Guest61854: has joined #RubyOnRails
[20:58:33] ElFerna: has joined #RubyOnRails
[21:00:19] za1b1tsu: has joined #RubyOnRails
[21:00:48] StarLord__: has joined #RubyOnRails
[21:07:36] za1b1tsu: has joined #RubyOnRails
[21:49:52] darkhanb: has joined #RubyOnRails
[21:53:00] powerbit: has joined #RubyOnRails
[21:53:21] powerbit: has joined #RubyOnRails
[21:53:40] powerbit: has joined #RubyOnRails
[21:55:13] MasterAsia: has joined #RubyOnRails
[21:55:39] MasterAsia: I have a contact form, what controller/endpoint should be used for submitting it
[21:56:02] MasterAsia: just getting opinionated thoughts
[21:56:06] powerbit: has joined #RubyOnRails
[21:58:45] weaksauce: has joined #RubyOnRails
[22:01:23] powerbit: has joined #RubyOnRails
[22:23:28] tycoon177_: has joined #RubyOnRails
[22:25:59] hive-mind: has joined #RubyOnRails
[22:30:57] lunarkitty7: has joined #RubyOnRails
[22:30:59] Ookma-Kyi: has joined #RubyOnRails
[22:31:14] Ookma-Kyi: Help: http://i65.tinypic.com/sg22ig.jpg
[22:34:04] gambl0r3: has joined #RubyOnRails
[22:39:29] Jervis_: has joined #RubyOnRails
[23:03:14] Ookma-Kyi: Can someone please look into this when available?
[23:27:32] ElFerna: has joined #RubyOnRails
[23:35:26] ebsen: has joined #RubyOnRails
[23:36:02] ElFerna: has joined #RubyOnRails
[23:36:53] ElFerna: has joined #RubyOnRails
[23:41:46] ElFerna: has joined #RubyOnRails
[23:43:36] cnsvc_: has joined #RubyOnRails
[23:50:46] ElFerna: has joined #RubyOnRails
[23:54:54] ElFerna: has joined #RubyOnRails