« Back to channel list

#RubyOnRails - 01 March 2018

« Back 1 day Forward 1 day »
[00:00:43] tcopeland: has joined #RubyOnRails
[00:02:50] hahuang65: has joined #RubyOnRails
[00:03:49] guacamole: has joined #RubyOnRails
[00:13:13] orbyt_: has joined #RubyOnRails
[00:20:59] ephemer0l: has joined #RubyOnRails
[00:23:03] yonahw_: has joined #RubyOnRails
[00:25:32] rgiscard: has joined #RubyOnRails
[00:40:12] hahuang65: has joined #RubyOnRails
[00:56:15] orbyt_: has joined #RubyOnRails
[01:03:47] sevenseacat: has joined #RubyOnRails
[01:12:40] orbyt_: has joined #RubyOnRails
[01:21:21] hahuang65: has joined #RubyOnRails
[01:23:23] hahuang65: has joined #RubyOnRails
[01:41:29] dviola: has joined #RubyOnRails
[01:41:51] Puffball: has joined #RubyOnRails
[01:53:42] Tempesta: has joined #RubyOnRails
[02:01:25] BinaryDigits: has joined #RubyOnRails
[02:02:32] BinaryDigits: has left #RubyOnRails: ()
[02:02:47] BinaryDigits: has joined #RubyOnRails
[02:12:40] twilling: has joined #RubyOnRails
[02:13:41] alfiemax: has joined #RubyOnRails
[02:14:02] hahuang65: has joined #RubyOnRails
[02:18:02] xcesariox: has joined #RubyOnRails
[02:18:19] hahuang65: has joined #RubyOnRails
[02:22:31] segy: has joined #RubyOnRails
[02:33:46] cpruitt: has joined #RubyOnRails
[02:51:15] xcesariox: has joined #RubyOnRails
[02:55:34] xcesariox: has joined #RubyOnRails
[03:01:56] hahuang65: has joined #RubyOnRails
[03:06:56] mroutis: has joined #RubyOnRails
[03:07:05] fryguy: has joined #RubyOnRails
[03:10:20] xcesariox: has joined #RubyOnRails
[03:12:00] hahuang65: has joined #RubyOnRails
[03:12:28] xcesariox: has joined #RubyOnRails
[03:16:17] kn-928: has joined #RubyOnRails
[03:16:17] alfiemax: has joined #RubyOnRails
[03:20:35] brycesenz: has joined #RubyOnRails
[03:38:09] chouhoulis: has joined #RubyOnRails
[03:43:47] chouhoulis: has joined #RubyOnRails
[03:46:13] hahuang65: has joined #RubyOnRails
[03:46:52] cpruitt: has joined #RubyOnRails
[03:48:07] chouhoulis: has joined #RubyOnRails
[03:49:44] mroutis: has joined #RubyOnRails
[03:51:52] alfiemax: has joined #RubyOnRails
[03:53:37] chouhoulis: has joined #RubyOnRails
[03:55:10] cpruitt: has joined #RubyOnRails
[03:55:27] whatasunnyday: has joined #RubyOnRails
[03:56:23] darkhanb: has joined #RubyOnRails
[03:56:28] lupine: has joined #RubyOnRails
[03:57:01] qyliss: has joined #RubyOnRails
[03:57:01] whatasunnyday: Hi, I'm trying to out webpacker. I have a javascript file with some jquery that attaches to the dom. How do I "require" it into app/javascript/packs/application.js? I don't think import './my_jquery' is working.
[03:59:10] chouhoulis: has joined #RubyOnRails
[04:00:52] hahuang65: has joined #RubyOnRails
[04:07:43] alfiemax: has joined #RubyOnRails
[04:07:59] dtzuzu: has joined #RubyOnRails
[04:10:10] chouhoulis: has joined #RubyOnRails
[04:14:39] cpruitt: has joined #RubyOnRails
[04:15:51] chouhoulis: has joined #RubyOnRails
[04:21:14] chouhoulis: has joined #RubyOnRails
[04:25:01] alfiemax: has joined #RubyOnRails
[04:25:15] trautwein: has joined #RubyOnRails
[04:26:47] chouhoulis: has joined #RubyOnRails
[04:33:46] cpruitt: has joined #RubyOnRails
[04:34:13] ramfjord: has joined #RubyOnRails
[04:37:57] chouhoulis: has joined #RubyOnRails
[04:43:31] chouhoulis: has joined #RubyOnRails
[04:49:04] chouhoulis: has joined #RubyOnRails
[04:52:52] schneider: has joined #RubyOnRails
[04:53:24] chouhoulis: has joined #RubyOnRails
[04:59:13] chouhoulis: has joined #RubyOnRails
[05:00:06] darkhanb: has joined #RubyOnRails
[05:01:17] kies: has joined #RubyOnRails
[05:02:36] cpruitt: has joined #RubyOnRails
[05:04:36] chouhoulis: has joined #RubyOnRails
[05:10:02] chouhoulis: has joined #RubyOnRails
[05:15:31] chouhoulis: has joined #RubyOnRails
[05:20:41] cpruitt: has joined #RubyOnRails
[05:32:10] chouhoulis: has joined #RubyOnRails
[05:36:21] sidx64: has joined #RubyOnRails
[05:43:18] chouhoulis: has joined #RubyOnRails
[05:44:45] creature: has joined #RubyOnRails
[05:46:59] cpruitt: has joined #RubyOnRails
[05:50:19] xcesariox: has joined #RubyOnRails
[05:54:17] chouhoulis: has joined #RubyOnRails
[05:56:17] russt: has joined #RubyOnRails
[05:56:37] Liothen: has joined #RubyOnRails
[05:59:39] chouhoulis: has joined #RubyOnRails
[06:05:15] chouhoulis: has joined #RubyOnRails
[06:10:44] chouhoulis: has joined #RubyOnRails
[06:13:02] schneider: has joined #RubyOnRails
[06:15:54] blackcross: I have <input type="text" id="serial_id" value=<%= @serial_id %> /> in a _form.html.erb for creation of a LineItem model instance, serial_id is not a field in LineItem, but is needed to have LineItem added to a Serial after creation, How would i get the serial_id from the input in def create? I have tried @serial_id = line_item_params[:serial_id] as well as @serial_id = params[:serial_id]
[06:15:54] blackcross: and neither work
[06:16:16] chouhoulis: has joined #RubyOnRails
[06:20:46] blackcross: I want to be able to use @serial.line_items.new(line_item_params) but have no idea on how to pass or get @serial from inside my LineItem's def create. Any help would be appreciated.
[06:27:17] chouhoulis: has joined #RubyOnRails
[06:32:47] chouhoulis: has joined #RubyOnRails
[06:34:00] ramfjord: has joined #RubyOnRails
[06:37:14] chouhoulis: has joined #RubyOnRails
[06:39:46] aguestuser: has joined #RubyOnRails
[06:42:51] chouhoulis: has joined #RubyOnRails
[06:47:53] srinidhi: has joined #RubyOnRails
[06:48:28] sidx64: has joined #RubyOnRails
[06:53:49] chouhoulis: has joined #RubyOnRails
[06:59:24] chouhoulis: has joined #RubyOnRails
[07:04:53] chouhoulis: has joined #RubyOnRails
[07:21:29] chouhoulis: has joined #RubyOnRails
[07:22:56] DrYockel: has joined #RubyOnRails
[07:26:56] chouhoulis: has joined #RubyOnRails
[07:30:10] darkhanb: has joined #RubyOnRails
[07:34:32] conta: has joined #RubyOnRails
[07:36:04] sidx64: has joined #RubyOnRails
[07:41:28] sidx64: has joined #RubyOnRails
[07:42:33] schneider: has joined #RubyOnRails
[07:43:29] chouhoulis: has joined #RubyOnRails
[07:48:57] chouhoulis: has joined #RubyOnRails
[07:52:04] Ergo: has joined #RubyOnRails
[07:57:23] KeyJoo: has joined #RubyOnRails
[08:00:01] chouhoulis: has joined #RubyOnRails
[08:02:35] sidx64: has joined #RubyOnRails
[08:05:00] dionysus69: has joined #RubyOnRails
[08:05:47] jokke: has joined #RubyOnRails
[08:16:52] chouhoulis: has joined #RubyOnRails
[08:17:48] srinidhi: has joined #RubyOnRails
[08:22:23] chouhoulis: has joined #RubyOnRails
[08:27:55] chouhoulis: has joined #RubyOnRails
[08:31:40] roshanavand: has joined #RubyOnRails
[08:33:45] ramfjord: has joined #RubyOnRails
[08:40:04] chouhoulis: has joined #RubyOnRails
[08:40:27] schneider: has joined #RubyOnRails
[08:45:34] chouhoulis: has joined #RubyOnRails
[08:50:01] chouhoulis: has joined #RubyOnRails
[08:55:33] chouhoulis: has joined #RubyOnRails
[08:55:56] marr: has joined #RubyOnRails
[09:01:05] chouhoulis: has joined #RubyOnRails
[09:06:39] chouhoulis: has joined #RubyOnRails
[09:07:56] mikecmpbll: has joined #RubyOnRails
[09:10:20] Fusselgesicht: has joined #RubyOnRails
[09:17:42] chouhoulis: has joined #RubyOnRails
[09:17:54] moei: has joined #RubyOnRails
[09:19:43] sidx64: has joined #RubyOnRails
[09:22:09] sidx64: has joined #RubyOnRails
[09:26:03] apeiros: has joined #RubyOnRails
[09:27:49] chouhoulis: has joined #RubyOnRails
[09:33:15] chouhoulis: has joined #RubyOnRails
[09:33:41] ramfjord: has joined #RubyOnRails
[09:35:37] sidx64: has joined #RubyOnRails
[09:38:03] srinidhi: has joined #RubyOnRails
[09:43:22] sidx64: has joined #RubyOnRails
[09:44:18] chouhoulis: has joined #RubyOnRails
[09:54:07] riotjones: has joined #RubyOnRails
[09:54:16] armyriad: has joined #RubyOnRails
[09:55:21] chouhoulis: has joined #RubyOnRails
[09:58:12] arBmind: has joined #RubyOnRails
[10:09:51] sidx64: has joined #RubyOnRails
[10:16:13] mtkd: has joined #RubyOnRails
[10:17:40] chouhoulis: has joined #RubyOnRails
[10:27:14] cschneid: has joined #RubyOnRails
[10:29:34] chouhoulis: has joined #RubyOnRails
[10:32:04] sameerynho: has joined #RubyOnRails
[10:35:08] chouhoulis: has joined #RubyOnRails
[10:40:03] srinidhi: has joined #RubyOnRails
[10:40:31] sidx64: has joined #RubyOnRails
[10:46:09] ariejan: has joined #RubyOnRails
[10:46:18] chouhoulis: has joined #RubyOnRails
[10:51:03] roshanavand: has joined #RubyOnRails
[10:51:53] chouhoulis: has joined #RubyOnRails
[10:58:13] sidx64: has joined #RubyOnRails
[11:00:22] schneider: has joined #RubyOnRails
[11:03:03] chouhoulis: has joined #RubyOnRails
[11:08:15] chouhoulis: has joined #RubyOnRails
[11:08:55] mtkd: has joined #RubyOnRails
[11:13:49] chouhoulis: has joined #RubyOnRails
[11:15:11] srinidhi: has joined #RubyOnRails
[11:18:55] sidx64: has joined #RubyOnRails
[11:19:18] chouhoulis: has joined #RubyOnRails
[11:19:27] fox_mulder_cp: has joined #RubyOnRails
[11:23:06] quazimodo: has joined #RubyOnRails
[11:23:41] apparition: has joined #RubyOnRails
[11:30:25] chouhoulis: has joined #RubyOnRails
[11:31:53] sidx64: has joined #RubyOnRails
[11:34:03] ramfjord: has joined #RubyOnRails
[11:38:22] Cavallari: has joined #RubyOnRails
[11:41:28] KeyJoo: has joined #RubyOnRails
[11:41:38] chouhoulis: has joined #RubyOnRails
[11:47:03] chouhoulis: has joined #RubyOnRails
[11:51:45] chouhoulis: has joined #RubyOnRails
[11:57:01] chouhoulis: has joined #RubyOnRails
[11:58:00] za1b1tsu: has joined #RubyOnRails
[12:00:42] sidx64: has joined #RubyOnRails
[12:01:00] ramfjord: has joined #RubyOnRails
[12:01:25] TvL2386: hey guys, I'm looking for a good solution to create a searchable select box
[12:01:40] TvL2386: I have implemented this: https://www.devbridge.com/sourcery/components/jquery-autocomplete
[12:03:04] TvL2386: I'm selecting companies from a very large list which is retrieved by ajax using the above javascript
[12:03:35] TvL2386: currently I'm showing the company name in a text field, and use javascript to put the company_id in a hidden field
[12:04:13] TvL2386: I need all kinds of wizardry to make sure the hidden field gets emptied if you hit backspace on the company name
[12:04:23] TvL2386: I think I simply need a select field (dropdown menu)
[12:04:29] TvL2386: with ajax search :)
[12:04:45] TvL2386: sorry for blurring it out here... been working/thinking about this for hours
[12:12:22] schneider: has joined #RubyOnRails
[12:13:12] TvL2386: guess I need to look at select2.org
[12:13:15] TvL2386: better suited
[12:13:36] chouhoulis: has joined #RubyOnRails
[12:14:35] Terens: has joined #RubyOnRails
[12:14:40] Terens: I use action cable
[12:15:03] Terens: however although messages are received in order when I broadcast them they get out of order
[12:15:12] Terens: any idea what can be done?
[12:19:46] roshanavand: has joined #RubyOnRails
[12:28:16] sidx64: has joined #RubyOnRails
[12:29:12] chouhoulis: has joined #RubyOnRails
[12:30:27] aguestuser: has joined #RubyOnRails
[12:32:35] _ritchie_: has joined #RubyOnRails
[12:34:39] chouhoulis: has joined #RubyOnRails
[12:40:11] chouhoulis: has joined #RubyOnRails
[12:45:41] chouhoulis: has joined #RubyOnRails
[12:51:12] chouhoulis: has joined #RubyOnRails
[12:56:47] chouhoulis: has joined #RubyOnRails
[12:59:51] Saukk: has joined #RubyOnRails
[13:01:30] schneider: has joined #RubyOnRails
[13:02:18] chouhoulis: has joined #RubyOnRails
[13:09:23] lxsameer: has joined #RubyOnRails
[13:12:57] sidx64: has joined #RubyOnRails
[13:13:38] schneider: has joined #RubyOnRails
[13:14:17] mtkd: has joined #RubyOnRails
[13:14:41] chouhoulis: has joined #RubyOnRails
[13:19:59] chouhoulis: has joined #RubyOnRails
[13:24:29] DrYockel: has joined #RubyOnRails
[13:27:06] workmad3: has joined #RubyOnRails
[13:27:47] dionysus69: has joined #RubyOnRails
[13:27:51] fgielow: has joined #RubyOnRails
[13:29:24] durango: has joined #RubyOnRails
[13:29:39] fgielow: has joined #RubyOnRails
[13:31:02] chouhoulis: has joined #RubyOnRails
[13:33:15] schneider: has joined #RubyOnRails
[13:34:22] ams__: has joined #RubyOnRails
[13:34:54] yoones: has joined #RubyOnRails
[13:36:32] chouhoulis: has joined #RubyOnRails
[13:43:17] yoones: Hi. I just read the manual but don't quite get the difference between .to_h and .to_hash. Could someone help me understand it please?
[13:44:45] dminuoso: yoones: to_h is for manual conversion, to_hash is for implicit conversion
[13:45:13] dminuoso: yoones: This holds true for all those things. to_i/to_int, to_s/to_str, to_a/to_ary
[13:45:38] dminuoso: yoones: The only example I can think of is...
[13:45:42] dminuoso: def (**foo); end
[13:45:51] dminuoso: This will try to to_hash an argument if its not a hash already
[13:47:34] chouhoulis: has joined #RubyOnRails
[13:53:15] blackcross: When clicking a link in rails 5, javascript no longer works on the new page until I reload the page, how do i fix this?
[13:53:19] chouhoulis: has joined #RubyOnRails
[13:53:53] blackcross: and what is causing it, i looked the page source code, and it looks like it should of loaded the javascript, it is no different than when i reload the page, but the javascript works when i reload the page or manually enter the page url
[13:56:15] dminuoso: blackcross: Disable turbolinks, see if the problem persists.
[13:58:36] chouhoulis: has joined #RubyOnRails
[13:59:22] schneider: has joined #RubyOnRails
[13:59:25] blackcross: lol, ok, whole website is based off turbolinks isn't it? like, link_to has to use turbolinks or no?
[14:01:52] ramfjord: has joined #RubyOnRails
[14:04:02] dminuoso: blackcross: Its rigged in transparently.
[14:04:23] dminuoso: blackcross: Just temporarily disable it for diagnostic purposes.
[14:06:35] blackcross: yes that worked
[14:07:13] blackcross: so how do i go about making my coffeescripts autoload now at the end of the pages with <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> removed?
[14:08:14] dminuoso: blackcross: That was just for diagnostic purposes.
[14:08:21] dminuoso: blackcross: How do you load your JavaScript code?
[14:09:40] chouhoulis: has joined #RubyOnRails
[14:09:54] blackcross: I have my code in app/assets/javascripts/line_items.coffee for example
[14:10:29] dminuoso: blackcross: That does not automatically load it.
[14:10:53] dminuoso: blackcross: Gist the content please.
[14:10:57] blackcross: and then i have https://0bin.net/paste/kQBFLm-6VW7uzLih#nl2ZBcA+pdlVUDthFxmQX6wrqLo7WONGerE4wf-VRz8 at the in my _footer.html.erb file
[14:11:01] mtkd: has joined #RubyOnRails
[14:11:09] workmad3: has joined #RubyOnRails
[14:13:43] blackcross: It looks like I can just remove //= require turbolinks from app/assets/javascripts/application.js and leave the "<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>" in my _footer.html.erb and that loads all my javascript assets and javascript still works, is this OK to do or is it bad practice?
[14:15:14] chouhoulis: has joined #RubyOnRails
[14:16:26] dminuoso: blackcross: Well if you remove turbolinks it makes my job easier. Or you need to learn how turbolinks changes HTML/DOM semantics
[14:16:48] dminuoso: blackcross: The problem is probably the content of your app/assets/javascripts/line_items.coffee though
[14:16:57] dminuoso: But you didn't gist that, so I cant reason about it.
[14:16:58] lessd: has joined #RubyOnRails
[14:17:08] lgbr: has joined #RubyOnRails
[14:17:57] blackcross: i just learned turbolinks uses ajax to replace the body, so it fucks over any footer javascript (in the body), so i will just disable it
[14:18:05] blackcross: ty for all the help dminuoso
[14:19:13] dminuoso: blackcross: It doen't "fuck it over". You just need to change the way you load JavaScript. But disabling it is certainly a good way if you dont want to learn Turbolinks.
[14:19:20] blackcross: ahh, http://codkal.com/rails-how-to-remove-turbolinks/ explains how to make everything work without turbolinks :)
[14:19:21] dminuoso: Its better than "fixing it without knowing the semantics"
[14:19:53] dminuoso: blackcross: The thing is, you no longer have document:ready events, instead you must hook into different events.
[14:19:58] dminuoso: But basically there's lots of other subtle things.
[14:20:34] blackcross: dminuoso, how would i go about fixing javascript not working when using turbolinks then? Is there a up to date guide?
[14:20:40] chouhoulis: has joined #RubyOnRails
[14:21:00] dminuoso: blackcross: http://guides.rubyonrails.org/working_with_javascript_in_rails.html
[14:21:10] blackcross: ty will read
[14:21:13] dminuoso: blackcross: There's a section that talks about turbolinks. But read the entire article.
[14:26:15] chouhoulis: has joined #RubyOnRails
[14:30:36] mikecmpbll: has joined #RubyOnRails
[14:35:07] jhill_: has joined #RubyOnRails
[14:43:07] chouhoulis: has joined #RubyOnRails
[14:44:09] krawchyk: has joined #RubyOnRails
[14:45:30] riotjones: has joined #RubyOnRails
[14:48:19] chouhoulis: has joined #RubyOnRails
[14:50:41] desperek: has joined #RubyOnRails
[14:53:45] chouhoulis: has joined #RubyOnRails
[14:57:34] dviola: has joined #RubyOnRails
[14:58:41] shpoont: has joined #RubyOnRails
[14:59:17] chouhoulis: has joined #RubyOnRails
[15:08:57] Terens: I am struggling to convert this to rails datetime 1519916596.0613241
[15:09:00] Terens: any idea?
[15:11:36] riotjones: has joined #RubyOnRails
[15:11:56] sidx64: has joined #RubyOnRails
[15:16:46] Terens: this fails
[15:16:47] Terens: DateTime.strptime("1519916596.0613241", "%s.%7N").to_f
[15:17:09] kn-928: has joined #RubyOnRails
[15:23:06] schneider: has joined #RubyOnRails
[15:28:58] DrYockel: has joined #RubyOnRails
[15:30:16] beingjohnm: terens: DateTime.strptime("1519916596.0613241", '%s')
[15:42:20] chouhoulis: has joined #RubyOnRails
[15:48:36] troys: has joined #RubyOnRails
[15:49:44] uks: has joined #RubyOnRails
[15:59:12] dblessing: has joined #RubyOnRails
[16:16:16] mtkd: has joined #RubyOnRails
[16:17:21] srinidhi: has joined #RubyOnRails
[16:26:04] apeiros: has joined #RubyOnRails
[16:27:00] twilling: has joined #RubyOnRails
[16:27:19] conta: has joined #RubyOnRails
[16:27:56] tcopeland: has joined #RubyOnRails
[16:30:14] apeiros: has joined #RubyOnRails
[16:41:20] dblessing: has joined #RubyOnRails
[16:45:27] schneider: has joined #RubyOnRails
[16:48:06] mroutis: has joined #RubyOnRails
[16:49:49] Cavallari: has joined #RubyOnRails
[16:53:33] srinidhi: has joined #RubyOnRails
[17:04:45] tcopeland: has joined #RubyOnRails
[17:05:59] [Butch]: has joined #RubyOnRails
[17:06:56] conta: has joined #RubyOnRails
[17:11:53] one_zero: has joined #RubyOnRails
[17:14:08] jcarl43: has joined #RubyOnRails
[17:18:20] loglaunch: has joined #RubyOnRails
[17:24:09] schneider: has joined #RubyOnRails
[17:32:09] one_zero: has joined #RubyOnRails
[17:36:05] one_zero: has joined #RubyOnRails
[17:36:55] darkhanb: has joined #RubyOnRails
[17:38:46] shpoont: has joined #RubyOnRails
[17:40:14] aerook: has joined #RubyOnRails
[17:42:17] aerook: I have a mailer that is used to send emails with CSV attachments. This inconsistently fails due to "Undefined method `string` for nil", and it's being raised from: https://github.com/mikel/mail/blob/2-5-stable/lib/mail/parts_list.rb#L48 . Under some unknown condition, the `content-type` header is not being set on one of the mail parts.
[17:42:40] aerook: I'm not really sure what would cause this inconsistent behavior, since the mailer is used for several csvs and works for most of them.
[17:43:00] aerook: Can anyone point me in the right direction?
[17:43:39] ramfjord: has joined #RubyOnRails
[17:44:10] hahuang65: has joined #RubyOnRails
[17:50:55] hahuang65: has joined #RubyOnRails
[17:51:59] schneider: has joined #RubyOnRails
[17:56:23] srinidhi: has joined #RubyOnRails
[18:01:08] cjoshmartin: has joined #RubyOnRails
[18:03:54] dblessing: has joined #RubyOnRails
[18:05:44] Tempesta: has joined #RubyOnRails
[18:09:33] dionysus69: has joined #RubyOnRails
[18:16:12] hahuang65: has joined #RubyOnRails
[18:21:25] mtkd: has joined #RubyOnRails
[18:30:37] hahuang62: has joined #RubyOnRails
[18:32:57] kies: has joined #RubyOnRails
[18:59:56] ali_g: has joined #RubyOnRails
[19:03:11] ali_g: Hi all! has anybody tried renaming a URL for a single route in devise? I need the url for the edit_user_registration changed to account_settings but don't know where to start.
[19:03:55] ali_g: well i do know where
[19:04:02] ali_g: actually. I changed it to get 'account_settings', to: 'devise/registrations#edit'
[19:04:42] ali_g: and it worked as changing the URL goes but now I got an undefined method `validatable?' for nil:NilClass and I'm not sure if it's related or if I should threat it as a separate issue
[19:07:42] mroutis: ali_g: did you tried `devise_for :users, path_names: { registration: 'account_settings' }` ?
[19:07:52] mroutis: ali_g: I don't know if that's what you are looking for
[19:08:08] mroutis: ali_g: source https://github.com/plataformatec/devise#configuring-routes
[19:08:29] fragamus: has joined #RubyOnRails
[19:23:20] imanc_: has left #RubyOnRails: ()
[19:35:41] chouhoulis: has joined #RubyOnRails
[19:36:35] ali_g: perrrfect @mroutis! that it exactly what I was searching for. And apparently yes, that was what was messing up my devise config
[19:36:41] ali_g: Thank you!
[19:42:03] mroutis: ali_g: your welcome :)
[20:01:54] dblessing: has joined #RubyOnRails
[20:10:27] fragamus: has joined #RubyOnRails
[20:14:57] chridal: has joined #RubyOnRails
[20:27:00] mtkd: has joined #RubyOnRails
[20:30:22] shpoont: has joined #RubyOnRails
[20:31:48] gambl0re: has joined #RubyOnRails
[20:36:12] gambl0re: has joined #RubyOnRails
[20:36:57] mroutis: has joined #RubyOnRails
[21:18:53] workmad3: has joined #RubyOnRails
[21:31:31] Radar: has joined #RubyOnRails
[21:31:55] Puffball: has joined #RubyOnRails
[21:36:16] Dimik: has joined #RubyOnRails
[21:58:49] quazimodo: has joined #RubyOnRails
[22:01:06] chouhoulis: has joined #RubyOnRails
[22:05:43] quazimodo: has joined #RubyOnRails
[22:09:19] shpoont: has joined #RubyOnRails
[22:10:44] roshanavand: has joined #RubyOnRails
[22:12:10] chouhoulis: has joined #RubyOnRails
[22:17:41] chouhoulis: has joined #RubyOnRails
[22:23:29] chouhoulis: has joined #RubyOnRails
[22:24:05] schneider: has joined #RubyOnRails
[22:26:18] mroutis: has joined #RubyOnRails
[22:28:57] chouhoulis: has joined #RubyOnRails
[22:34:33] chouhoulis: has joined #RubyOnRails
[22:40:05] chouhoulis: has joined #RubyOnRails
[22:44:33] chouhoulis: has joined #RubyOnRails
[22:49:56] chouhoulis: has joined #RubyOnRails
[22:52:57] withanx: has joined #RubyOnRails
[22:55:31] chouhoulis: has joined #RubyOnRails
[22:56:44] chouhoulis: has joined #RubyOnRails
[22:56:50] shpoont: has joined #RubyOnRails
[23:02:19] chouhoulis: has joined #RubyOnRails
[23:05:52] wethu: has joined #RubyOnRails
[23:07:42] chouhoulis: has joined #RubyOnRails
[23:12:42] rgiscard: has joined #RubyOnRails
[23:13:18] chouhoulis: has joined #RubyOnRails
[23:16:05] garyserj: How can I make a get request from a controller?
[23:18:26] rgiscard: @garyserj: add httparty to your Gemfile and do HTTParty.get(url) and investigate response.
[23:18:52] chouhoulis: has joined #RubyOnRails
[23:19:16] withanx: or use the native net/http libraries https://ruby-doc.org/stdlib-2.5.0/libdoc/net/http/rdoc/Net/HTTP.html
[23:19:30] workmad3: has joined #RubyOnRails
[23:19:34] rgiscard: or what withanx said 8-)
[23:24:21] chouhoulis: has joined #RubyOnRails
[23:27:42] hahuang65: has joined #RubyOnRails
[23:31:40] mtkd: has joined #RubyOnRails
[23:35:31] chouhoulis: has joined #RubyOnRails
[23:37:19] xerxes: has joined #RubyOnRails
[23:39:12] cagomez: has joined #RubyOnRails
[23:39:50] cagomez: if FooController has a before_action on index, does Bar < FooController inherit that before_action on Bar#index?
[23:41:13] chouhoulis: has joined #RubyOnRails
[23:45:51] withanx: cagomez: yes, you’d have to use skip_before_filter to disable it on the subclassed controller
[23:46:47] chouhoulis: has joined #RubyOnRails
[23:47:00] cagomez: withanx: if Bar has #create, but Foo doesn't and I want to call a method on Foo as a before_action on Bar#create, I'd have to do that explicitly in Bar, right?
[23:49:46] withanx: cagomez: not necessarily. you can define a before_action in a parent class and it will work the same in the subclass as if it was defined in the subclass
[23:50:37] withanx: although, unless all of your subclasses have that method, I would probably just define the defore_action in the subclassed controller
[23:52:11] cagomez: interesting, thanks
[23:52:21] chouhoulis: has joined #RubyOnRails
[23:56:14] aguestuser: has joined #RubyOnRails
[23:57:46] chouhoulis: has joined #RubyOnRails