« Back to channel list

#RubyOnRails - 19 August 2018

« Back 1 day Forward 1 day »
[00:03:53] djuber: has joined #RubyOnRails
[00:05:15] djuber: has left #RubyOnRails: ("ERC (IRC client for Emacs 27.0.50)")
[00:09:59] s2013: has joined #RubyOnRails
[00:10:02] za1b1tsu: has joined #RubyOnRails
[00:10:19] apeiros: has joined #RubyOnRails
[00:11:33] cyberzeus: has joined #RubyOnRails
[00:14:49] c0san0stra: has joined #RubyOnRails
[00:21:58] apeiros: has joined #RubyOnRails
[00:37:03] apeiros: has joined #RubyOnRails
[00:43:56] Tempesta: has joined #RubyOnRails
[00:46:41] cyberzeus: has left #RubyOnRails: ("ciao edie")
[00:48:22] apeiros: has joined #RubyOnRails
[00:49:32] DTZUZO: has joined #RubyOnRails
[00:57:06] desnudopenguino: has joined #RubyOnRails
[00:58:41] desnudopenguino: you guys have any suggestions for stress testing tools for a rails app? i'm looking for something that can test authenticated user actions, there is only like one page that doesn't require authentication
[00:59:30] duderonomy: has joined #RubyOnRails
[00:59:44] apeiros: has joined #RubyOnRails
[00:59:48] quazimodo: has joined #RubyOnRails
[01:02:41] s2013: has joined #RubyOnRails
[01:15:38] quazimodo: has joined #RubyOnRails
[01:15:49] apeiros: has joined #RubyOnRails
[01:26:44] jottr: has joined #RubyOnRails
[01:30:32] apeiros: has joined #RubyOnRails
[01:46:38] apeiros: has joined #RubyOnRails
[01:48:28] fourcolors: has joined #RubyOnRails
[01:49:32] faitswulff: has joined #RubyOnRails
[01:52:07] za1b1tsu: has joined #RubyOnRails
[01:55:20] apeiros: has joined #RubyOnRails
[02:04:41] apeiros: has joined #RubyOnRails
[02:56:32] faitswulff: has joined #RubyOnRails
[03:02:55] za1b1tsu: has joined #RubyOnRails
[03:10:32] braincrash: has joined #RubyOnRails
[03:24:49] faitswulff: has joined #RubyOnRails
[03:27:33] jottr: has joined #RubyOnRails
[03:37:55] fourcolors: has joined #RubyOnRails
[03:45:13] akaiiro: has joined #RubyOnRails
[04:01:28] kapil___: has joined #RubyOnRails
[04:27:44] Saukk: has joined #RubyOnRails
[04:35:33] fourcolors: has joined #RubyOnRails
[04:37:44] faitswulff: has joined #RubyOnRails
[04:43:17] ragsagar: has joined #RubyOnRails
[04:50:53] za1b1tsu: has joined #RubyOnRails
[04:58:10] fourcolors: has joined #RubyOnRails
[05:01:04] faitswulff: has joined #RubyOnRails
[05:11:04] starseed00: has joined #RubyOnRails
[05:12:05] fourcolors: has joined #RubyOnRails
[05:12:59] starseed00: So I am trying to setup memcached - when I do Rails.cache.write("hello", "world") I can see that the key is there with Rails.cache.stats, so I know my cache is setup correctly. The thing is, I have caches_action :show everywhere, and I have the action caching gem installed, but hitting my pages never results in any more items in the cache. Can anyone think of anything that would prevent my ac
[05:12:59] starseed00: tion caching from saving to memcached?
[05:13:42] starseed00: It seems like it's just action caching that isn't working. Also - I should note that it is working when I just do file_store instead of mem_cache_store
[05:14:40] starseed00: Oh I should note that my action is returning json - would that affect things?
[05:22:18] fourcolors: has joined #RubyOnRails
[05:28:24] jottr: has joined #RubyOnRails
[05:31:52] segy: has joined #RubyOnRails
[05:37:42] faitswulff: has joined #RubyOnRails
[05:37:57] sevenseacat: has joined #RubyOnRails
[05:43:11] Andr3as: fwiw, i found a solution for the "location with number sign paths"
[05:43:15] Andr3as: location: admin_index_path(anchor: 'instrument_templates')
[05:43:50] Andr3as: ah, and: morning
[05:46:23] starseed00: has joined #RubyOnRails
[06:08:25] srinidhi: has joined #RubyOnRails
[06:09:13] apparition: has joined #RubyOnRails
[06:19:17] duderono_: has joined #RubyOnRails
[06:38:50] za1b1tsu: has joined #RubyOnRails
[06:39:27] Saukk: has joined #RubyOnRails
[06:40:51] jottr: has joined #RubyOnRails
[06:40:56] LambdaSource: has joined #RubyOnRails
[06:41:46] reber: has joined #RubyOnRails
[07:05:51] tdy1: has joined #RubyOnRails
[07:26:41] faitswulff: has joined #RubyOnRails
[08:06:41] za1b1tsu: has joined #RubyOnRails
[08:09:59] ragsagar: I have an existing model without any validations. I am writing a v2 api for this model. I would like to add validations checks in this api. What ways are there to add validations just to this API?
[08:11:27] ragsagar: Looks like FormObjects is what I need.
[08:25:54] apeiros: has joined #RubyOnRails
[08:32:48] sameerynho: has joined #RubyOnRails
[09:03:57] lupine: has joined #RubyOnRails
[09:13:55] Dbugger: has joined #RubyOnRails
[09:28:25] quazimodo: has joined #RubyOnRails
[09:38:16] quazimodo: has joined #RubyOnRails
[09:48:21] snuz: has joined #RubyOnRails
[09:50:36] wethu: has joined #RubyOnRails
[09:59:30] fyrekitty: has joined #RubyOnRails
[10:20:35] ragsagar: has joined #RubyOnRails
[10:45:43] conta: has joined #RubyOnRails
[11:01:39] Andr3as: is it possible to call a helper method to alter the pluck output? if not, anyone with a hint how to achieve it otherwise? here's a gist of what the situation is and what i need https://gist.github.com/awunder/ff822ca99458e215bdedff15faa11386
[11:02:04] faitswulff: has joined #RubyOnRails
[11:07:36] sevenseacat: Andr3as: call map on what you get back from the pluck
[11:08:00] Andr3as: i tried it but it maps the $ to USD.. havent found a way to have them both in it
[11:08:02] Andr3as: sevenseacat
[11:08:25] sevenseacat: .map { |v| [v, currency_to_iso(v) }
[11:08:32] Andr3as: and its prretty tough to google, actually
[11:08:49] Andr3as: so an array.. that makes sense
[11:08:54] Andr3as: thanks a lot! (again)
[11:08:58] sevenseacat: thats what you wanted isnt it?
[11:09:05] Andr3as: yes, it is
[11:09:35] Andr3as: i thought coz map already gave back an array..
[11:09:47] Andr3as: well, i dont know what i thought coz i always would need a 2d array
[11:31:58] srinidhi: has joined #RubyOnRails
[11:54:55] jottr: has joined #RubyOnRails
[11:59:51] pLaTo0n: has joined #RubyOnRails
[12:11:46] Xiti: has joined #RubyOnRails
[12:20:48] ragsagar: has joined #RubyOnRails
[12:21:49] fyrekitty: has joined #RubyOnRails
[12:26:37] DTZUZO: has joined #RubyOnRails
[13:02:52] faitswulff: has joined #RubyOnRails
[13:03:40] duderonomy: has joined #RubyOnRails
[13:04:04] jottr: has joined #RubyOnRails
[13:24:19] jackrandom: has joined #RubyOnRails
[13:31:20] kapil___: has joined #RubyOnRails
[13:33:34] faitswulff: has joined #RubyOnRails
[13:53:04] xlegoman: has joined #RubyOnRails
[14:02:57] faitswulff: has joined #RubyOnRails
[14:19:31] ragsagar: has joined #RubyOnRails
[14:32:48] faitswulff: has joined #RubyOnRails
[14:44:44] faitswulff: has joined #RubyOnRails
[14:55:08] ragsagar: has joined #RubyOnRails
[15:09:58] Technodrome: has joined #RubyOnRails
[15:13:46] Dimik: has joined #RubyOnRails
[15:17:18] faitswulff: has joined #RubyOnRails
[15:22:10] fmcgeough: has joined #RubyOnRails
[15:26:34] IanMalcolm: has joined #RubyOnRails
[15:32:19] za1b1tsu: has joined #RubyOnRails
[15:33:14] Saukk: has joined #RubyOnRails
[15:45:59] pistachio: has joined #RubyOnRails
[15:54:20] Dimik: has joined #RubyOnRails
[16:02:42] faitswulff: has joined #RubyOnRails
[16:12:43] orbyt_: has joined #RubyOnRails
[16:23:12] wstlr: has joined #RubyOnRails
[16:27:29] mr-spoon: has joined #RubyOnRails
[16:27:56] Scient: has joined #RubyOnRails
[16:28:18] arthurnn: has joined #RubyOnRails
[16:30:55] Psy-Q: has joined #RubyOnRails
[16:43:25] faitswulff: has joined #RubyOnRails
[17:05:41] s2013: has joined #RubyOnRails
[17:11:26] faitswulff: has joined #RubyOnRails
[17:19:21] duderonomy: has joined #RubyOnRails
[17:22:03] faitswulff: has joined #RubyOnRails
[17:35:12] KevinSjoberg: has joined #RubyOnRails
[17:37:58] IanMalcolm: has joined #RubyOnRails
[17:46:25] faitswulff: has joined #RubyOnRails
[17:47:08] wstlr: has joined #RubyOnRails
[17:48:43] faitswul_: has joined #RubyOnRails
[17:53:17] s2013: has joined #RubyOnRails
[17:54:37] za1b1tsu: has joined #RubyOnRails
[18:05:55] KadotyGamer: has joined #RubyOnRails
[18:06:49] orbyt_: has joined #RubyOnRails
[18:09:00] faitswulff: has joined #RubyOnRails
[18:15:59] KadotyGamer: has joined #RubyOnRails
[18:18:35] defsdoor: has joined #RubyOnRails
[18:30:05] nickjj: has joined #RubyOnRails
[18:31:41] KevinSjoberg: has joined #RubyOnRails
[18:35:17] dionysus69: has joined #RubyOnRails
[18:48:34] starseed00: has joined #RubyOnRails
[18:49:17] starseed00: Can anyone think of anything that would prevent my action caching from working in production when it works fine locally, and when I can use Rails.cache directly in production and it works that way?
[18:53:10] s2013: has joined #RubyOnRails
[19:06:15] za1b1tsu: has joined #RubyOnRails
[19:13:39] za1b1tsu: has joined #RubyOnRails
[19:15:28] wstlr: has joined #RubyOnRails
[19:20:34] dviola: has joined #RubyOnRails
[19:30:22] kapil___: has joined #RubyOnRails
[19:33:59] drale2k_: has joined #RubyOnRails
[19:45:08] dionysus69: it works everytime starseed00
[19:45:36] dionysus69: Rails.cache just gets data from the cache store same way in development or production
[19:50:38] starseed00: dionysus69: Yeah - that's why this issue was so crazy to me. I did finally figure it out.
[19:51:02] dionysus69: so, what was wrong with it ? ^.^
[19:51:07] starseed00: dionysus69: Thanks though! Jeez, I remember giving you advice like two years ago or something when you were just starting out - way to go man.
[19:51:46] starseed00: dionysus69: Well, I have all my IoC setup and injecting an api endpoint into an angular frontend - I hadn't made it a variable yet, so setting up production was using the staging api
[19:52:20] starseed00: Which means I wasn't even hitting the right environment, let alone the right cache
[19:52:25] starseed00: It all seems to be working now
[19:52:46] dionysus69: yea I am doing my things :P yea I learned it the hard way too, I always setup env vars/credentials or cached settings before I even need them xD
[19:56:29] IanMalcolm: has joined #RubyOnRails
[19:57:23] LiftLeft2: has joined #RubyOnRails
[20:16:37] LiftLeft2: has joined #RubyOnRails
[20:31:11] spohnz: has joined #RubyOnRails
[20:43:13] jasmith: has joined #RubyOnRails
[20:43:24] Technodrome: has joined #RubyOnRails
[20:51:32] ragsagar: has joined #RubyOnRails
[20:53:13] spohnz: has joined #RubyOnRails
[21:05:58] ragsagar: has joined #RubyOnRails
[21:07:34] tevio: has joined #RubyOnRails
[21:36:58] s2013: has joined #RubyOnRails
[22:00:02] IanMalcolm: has joined #RubyOnRails
[22:06:43] duderonomy: has joined #RubyOnRails
[22:41:02] quazimodo: has joined #RubyOnRails
[22:46:18] faitswulff: has joined #RubyOnRails
[23:01:05] orbyt_: has joined #RubyOnRails
[23:25:34] Technodrome: has joined #RubyOnRails
[23:25:40] wethu: has joined #RubyOnRails
[23:54:00] LambdaSource: has joined #RubyOnRails