« Back to channel list

#RubyOnRails - 16 September 2017

« Back 1 day Forward 1 day »
[00:03:03] bruno-: has joined #RubyOnRails
[00:03:28] jrabe: has joined #RubyOnRails
[00:09:24] jhfisc: has joined #RubyOnRails
[00:14:37] cagomez: has joined #RubyOnRails
[00:22:52] jhfisc: has joined #RubyOnRails
[00:27:40] jhfisc: has joined #RubyOnRails
[00:30:23] jhfisc: has joined #RubyOnRails
[00:39:40] kn-928: has joined #RubyOnRails
[00:52:16] jhfisc: has joined #RubyOnRails
[01:26:16] cagomez: has joined #RubyOnRails
[01:51:49] jhfisc: has joined #RubyOnRails
[02:03:07] jhfisc: has joined #RubyOnRails
[02:09:13] maryo: has joined #RubyOnRails
[02:16:07] jhfisc: has joined #RubyOnRails
[02:16:10] hahuang65: has joined #RubyOnRails
[02:28:53] atrius: has joined #RubyOnRails
[02:29:02] orbyt_: has joined #RubyOnRails
[02:31:53] jhfisc: has joined #RubyOnRails
[02:37:56] krz: has joined #RubyOnRails
[02:47:45] jhfisc: has joined #RubyOnRails
[02:49:45] tomoyuki28jp: has joined #RubyOnRails
[02:50:34] tomoyuki28jp: Anyone is using rails_best_practices with guard? This gem is no longer maintained: https://github.com/logankoester/guard-rails_best_practices
[02:54:26] thortron: has joined #RubyOnRails
[03:06:51] srinidhi: has joined #RubyOnRails
[03:09:01] irishfromua: has joined #RubyOnRails
[03:09:54] cagomez: has joined #RubyOnRails
[03:18:37] dviola: has joined #RubyOnRails
[03:20:58] hfp_work: has joined #RubyOnRails
[03:23:49] bronson: has joined #RubyOnRails
[03:33:55] kn-928: has joined #RubyOnRails
[04:04:09] wethu: has joined #RubyOnRails
[04:17:50] hahuang65: has joined #RubyOnRails
[04:18:10] pwnd_nsfw: has joined #RubyOnRails
[04:22:49] armyriad: has joined #RubyOnRails
[04:23:50] bronson: has joined #RubyOnRails
[04:27:44] mtkd: has joined #RubyOnRails
[04:27:47] syndikate: has joined #RubyOnRails
[04:28:04] CBebop: has joined #RubyOnRails
[04:28:23] baweaver: has joined #RubyOnRails
[04:28:25] Gm4n: has joined #RubyOnRails
[04:28:44] ltd: has joined #RubyOnRails
[04:28:58] bodie_: has joined #RubyOnRails
[04:31:14] JoshL: has joined #RubyOnRails
[04:48:04] ShalokShalom: has joined #RubyOnRails
[04:48:45] quazimodo: has joined #RubyOnRails
[04:51:23] bronson: has joined #RubyOnRails
[05:06:35] ahrs: has joined #RubyOnRails
[05:16:26] cagomez: has joined #RubyOnRails
[05:19:49] ShalokShalom: has joined #RubyOnRails
[05:32:16] quazimodo: has joined #RubyOnRails
[05:32:56] kn-928: has joined #RubyOnRails
[05:53:14] jhfisc: has joined #RubyOnRails
[05:58:20] quazimodo: has joined #RubyOnRails
[05:58:29] jhfisc: has joined #RubyOnRails
[06:05:05] jhfisc: has joined #RubyOnRails
[06:05:52] krz: has joined #RubyOnRails
[06:09:12] jhfisc: has joined #RubyOnRails
[06:12:12] coder2000: has joined #RubyOnRails
[06:14:04] jhfisc: has joined #RubyOnRails
[06:18:38] hahuang65: has joined #RubyOnRails
[06:19:53] jhfisc: has joined #RubyOnRails
[06:33:17] fighella: has joined #RubyOnRails
[06:34:29] fighella: anyone had it where ajax.post sends params to a controller… but when raise params.to_s in controller - the expected params nowhere to be found?
[06:36:04] krz: has joined #RubyOnRails
[06:47:20] jhfisc: has joined #RubyOnRails
[06:48:35] gambl0re: has joined #RubyOnRails
[06:48:35] wethu: has joined #RubyOnRails
[06:51:14] jhfisc: has joined #RubyOnRails
[06:54:58] mtkd: has joined #RubyOnRails
[07:02:22] banisterfiend: has joined #RubyOnRails
[07:03:17] jhfisc: has joined #RubyOnRails
[07:04:48] fighella: has joined #RubyOnRails
[07:13:07] jhfisc: has joined #RubyOnRails
[07:14:20] krz: has joined #RubyOnRails
[07:18:04] jhfisc: has joined #RubyOnRails
[07:26:38] jhfisc: has joined #RubyOnRails
[07:27:08] gambl0re: has joined #RubyOnRails
[07:32:25] cagomez: has joined #RubyOnRails
[07:32:59] sandstrom: has joined #RubyOnRails
[07:34:50] kn-928: has joined #RubyOnRails
[07:38:34] jhfisc: has joined #RubyOnRails
[07:45:10] jhfisc: has joined #RubyOnRails
[07:46:35] figuresofstick: has joined #RubyOnRails
[07:49:05] Ergo: has joined #RubyOnRails
[08:05:02] krz: has joined #RubyOnRails
[08:15:26] mostlybadfly: has joined #RubyOnRails
[08:18:19] marr: has joined #RubyOnRails
[08:19:03] bronson: has joined #RubyOnRails
[08:19:54] hahuang65: has joined #RubyOnRails
[08:32:28] cabotto: has joined #RubyOnRails
[08:37:46] gamblor3: has joined #RubyOnRails
[08:53:30] dionysus69: has joined #RubyOnRails
[09:01:14] krz: has joined #RubyOnRails
[09:18:52] bronson: has joined #RubyOnRails
[09:21:39] lxsameer: has joined #RubyOnRails
[09:36:09] high_fiver: has joined #RubyOnRails
[09:36:49] kn-928: has joined #RubyOnRails
[09:37:59] wethu: has joined #RubyOnRails
[09:48:15] cagomez: has joined #RubyOnRails
[09:56:27] krz: has joined #RubyOnRails
[10:00:30] srinidhi: has joined #RubyOnRails
[10:03:37] Saukk: has joined #RubyOnRails
[10:12:27] cagomez: has joined #RubyOnRails
[10:20:35] hahuang65: has joined #RubyOnRails
[10:31:53] chouhoulis: has joined #RubyOnRails
[10:38:00] roshanavand: has joined #RubyOnRails
[10:39:48] defsdoor: has joined #RubyOnRails
[10:52:07] krz: has joined #RubyOnRails
[11:14:33] wethu: has joined #RubyOnRails
[11:19:47] bronson: has joined #RubyOnRails
[11:29:20] netzfisch: has joined #RubyOnRails
[11:37:19] fighella: has joined #RubyOnRails
[11:38:52] kn-928: has joined #RubyOnRails
[11:52:00] ShalokShalom_: has joined #RubyOnRails
[12:15:02] dionysus69: has joined #RubyOnRails
[12:16:37] cagomez: has joined #RubyOnRails
[12:21:22] hahuang65: has joined #RubyOnRails
[12:24:09] srinidhi: has joined #RubyOnRails
[12:29:21] krz: has joined #RubyOnRails
[12:33:19] ur5us: has joined #RubyOnRails
[12:52:08] jhfisc: has joined #RubyOnRails
[12:58:29] GodFather: has joined #RubyOnRails
[13:00:35] krz: has joined #RubyOnRails
[13:01:28] fighella: has joined #RubyOnRails
[13:05:15] mostlybadfly: has joined #RubyOnRails
[13:08:10] jhfisc: has joined #RubyOnRails
[13:12:26] kn-928: has joined #RubyOnRails
[13:20:49] bronson: has joined #RubyOnRails
[13:33:56] kapil___: has joined #RubyOnRails
[13:34:06] kapil___: How To: Create custom layouts for device?
[13:40:39] tHurst0n: has joined #RubyOnRails
[13:48:46] ascarter: has joined #RubyOnRails
[13:54:05] ascarter: has joined #RubyOnRails
[13:57:48] chouhoulis: has joined #RubyOnRails
[14:09:58] atrius: has joined #RubyOnRails
[14:18:46] netzfisch: has joined #RubyOnRails
[14:22:31] hahuang65: has joined #RubyOnRails
[14:24:19] simmerz: has joined #RubyOnRails
[14:24:32] fighella: has joined #RubyOnRails
[14:33:28] simmerz: has joined #RubyOnRails
[14:35:09] ascarter: has joined #RubyOnRails
[14:42:26] ascarter: has joined #RubyOnRails
[14:52:34] conta: has joined #RubyOnRails
[15:03:21] mustmodify: has joined #RubyOnRails
[15:03:49] mustmodify: Interesting... in the last 60 days, someone has decided my Rails app must have a /wp-login.php endpoint. http://ft.trillian.im/85353d38f4d2f94dfd75830e8d48517cc62ddc94/6TwtFJRek2gHteAuylVE5CZ3DCv2e.jpg
[15:06:07] jhfisc: has joined #RubyOnRails
[15:12:00] jhfisc: has joined #RubyOnRails
[15:15:51] chouhoulis: has joined #RubyOnRails
[15:16:08] jhfisc: has joined #RubyOnRails
[15:21:43] bronson: has joined #RubyOnRails
[15:22:00] jhfisc: has joined #RubyOnRails
[15:23:48] powrtoch: has joined #RubyOnRails
[15:27:13] jhfisc: has joined #RubyOnRails
[15:29:44] deur-_: has joined #RubyOnRails
[15:30:03] jhfisc: has joined #RubyOnRails
[15:36:00] jhfisc: has joined #RubyOnRails
[15:41:45] irishfromua: has joined #RubyOnRails
[15:48:11] dviola: has joined #RubyOnRails
[15:49:57] kn-928: has joined #RubyOnRails
[15:50:02] fighella: has joined #RubyOnRails
[15:52:48] jhfisc: has joined #RubyOnRails
[15:57:45] jhfisc: has joined #RubyOnRails
[16:00:12] krz: has joined #RubyOnRails
[16:00:34] mars777: has joined #RubyOnRails
[16:02:40] jhfisc: has joined #RubyOnRails
[16:17:11] jhfisc: has joined #RubyOnRails
[16:23:10] orbyt_: has joined #RubyOnRails
[16:23:19] hahuang65: has joined #RubyOnRails
[16:27:56] conta: has joined #RubyOnRails
[16:31:55] krz: has joined #RubyOnRails
[16:33:14] jhfisc: has joined #RubyOnRails
[16:49:21] jhfisc: has joined #RubyOnRails
[16:54:46] jhfisc: has joined #RubyOnRails
[16:55:07] xaviergmail: has joined #RubyOnRails
[16:56:41] theunraveler: has joined #RubyOnRails
[17:01:13] jhfisc: has joined #RubyOnRails
[17:02:43] simmerz: has joined #RubyOnRails
[17:05:40] frexuz: has joined #RubyOnRails
[17:06:13] jhfisc: has joined #RubyOnRails
[17:10:39] frexuz: I have a weird case with Devise's current_user. I'm trying to set it manually, like @current_user = ..., in my case it results in `nil`, however `current_user` is still a valid user. I don't understand how!
[17:10:42] frexuz: https://gist.github.com/Frexuz/40dfe020676f7df3db36733c30848e67#file-application_controller-rb-L13
[17:11:41] simmerz: has joined #RubyOnRails
[17:12:12] jhfisc: has joined #RubyOnRails
[17:17:55] fighella: has joined #RubyOnRails
[17:18:27] funkytwig: has joined #RubyOnRails
[17:20:10] havenwood: frexuz: Devise #current_user method doesn't make any use of a @current_user instance variable as far as I can tell.
[17:20:29] havenwood: frexuz: You can override the method in your controller and call super if you want.
[17:21:42] funkytwig: Hi, i was trying to use 'rake assets:precompile' but yarn was missing. I use rbenv so could install webpack, or does that just make things more complex (still need yarn)
[17:21:45] havenwood: frexuz: def current_user; return unless auth_token && User.find(auth_token[:user_id]); super end
[17:22:13] havenwood: frexuz: Though the #find bit doesn't make much sense, as it'll error if there's not that id.
[17:22:51] bronson: has joined #RubyOnRails
[17:23:08] havenwood: funkytwig: If yarn is missing, install yarn.
[17:23:31] havenwood: funkytwig: What OS/distro?
[17:23:56] havenwood: your_package_manager_here install yarn
[17:24:07] havenwood: https://yarnpkg.com/lang/en/docs/install/
[17:29:21] FrostCandy: has joined #RubyOnRails
[17:31:36] mtkd: has joined #RubyOnRails
[17:32:21] francuz: has joined #RubyOnRails
[17:34:48] francuz: hi I have a rails app with some routes, and I'd like to add "admin" inline modification capability on the routes "domainname.com/admin/any/normal/route/i/want". I made most of the work already, but I'd need the rooting part(for now, I comment and uncomment a "before_action :set_editor").
[17:34:48] francuz: I'd like that when the admin goes to "domainname.com/admin/any/normal/route/i/want", it send him to the same action than "domainname.com/any/normal/route/i/want", but with a before_action function in addition to usual
[17:36:11] bruno-: has joined #RubyOnRails
[17:36:12] francuz: the other possibility would be for me to add the before_action always, with a param check at the begining, and he'd acces it through "domainname.com/any/normal/route/i/want?editor=true" for example, but I'm not crazy about the idea ...
[17:43:19] jhfisc: has joined #RubyOnRails
[17:44:41] Fire-Dragon-DoL: has joined #RubyOnRails
[17:55:08] jhfisc: has joined #RubyOnRails
[17:57:10] maryo: has joined #RubyOnRails
[18:00:14] jhfisc: has joined #RubyOnRails
[18:01:05] hahuang65: has joined #RubyOnRails
[18:02:50] FrostCandy: I'm having trouble getting rails to not use digeet when using url_to_javascript() This calls my javascript file along with a md5 digest appened to the name of the file, but other sites embed this javascript and the md5 file will eventually be obsolete. I tried url_to_javascript('my.js', digest: false) but that still doesnt work :(
[18:09:15] frexuz: havenwood, i tried def current_user .... but now i'm never signed_in when using `before_action :authenticate_user!`
[18:11:18] jhfisc: has joined #RubyOnRails
[18:11:19] frexuz: do i always have to use `sign_in` aswell? :|
[18:14:05] dionysus69: has joined #RubyOnRails
[18:28:49] funkytwig: havenwood, I don't have root access. Its debian. I will ask tham to add it. cmdtest seems to have yarn, will this do?
[18:36:10] mcr: has joined #RubyOnRails
[19:05:35] funkytwig: I made 'config.assets.compile = true' in production.rb. Is this sensible?
[19:12:01] moei: has joined #RubyOnRails
[19:16:59] netzfisch: has joined #RubyOnRails
[19:17:05] hahuang65: has joined #RubyOnRails
[19:20:04] mostlybadfly: has joined #RubyOnRails
[19:20:49] marr: has joined #RubyOnRails
[19:23:50] bronson: has joined #RubyOnRails
[19:28:04] jackhum: has joined #RubyOnRails
[19:37:00] kies: has joined #RubyOnRails
[19:37:57] mtkd: has joined #RubyOnRails
[19:47:36] dionysus70: has joined #RubyOnRails
[19:53:08] tHurst0n: has joined #RubyOnRails
[19:56:08] roshanavand: has joined #RubyOnRails
[20:12:55] jhfisc: has joined #RubyOnRails
[20:14:38] dachinat: has joined #RubyOnRails
[20:14:44] dachinat: hello. I'm submitting a form_tag form with GET > search?utf8=✓&query=test\. My problem is that I'm getting a double backslash in params[:query]. Do you know how to solve this?
[20:15:48] dachinat: * Rails 5.1.3 ruby 2.4.1p111
[20:16:09] dachinat: for example if I input test\ I get test\\.
[20:19:13] jhfisc: has joined #RubyOnRails
[20:22:17] jhfisc: has joined #RubyOnRails
[20:39:14] jhfisc: has joined #RubyOnRails
[20:45:09] jhfisc: has joined #RubyOnRails
[20:51:14] jhfisc: has joined #RubyOnRails
[20:54:43] jhfisc: has joined #RubyOnRails
[20:58:19] high_fiver: has joined #RubyOnRails
[21:05:01] hahuang65: has joined #RubyOnRails
[21:06:44] simmerz: has joined #RubyOnRails
[21:08:22] atrius: has joined #RubyOnRails
[21:09:01] planigan: has joined #RubyOnRails
[21:09:27] jhfisc: has joined #RubyOnRails
[21:24:43] bronson: has joined #RubyOnRails
[21:34:19] PresidentBiscuit: has joined #RubyOnRails
[21:35:26] ForeignBiscuit: has joined #RubyOnRails
[21:35:50] ForeignBiscuit: has joined #RubyOnRails
[21:36:15] bruno-: has joined #RubyOnRails
[21:37:15] jhfisc: has joined #RubyOnRails
[21:42:36] mcr: are you sure you are really getting a double backslash? In a "" string, a single \ will be shown as \\, because otherwise, it's an escape.
[21:43:12] tamouse__: i think they've left
[21:43:13] jhfisc: has joined #RubyOnRails
[21:48:54] kies: has joined #RubyOnRails
[21:57:17] jhfisc: has joined #RubyOnRails
[22:00:31] EminenceHC: has joined #RubyOnRails
[22:00:47] samleb: has joined #RubyOnRails
[22:03:45] Trynemjoel: has joined #RubyOnRails
[22:06:38] samleb: has left #RubyOnRails: ()
[22:07:04] samleb: has joined #RubyOnRails
[22:11:03] one_zero: has joined #RubyOnRails
[22:15:04] jhfisc: has joined #RubyOnRails
[22:21:11] jhfisc: has joined #RubyOnRails
[22:26:30] jhfisc: has joined #RubyOnRails
[22:29:09] ur5us: has joined #RubyOnRails
[22:34:46] kn-928: has joined #RubyOnRails
[22:39:56] jhfisc: has joined #RubyOnRails
[22:46:55] jhfisc: has joined #RubyOnRails
[22:57:15] jhfisc: has joined #RubyOnRails
[23:14:57] netzfisch: has joined #RubyOnRails
[23:19:46] funkytwig: has joined #RubyOnRails
[23:26:04] bronson: has joined #RubyOnRails
[23:28:56] jhfisc: has joined #RubyOnRails
[23:35:09] jhfisc: has joined #RubyOnRails
[23:40:35] jhfisc: has joined #RubyOnRails
[23:46:12] jhfisc: has joined #RubyOnRails