« Back to channel list

#RubyOnRails - 18 April 2019

« Back 1 day Forward 1 day »
[00:05:32] jarr0dsz: has joined #RubyOnRails
[00:06:13] jarr0dsz: hello fellow rubyionists
[00:06:30] jarr0dsz: i would like to ask some advice regarding hosting a rails application under a domain.ltd/customlocation
[00:07:12] jarr0dsz: is there some official documentation on how i would handle this? i need also to have forms and posts from external api all work true this so i hoped i could globally prepend a 'mylocation' to everything that is genrated in rails ( form routes, routes, etc )
[00:16:03] jarr0dsz: so i found this writeup: https://gist.github.com/shad1w/75e7ebbbdc5382719cd06f56bbe6acd0 but form posts do not prepend this custom url route
[00:25:43] jarr0dsz: so setting RAILS_RELATIVE_URL_ROOT does not fix the forms. it would be nasty to manually having to prepend al routings
[00:29:52] jarr0dsz: so its 2019 and i cannot find a documented way for this, guess nobody wants to run rails in a subfolder
[00:38:21] jarr0dsz: anyone knows something better than having to do this: :url => "/" + ENV['RAILS_RELATIVE_URL_ROOT'] + vs_wizard_path do |f| in my whole app?
[00:48:40] SteenJobs: has joined #RubyOnRails
[00:49:54] ariedler: has joined #RubyOnRails
[00:54:44] pro777_: has joined #RubyOnRails
[00:55:08] iamdevnul_: has joined #RubyOnRails
[00:55:13] ferdi2005_: has joined #RubyOnRails
[00:55:21] Fenhl_: has joined #RubyOnRails
[00:55:27] arathald_: has joined #RubyOnRails
[01:00:59] russt_: has joined #RubyOnRails
[01:02:14] lghtstkr: has joined #RubyOnRails
[01:03:07] Fire-Dragon-DoL-: has joined #RubyOnRails
[01:04:37] noodle: has joined #RubyOnRails
[01:08:54] mclee: has joined #RubyOnRails
[01:09:53] mcr1: has joined #RubyOnRails
[01:21:54] tdy1: has joined #RubyOnRails
[01:33:54] DTZUZO: has joined #RubyOnRails
[01:36:37] Saukk: has joined #RubyOnRails
[01:38:55] gambl0re: has joined #RubyOnRails
[02:16:17] sevenseacat: has joined #RubyOnRails
[02:20:56] KeyJoo: has joined #RubyOnRails
[02:34:56] s2013: has joined #RubyOnRails
[02:35:21] bambanx: has joined #RubyOnRails
[02:38:19] alnk_: has joined #RubyOnRails
[02:40:06] DTZUZO: has joined #RubyOnRails
[02:47:02] mangold: has joined #RubyOnRails
[03:12:13] braincrash: has joined #RubyOnRails
[03:56:43] maryo: has joined #RubyOnRails
[04:29:28] duderonomy: has joined #RubyOnRails
[04:32:43] sevenseacat: has joined #RubyOnRails
[04:34:04] eckhardt: has joined #RubyOnRails
[04:37:20] duderonomy: has joined #RubyOnRails
[05:28:01] davidfetter_work: has joined #RubyOnRails
[05:32:03] kapil____: has joined #RubyOnRails
[05:59:10] eckhardt: has joined #RubyOnRails
[06:12:02] eckhardt: has joined #RubyOnRails
[06:17:28] davidfetter_work: has joined #RubyOnRails
[06:27:04] Terens: has joined #RubyOnRails
[06:48:59] lato: has joined #RubyOnRails
[06:50:56] planigan: has joined #RubyOnRails
[07:15:28] lxsameer: has joined #RubyOnRails
[07:21:29] srinidhi: has joined #RubyOnRails
[07:23:54] srinidhi: has joined #RubyOnRails
[07:24:53] Dbugger: has joined #RubyOnRails
[07:36:39] planigan: has joined #RubyOnRails
[08:03:31] Haydos: has joined #RubyOnRails
[08:04:06] defsdoor: has joined #RubyOnRails
[08:23:34] dionysus69: has joined #RubyOnRails
[08:27:18] jefffrails35: has joined #RubyOnRails
[08:32:09] mangold: has joined #RubyOnRails
[08:41:49] jottr: has joined #RubyOnRails
[08:48:37] lxsameer: has joined #RubyOnRails
[08:57:59] lxsameer: has joined #RubyOnRails
[09:18:20] dionysus69: has joined #RubyOnRails
[09:20:50] tlarevo: has joined #RubyOnRails
[09:41:18] gregf_: has joined #RubyOnRails
[10:10:17] davidfetter_work: has joined #RubyOnRails
[10:22:32] za1b1tsu: has joined #RubyOnRails
[10:22:56] uks: has joined #RubyOnRails
[10:32:46] davidfetter_work: has joined #RubyOnRails
[10:52:17] lankanmon: has joined #RubyOnRails
[10:53:11] Ergo: has joined #RubyOnRails
[11:06:14] jarr0dsz: has joined #RubyOnRails
[11:06:23] jarr0dsz: hello everyone, with rails 5.x can i have Non-digested asset names ?
[11:09:45] schne1der: has joined #RubyOnRails
[11:35:06] agent_white: has joined #RubyOnRails
[12:01:24] kapil____: has joined #RubyOnRails
[12:19:41] mangold: has joined #RubyOnRails
[12:34:41] mangold: has joined #RubyOnRails
[12:35:52] tdy1: has joined #RubyOnRails
[12:46:45] catbusters: has joined #RubyOnRails
[13:01:46] helpa: has joined #RubyOnRails
[13:02:02] helpa: has joined #RubyOnRails
[13:05:44] Voxxit: has joined #RubyOnRails
[13:26:20] sandstrom: has joined #RubyOnRails
[13:41:48] schne1der: has joined #RubyOnRails
[14:10:41] krawchyk: has joined #RubyOnRails
[14:22:34] davidfetter_work: has joined #RubyOnRails
[14:43:58] mangold: has joined #RubyOnRails
[14:49:47] GodFather: has joined #RubyOnRails
[14:53:30] ariedler: has joined #RubyOnRails
[14:56:04] davidfetter_work: has joined #RubyOnRails
[15:04:56] Eindoofus: has joined #RubyOnRails
[15:05:08] mangold: has joined #RubyOnRails
[15:08:16] Eindoofus: can anyone someone please explain how i'm able to use 'user_params' in the top example but in the bottom class 'params[:email]' is used? i would have at least expected 'user_params[:email]' in the second example, but that still doesn't make sense. how does it knows about 'user_'?
[15:08:18] Eindoofus: https://dpaste.de/CzMY
[15:12:27] SteenJobs: has joined #RubyOnRails
[15:13:09] Dbugger: has joined #RubyOnRails
[15:15:30] agent_white: has joined #RubyOnRails
[15:19:41] s2013: has joined #RubyOnRails
[15:22:15] SteenJobs: has joined #RubyOnRails
[15:48:12] duderonomy: has joined #RubyOnRails
[15:49:48] jottr: has joined #RubyOnRails
[16:05:24] ariedler: has joined #RubyOnRails
[16:09:12] gambl0re: has joined #RubyOnRails
[16:36:48] duderonomy: has joined #RubyOnRails
[16:37:59] davidfetter_work: has joined #RubyOnRails
[16:52:53] xco: has joined #RubyOnRails
[16:53:15] sandstrom: has joined #RubyOnRails
[16:53:54] Ropeney: has joined #RubyOnRails
[16:56:34] sameerynho: has joined #RubyOnRails
[17:06:50] krawchyk: has joined #RubyOnRails
[17:24:21] duderonomy: has joined #RubyOnRails
[17:35:34] mangold: has joined #RubyOnRails
[17:50:49] gambl0re: has joined #RubyOnRails
[17:51:43] gambl0re: has joined #RubyOnRails
[17:59:22] duderonomy: has joined #RubyOnRails
[18:03:07] krawchyk: has joined #RubyOnRails
[18:17:55] davidfetter_work: has joined #RubyOnRails
[18:17:56] powerbit: has joined #RubyOnRails
[18:21:54] beholders_eye: has joined #RubyOnRails
[18:22:08] duderonomy: has joined #RubyOnRails
[18:25:13] jefffrails35: eindoofus, user_params is usually a private function defined in the controller, it is used to whitelist request params. user_params should return an ActionController::Parameters class, you can view it as a hash.
[18:25:40] jefffrails35: eindoofus, https://api.rubyonrails.org/classes/ActionController/Parameters.html
[18:27:12] jefffrails35: jarr0dsz, it seems to be described here: https://guides.rubyonrails.org/asset_pipeline.html#turning-digests-off
[18:57:27] tdy1: has joined #RubyOnRails
[19:13:20] duderonomy: has joined #RubyOnRails
[19:22:42] aert: has joined #RubyOnRails
[19:42:15] Eindoofus: has joined #RubyOnRails
[19:47:26] maryo: has joined #RubyOnRails
[19:49:29] za1b1tsu: has joined #RubyOnRails
[20:24:30] aert: has joined #RubyOnRails
[20:32:36] duderonomy: has joined #RubyOnRails
[20:32:41] maryo_: has joined #RubyOnRails
[20:32:47] maryo__: has joined #RubyOnRails
[20:37:10] kapil____: has joined #RubyOnRails
[20:38:06] duderonomy: has joined #RubyOnRails
[20:46:55] aert: has joined #RubyOnRails
[20:56:07] aert: has joined #RubyOnRails
[20:59:38] aert: has joined #RubyOnRails
[21:04:11] RiPuk: has joined #RubyOnRails
[21:06:07] Fernando-Basso: has joined #RubyOnRails
[21:10:53] maryo: has joined #RubyOnRails
[21:22:34] mlt-: has joined #RubyOnRails
[22:09:35] newton: has left #RubyOnRails: ("RuntimeError")
[22:16:18] RiPuk: has joined #RubyOnRails
[22:25:17] aert: has joined #RubyOnRails
[22:26:33] aerth: has joined #RubyOnRails
[22:27:13] aert: has joined #RubyOnRails
[22:31:19] ariedler: has joined #RubyOnRails
[22:39:10] terabytes: has joined #RubyOnRails
[23:40:48] hammer065: has joined #RubyOnRails