« Back to channel list

#ruby - 12 June 2017

« Back 1 day Forward 1 day »
[00:06:15] mjuszczak: has joined #ruby
[00:07:20] rkazak: has joined #ruby
[00:08:18] weathermaker: has joined #ruby
[00:14:54] nesoi: has joined #ruby
[00:17:52] herbmillerjr: has joined #ruby
[00:18:26] ascarter: has joined #ruby
[00:18:39] whiteline: has joined #ruby
[00:39:15] bvcosta: has joined #ruby
[00:41:26] Kug3lis_: has joined #ruby
[00:42:37] gothicsouth: has joined #ruby
[00:44:32] acalycine: has joined #ruby
[00:47:29] roamingdog: has joined #ruby
[00:48:24] mim1k: has joined #ruby
[01:08:14] d^sh: has joined #ruby
[01:12:39] iamayam: has joined #ruby
[01:12:47] bmurt: has joined #ruby
[01:20:08] jenrzzz: has joined #ruby
[01:20:08] jenrzzz: has joined #ruby
[01:20:43] enterprisey: has joined #ruby
[01:21:22] arescorpio: has joined #ruby
[01:28:33] roamingdog: has joined #ruby
[01:28:41] Danny: has joined #ruby
[01:28:49] ascarter: has joined #ruby
[01:31:06] AnoHito_: has joined #ruby
[01:33:23] bvcosta: has joined #ruby
[01:34:29] swills: has joined #ruby
[01:34:34] username1: has joined #ruby
[01:35:28] cschneid_: has joined #ruby
[01:35:48] vincent_: has joined #ruby
[01:40:27] BSaboia: has joined #ruby
[01:44:24] ekinmur: has joined #ruby
[01:46:28] mitt3ns: has joined #ruby
[01:49:08] agent_white: has joined #ruby
[01:50:08] charliesome: has joined #ruby
[01:50:37] rubinnius: has joined #ruby
[01:50:45] rubinnius: crystal: a language with the blazing speed of haskell, the elegant syntax of c, and the type safety of ruby
[01:51:21] Jameser: has joined #ruby
[01:55:50] havenwood: ?crystal rubinnius
[01:55:50] ruby[bot]: rubinnius: Please join #crystal-lang for help with the Crystal programming language.
[01:56:28] havenwood: ?crosspost rubinnius
[01:56:28] ruby[bot]: rubinnius: Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
[01:56:46] vincent_: has joined #ruby
[02:03:00] vincent_: has joined #ruby
[02:06:04] uZiel: has joined #ruby
[02:08:16] cschneid_: has joined #ruby
[02:11:28] AnoHito: has joined #ruby
[02:11:50] mochiyoda: has joined #ruby
[02:17:06] gnufied: has joined #ruby
[02:18:23] Azure: has joined #ruby
[02:20:25] genpaku: has joined #ruby
[02:26:10] devyn: has joined #ruby
[02:26:43] meadmoon: has joined #ruby
[02:27:34] bvcosta: has joined #ruby
[02:30:46] ResidentBiscuit: has joined #ruby
[02:35:15] nofxxx: has joined #ruby
[02:38:02] ascarter: has joined #ruby
[02:41:42] jameser``: has joined #ruby
[02:50:56] kies: has joined #ruby
[02:52:57] sleetdrop: has joined #ruby
[02:53:18] Danny1: has joined #ruby
[02:59:08] desnudopenguino: has left #ruby: ()
[03:00:11] Danny1: has joined #ruby
[03:03:44] acalycine: has joined #ruby
[03:04:55] creshiem: has joined #ruby
[03:06:18] cschneid_: has joined #ruby
[03:12:12] username1: has joined #ruby
[03:19:54] enterprisey: has joined #ruby
[03:20:22] gix: has joined #ruby
[03:21:03] minimalism: has joined #ruby
[03:21:16] Trynemjoel: has joined #ruby
[03:23:16] cdg: has joined #ruby
[03:24:26] cjhowe7: has joined #ruby
[03:27:15] spcwlz: has joined #ruby
[03:33:48] chopin: has joined #ruby
[03:42:02] Jameser: has joined #ruby
[03:43:20] gothicsouth: has joined #ruby
[03:45:30] ascarter: has joined #ruby
[03:47:51] minimalism: has joined #ruby
[03:51:38] jcao219: has joined #ruby
[04:04:12] mjuszczak: has joined #ruby
[04:07:04] Ryzokuken: has joined #ruby
[04:11:12] cdg_: has joined #ruby
[04:12:57] KnownSyntax: has joined #ruby
[04:15:41] bvcosta: has joined #ruby
[04:17:25] rgr: has joined #ruby
[04:18:06] nesoi: has joined #ruby
[04:18:31] renchan: has joined #ruby
[04:22:28] jcao219: has joined #ruby
[04:23:08] cdg: has joined #ruby
[04:24:52] cyclonis: has joined #ruby
[04:25:34] cyclonis: good evening im trying to learn ruby by coding a blog would it be wise to use sinata or rails ?
[04:39:51] chopin: has joined #ruby
[04:49:34] vincent_: has joined #ruby
[04:52:04] ascarter: has joined #ruby
[04:55:30] cgfbee: has joined #ruby
[04:59:28] mim1k: has joined #ruby
[05:07:30] Garo_: has joined #ruby
[05:07:44] eputnam: has joined #ruby
[05:08:07] Garo_: Hello. I'm thinking how I should use RSpec to define a set of tests against a public api so that I would have a list of api endpoints and that the test group would be executed against each endpoint in the list
[05:08:49] Garo_: I'm familiar on using RSpec for simple unit tests, but I'm not sure how I should approach this.
[05:09:42] bvcosta: has joined #ruby
[05:14:32] igniting: has joined #ruby
[05:16:34] roamingdog: has joined #ruby
[05:17:19] roamingdog: has joined #ruby
[05:18:09] roamingdog: has joined #ruby
[05:18:53] roamingdog: has joined #ruby
[05:19:43] roamingdog: has joined #ruby
[05:21:34] uZiel: has joined #ruby
[05:21:34] ej: has joined #ruby
[05:24:37] solocshaw: has joined #ruby
[05:30:15] Ryzokuken: has joined #ruby
[05:30:32] jenrzzz: has joined #ruby
[05:34:13] bilal80: has joined #ruby
[05:36:24] aupadhye: has joined #ruby
[05:36:26] jenrzzz: has joined #ruby
[05:43:53] charliesome: has joined #ruby
[05:46:04] ResidentBiscuit: has joined #ruby
[05:49:33] anisha: has joined #ruby
[05:52:36] haraoka: has joined #ruby
[05:53:09] ascarter: has joined #ruby
[05:53:45] Macaveli: has joined #ruby
[05:55:29] meinside: has joined #ruby
[06:03:50] bvcosta: has joined #ruby
[06:07:00] anisha_: has joined #ruby
[06:14:20] aufi: has joined #ruby
[06:19:36] jenrzzz: has joined #ruby
[06:21:38] roamingdog: has joined #ruby
[06:22:35] Mortomes|Work: has joined #ruby
[06:23:28] ResidentBiscuit: has joined #ruby
[06:28:23] conta: has joined #ruby
[06:29:45] DoubleMalt: has joined #ruby
[06:29:58] anisha_: has joined #ruby
[06:35:19] dionysus69: has joined #ruby
[06:37:15] pandaant: has joined #ruby
[06:37:25] tvw: has joined #ruby
[06:44:34] futilegames: has joined #ruby
[06:52:31] vincent_: has joined #ruby
[06:53:09] vali: has joined #ruby
[06:56:30] bigkevmcd: has joined #ruby
[06:59:48] ascarter: has joined #ruby
[06:59:57] mim1k: has joined #ruby
[07:02:19] TheBrayn: has joined #ruby
[07:06:24] rippa: has joined #ruby
[07:12:41] spectrum: has joined #ruby
[07:21:06] lele: has joined #ruby
[07:21:14] roshanavand: has joined #ruby
[07:21:57] jaruga________: has joined #ruby
[07:22:34] roamingdog: has joined #ruby
[07:23:11] jaruga_________: has joined #ruby
[07:23:53] ddffg: has joined #ruby
[07:26:05] kke_: has joined #ruby
[07:28:43] mark_66: has joined #ruby
[07:32:27] TomyWork: has joined #ruby
[07:32:54] Pumukel: has joined #ruby
[07:35:41] Pumukel: has joined #ruby
[07:36:53] Pumukel: has joined #ruby
[07:37:40] mtkd: has joined #ruby
[07:37:48] Pumukel: has joined #ruby
[07:38:42] govg: has joined #ruby
[07:40:10] biberu: has joined #ruby
[07:40:28] ur5us: has joined #ruby
[07:45:09] charliesome: has joined #ruby
[07:47:37] antgel: has joined #ruby
[07:50:13] kegster: has joined #ruby
[07:56:42] burgestrand: has joined #ruby
[07:56:43] SenpaiSilver: has joined #ruby
[07:59:33] Silthias: has joined #ruby
[08:01:14] jaruga_________: has joined #ruby
[08:05:02] arquebus: has joined #ruby
[08:07:16] nadir: has joined #ruby
[08:08:16] mikecmpbll: has joined #ruby
[08:12:48] ascarter: has joined #ruby
[08:14:20] DrCode: has joined #ruby
[08:15:28] jaruga_________: has joined #ruby
[08:15:46] MyMind: has joined #ruby
[08:16:09] joonty: has joined #ruby
[08:16:19] jaruga________: has joined #ruby
[08:17:40] bvcosta: has joined #ruby
[08:19:06] Pisuke: has joined #ruby
[08:23:10] roamingdog: has joined #ruby
[08:27:35] romank: has joined #ruby
[08:30:03] ferr1: has joined #ruby
[08:33:05] bvcosta: has joined #ruby
[08:34:09] mikecmpbll: has joined #ruby
[08:35:38] eputnam: has joined #ruby
[08:35:43] bvcosta: has joined #ruby
[08:36:07] mim1k: has joined #ruby
[08:39:37] Pumukel: has joined #ruby
[08:42:03] Beams: has joined #ruby
[08:42:48] ljarvis: Garo_: you shouldn't hit live endpoints in your tests
[08:44:04] dminuoso: If only I could live by that rule. :(
[08:44:52] ljarvis: you can, we all can!
[08:47:52] Kug3lis: has joined #ruby
[08:51:44] cfec0b8d: has joined #ruby
[08:51:44] marr: has joined #ruby
[08:53:04] djbkd: has joined #ruby
[08:55:14] im0nde: has joined #ruby
[08:56:59] djbkd: has joined #ruby
[08:57:42] mikecmpbll: has joined #ruby
[08:58:06] lxsameer: has joined #ruby
[09:03:14] PatrikasZvaigzde: has joined #ruby
[09:03:24] im0nde: has joined #ruby
[09:04:57] Garo_: ljarvis: I have a full separated unit test suite, but I also want to build a test which I can run every 5 minute against all of my different production clusters to verify that they work. I figured that rspec could fit fine if I bend the rules a bit, but definitively open to other ideas also
[09:06:25] romank: has joined #ruby
[09:07:10] futilegames: has joined #ruby
[09:08:17] ResidentBiscuit: has joined #ruby
[09:09:47] DoubleMalt: has joined #ruby
[09:11:47] mikecmpb_: has joined #ruby
[09:12:10] sepp2k: has joined #ruby
[09:17:50] mim1k: has joined #ruby
[09:21:43] AlexRussia: has joined #ruby
[09:23:43] mikecmpbll: has joined #ruby
[09:23:44] ascarter: has joined #ruby
[09:27:01] nofxx: has joined #ruby
[09:27:32] uZiel: has joined #ruby
[09:34:35] nofxx: has joined #ruby
[09:39:46] im0nde: has joined #ruby
[09:40:42] mikecmpbll: has joined #ruby
[09:45:33] ur5us: has joined #ruby
[09:49:38] Pumukel: has joined #ruby
[09:50:38] im0nde: has joined #ruby
[09:50:57] roamingdog: has joined #ruby
[09:53:45] TheBrayn: has joined #ruby
[09:54:09] mikecmpb_: has joined #ruby
[09:55:34] charliesome: has joined #ruby
[09:56:34] vincent_: has joined #ruby
[09:56:46] vincent_: has joined #ruby
[10:00:22] Pumukel: has joined #ruby
[10:01:35] chalkmonster: has joined #ruby
[10:06:18] burgestrand: has joined #ruby
[10:06:51] mikecmpbll: has joined #ruby
[10:13:02] rohitpaulk: has joined #ruby
[10:15:58] mim1k: has joined #ruby
[10:16:02] mikecmpb_: has joined #ruby
[10:18:29] jzigmund: has joined #ruby
[10:19:05] mikecmpbll: has joined #ruby
[10:20:42] DoubleMalt: has joined #ruby
[10:21:09] vondruch: has joined #ruby
[10:22:32] moei: has joined #ruby
[10:22:40] bigkevmcd: has joined #ruby
[10:23:25] AnoHito: has joined #ruby
[10:27:20] im0nde: has joined #ruby
[10:28:14] charliesome: has joined #ruby
[10:29:54] ecuanaso: has joined #ruby
[10:32:45] nanoz: has joined #ruby
[10:40:07] d^sh: has joined #ruby
[10:43:36] DoubleMalt: has joined #ruby
[10:44:22] futilegames: has joined #ruby
[10:44:55] nadir: has joined #ruby
[10:45:35] ur5us: has joined #ruby
[10:48:35] jjunior_: has joined #ruby
[10:49:37] govg: has joined #ruby
[10:51:37] roamingdog: has joined #ruby
[10:51:40] Kug3lis: has joined #ruby
[10:58:37] centrx: has joined #ruby
[10:58:38] centrx: has joined #ruby
[11:02:40] futilegames: has joined #ruby
[11:05:59] Otti: has joined #ruby
[11:11:06] rohitpaulk: has joined #ruby
[11:12:28] DoubleMalt: has joined #ruby
[11:12:49] ecuanaso: has joined #ruby
[11:13:19] rippa: has joined #ruby
[11:14:33] aupadhye: has joined #ruby
[11:15:20] futilegames: has joined #ruby
[11:17:19] bvcosta: has joined #ruby
[11:20:10] cyclonis: has joined #ruby
[11:23:10] shamrock: has joined #ruby
[11:23:24] Guest67574: has joined #ruby
[11:25:05] tvw: has joined #ruby
[11:30:47] AlexRussia: has joined #ruby
[11:34:26] ascarter: has joined #ruby
[11:35:24] olivier__: has joined #ruby
[11:37:45] schickung: has joined #ruby
[11:43:06] ldnunes: has joined #ruby
[11:43:24] ecuanaso: has joined #ruby
[11:44:03] AnoHito_: has joined #ruby
[11:44:30] gregf_: has joined #ruby
[11:47:40] vincent_: has joined #ruby
[11:47:54] _moep_: has joined #ruby
[11:47:55] vincent_: has joined #ruby
[11:48:09] haylon: has joined #ruby
[11:48:58] djbkd: has joined #ruby
[11:50:25] rohitpaulk: has joined #ruby
[11:50:37] ResidentBiscuit: has joined #ruby
[11:51:16] HoierM: has joined #ruby
[11:53:58] radic: has joined #ruby
[11:54:43] tobbie: has joined #ruby
[11:55:19] hnanon: has joined #ruby
[11:56:13] hnanon: I have this line in a method: self.slug = self.name.parameterize
[11:56:42] hnanon: However, sometimes I need to create a slug for a city, not just a name.
[11:57:32] hnanon: In that sense, not that syntax, obviously.
[12:01:02] bvcosta: has joined #ruby
[12:02:09] hightower2: has joined #ruby
[12:02:53] hightower2: Hey, I would need to run a method and get a report of all methods that were called during its execution. Ideas on what to use for that?
[12:03:30] matthewd: hightower2: TracePoint
[12:04:35] hightower2: Nice one, thanks
[12:05:03] chouhoulis: has joined #ruby
[12:07:38] synthroid: has joined #ruby
[12:07:39] Kug3lis: has joined #ruby
[12:07:59] AnoHito: has joined #ruby
[12:08:28] olivier__: has joined #ruby
[12:09:55] olivier__: has joined #ruby
[12:10:21] puppet645: has left #ruby: ("Leaving")
[12:10:41] jaruga________: has joined #ruby
[12:12:00] Puppet`: has joined #ruby
[12:12:40] olivier__: has joined #ruby
[12:15:39] shamrock: has joined #ruby
[12:15:59] arne: has joined #ruby
[12:16:14] cadillac_: has joined #ruby
[12:16:17] arne: has someone ever worked with the gibbon gem here? its a gem for asking mailchimp for data
[12:16:36] arne: and im trying to get the content of a mailtemplate, and that does not seem to be possible, can anyone help?
[12:17:58] hightower2: community has really gone wild with those module names...
[12:19:03] arne: hightower2: idd
[12:19:05] shamrock: has joined #ruby
[12:22:41] BSAlb: has joined #ruby
[12:23:23] Otti: has joined #ruby
[12:24:57] marr: has joined #ruby
[12:27:27] pupsicle: has joined #ruby
[12:30:37] DoubleMalt: has joined #ruby
[12:31:16] olivier__: has joined #ruby
[12:32:00] haylon: If I wanted to make a Gem that can be required by a Rakefile, what should I search for to read up on how to do that?
[12:32:18] haylon: instead of including rakelib/ in every project I wanted to make
[12:33:39] shamrock: has joined #ruby
[12:33:59] matthewd: haylon: You don't really need to do anything special... but you could probably find some relevant examples by searching rubygems.org for 'rake'
[12:34:04] gil_: has joined #ruby
[12:34:04] gil_: has joined #ruby
[12:34:07] centrx: has joined #ruby
[12:35:31] bvcosta: has joined #ruby
[12:35:39] shamrock: has joined #ruby
[12:37:37] shamrock: has joined #ruby
[12:37:59] haylon: duh. Thank you matthewd. I'll take a look around on there.
[12:38:13] charliesome: has joined #ruby
[12:38:23] ekinmur: has joined #ruby
[12:40:09] rgr_: has joined #ruby
[12:42:27] olivier__: has joined #ruby
[12:44:10] mim1k: has joined #ruby
[12:44:43] chouhoulis: has joined #ruby
[12:45:11] olivier__: has joined #ruby
[12:45:30] chouhoul_: has joined #ruby
[12:45:56] ben_h: has joined #ruby
[12:46:30] ur5us: has joined #ruby
[12:46:39] haylon: I figure looking at RSpec's RakeTask woudl be a good example as well
[12:46:45] ascarter: has joined #ruby
[12:51:36] DoubleMalt: has joined #ruby
[12:58:39] pupsicle: has joined #ruby
[12:59:40] rgr_: has joined #ruby
[13:01:54] Jameser: has joined #ruby
[13:03:16] cschneid_: has joined #ruby
[13:07:31] Fernando-Basso: has joined #ruby
[13:08:13] bkxd: has joined #ruby
[13:08:16] bkxd_: has joined #ruby
[13:09:39] rgr_: has joined #ruby
[13:12:06] shamrock: has joined #ruby
[13:15:27] md5sumo: has left #ruby: ("WeeChat 1.7.1")
[13:16:21] olivier__: has joined #ruby
[13:17:39] shamrock: has joined #ruby
[13:21:38] PatrikasZvaigzde: has joined #ruby
[13:23:50] hutch34_: has joined #ruby
[13:24:27] AgentVenom: has joined #ruby
[13:24:53] keyjoo_: has joined #ruby
[13:25:47] iloveitaly: has joined #ruby
[13:26:28] arkinor: has joined #ruby
[13:27:40] arkinor: Hello @here
[13:27:55] olivier__: has joined #ruby
[13:30:10] PaulCapestany: has joined #ruby
[13:33:06] fxa90id: has joined #ruby
[13:33:29] haylon: has joined #ruby
[13:35:07] roamingdog: has joined #ruby
[13:37:46] rohitpaulk: has joined #ruby
[13:38:14] nardo: has joined #ruby
[13:39:06] oleo: has joined #ruby
[13:40:13] bkxd: has joined #ruby
[13:40:39] mikecmpb_: has joined #ruby
[13:40:39] arne: how does one create a paged each on an array
[13:40:43] arne: with chunk while?
[13:41:41] olivier__: has joined #ruby
[13:44:12] aufi: has joined #ruby
[13:44:29] catphish: has joined #ruby
[13:44:37] arne: oh each slice, yes i remember
[13:45:30] catphish: x-post from #eventmachine: is it possible to close a tcp listener in EM? i have a listener created by EM.start_server, but i'd like to be able to close the listener, i'd also like to be able to get its file number, but i can't really find any object i can manipulate
[13:47:39] shamrock: has joined #ruby
[13:47:43] nardo: Hi, Can I talk about Rails here?
[13:47:53] ljarvis: nardo: #rubyonrails
[13:48:35] nardo: I've tried to access but I can't
[13:49:36] shamrock: has joined #ruby
[13:51:19] catphish: register your nick i guess
[13:55:11] ska: has joined #ruby
[13:56:13] ascarter: has joined #ruby
[13:56:24] crote: has joined #ruby
[13:57:15] lex: has joined #ruby
[13:58:50] crote: I've got an interesting issue with RDoc: For some reason, it's not parsing files in my CI environment. It's listing the files, but it doesn't seem to read them. Same commands works perfectly on a local machine, though. Has anyone seen something like this before?
[14:02:48] charliesome: has joined #ruby
[14:05:36] amclain: has joined #ruby
[14:07:08] shinnya: has joined #ruby
[14:09:35] shamrock: has joined #ruby
[14:13:22] jcao219: has joined #ruby
[14:17:13] herbmillerjr: has joined #ruby
[14:17:53] Esf: has joined #ruby
[14:18:03] darix: Crote: just a guess. locale settings maybe?
[14:19:01] Rodya_: has joined #ruby
[14:19:04] bkulbida: has joined #ruby
[14:19:23] patarr: has joined #ruby
[14:19:37] __Yiota: has joined #ruby
[14:19:50] vincent_: has joined #ruby
[14:21:24] Ryzokuken: has joined #ruby
[14:21:38] chouhoulis: has joined #ruby
[14:21:48] Jutoms: has joined #ruby
[14:22:08] bkulbida: hi all. just wanted to check if anyone has a Ruby certifications and those who do how this cert impacts their carreers. thanks
[14:22:42] bvcosta: has joined #ruby
[14:22:54] olivier__: has joined #ruby
[14:24:02] konsolebox: has joined #ruby
[14:24:22] olivier__: has joined #ruby
[14:25:24] crote: @darix: No dice :-/
[14:28:49] herbmillerjr: has joined #ruby
[14:29:15] bvcosta: has joined #ruby
[14:32:56] ResidentBiscuit: has joined #ruby
[14:33:45] AlexRussia: has joined #ruby
[14:34:33] mtkd: has joined #ruby
[14:37:02] CVTJNII: has joined #ruby
[14:39:02] rohitpaulk: has joined #ruby
[14:39:55] CVTJNII: Okay, this is a simple question but I can't think of the proper terms to google it properly. When I have a method that returns a class in Pry, pry prints a representation of the class with detail. What method does it call to generate this representation? It isn't to_s.
[14:40:24] arne: try puts Obj.inspect
[14:40:48] arne: and you probably dont mean class, you mean object
[14:41:02] CVTJNII: You're right, I do mean object
[14:41:11] CVTJNII: That's what I'm looking for, thanks
[14:41:17] arne: you're welcome
[14:41:24] CVTJNII: I'm having a case of the Mondays, sorry for the bad terms.
[14:41:54] arne: i have a case of 'why didnt i become mailman' like always
[14:43:26] mim1k: has joined #ruby
[14:47:11] ur5us: has joined #ruby
[14:47:50] polishdub: has joined #ruby
[14:52:06] catphish: why does logger not work in trap contexts?
[14:52:10] catphish: it's always puzzled me
[14:52:22] adaedra: trap context is a weird thing
[14:52:52] itaipu: has joined #ruby
[14:53:06] cschneid_: has joined #ruby
[14:57:42] theunraveler: has joined #ruby
[15:02:24] ascarter: has joined #ruby
[15:07:04] adgtl: has joined #ruby
[15:07:04] adgtl: has joined #ruby
[15:09:32] haylon: Whammy. Figured out how to make my own rake_tasks gem.
[15:17:08] igniting: has joined #ruby
[15:17:20] elifoster: has joined #ruby
[15:17:33] axyjo: has joined #ruby
[15:21:28] bawsky: has joined #ruby
[15:23:51] roamingdog: has joined #ruby
[15:27:11] belmoussaoui: has joined #ruby
[15:28:36] DoubleMalt: has joined #ruby
[15:30:16] DrCode: has joined #ruby
[15:31:59] hxegon: Can anyone think of what this code is useful for: if hash.respond_to?("#{key}="); hash.send("#{key}=", value); end
[15:32:07] gil_: has joined #ruby
[15:32:07] gil_: has joined #ruby
[15:32:23] hxegon: trying to puzzle through an uncommented 1.9 codebase and wondering if this is an old idiom or something
[15:35:22] elifoster: has joined #ruby
[15:35:44] dionysus69: has joined #ruby
[15:36:26] cdg: has joined #ruby
[15:37:17] hxegon: btw that code is in an each for a param hash
[15:37:40] nachoman: has joined #ruby
[15:37:54] gizmore: has joined #ruby
[15:38:48] cdg: has joined #ruby
[15:39:26] rohitpaulk: has joined #ruby
[15:39:32] cdg: has joined #ruby
[15:40:20] Kug3lis: has joined #ruby
[15:42:23] enterprisey: has joined #ruby
[15:43:01] Dimik: has joined #ruby
[15:43:34] whippythellama: has joined #ruby
[15:44:03] ascarter_: has joined #ruby
[15:45:22] ascarter_: has joined #ruby
[15:45:46] ljarvis: well, it depends if hash really is a Hash instance
[15:48:00] hxegon: ljarvis: thanks, double checked and hash isn't actually a hash instance :P
[15:49:01] minimalism: has joined #ruby
[15:49:16] ljarvis: makes sense. It should still probably be public_send (unless it's an internal feature)
[15:53:01] cyphase: has joined #ruby
[15:56:21] brent__: has joined #ruby
[15:56:31] anisha_: has joined #ruby
[15:58:48] normie1: has joined #ruby
[15:58:50] texasmynsted: has joined #ruby
[15:59:26] elifoster: has joined #ruby
[16:00:11] brent__: has joined #ruby
[16:00:22] marxarelli: has joined #ruby
[16:02:06] adgtl: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[16:03:51] belmoussaoui: has joined #ruby
[16:07:26] mim1k: has joined #ruby
[16:10:26] username1: has joined #ruby
[16:10:42] roamingdog: has joined #ruby
[16:11:06] ascarter: has joined #ruby
[16:11:27] roamingdog: has joined #ruby
[16:17:10] gusrub: has joined #ruby
[16:18:39] cjhowe7: has joined #ruby
[16:18:50] dviola: has joined #ruby
[16:20:19] rprimus: has joined #ruby
[16:20:24] vincent_: has joined #ruby
[16:20:31] bougyman: manveru: ping
[16:26:16] manveru: bougyman: pong
[16:28:03] baweaver: ICMP what you did there
[16:28:14] DrCode: has joined #ruby
[16:29:46] TomyLobo: has joined #ruby
[16:32:47] gix-: has joined #ruby
[16:33:53] bruce: has joined #ruby
[16:34:24] hobodave: has joined #ruby
[16:35:37] baweaver: Poor Guest18914. We knew them well.
[16:36:00] cadillac_: has joined #ruby
[16:37:25] synthroid: has joined #ruby
[16:38:00] mtkd: has joined #ruby
[16:40:34] rohitpaulk: has joined #ruby
[16:40:46] bkulbida: what is ICMP?
[16:41:03] im0nde: has joined #ruby
[16:41:19] ecuanaso: has joined #ruby
[16:41:32] baweaver: bkulbida: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol
[16:41:37] baweaver: It was a bad pun joke.
[16:41:46] baweaver: ping is ICMP
[16:41:57] xenops: has joined #ruby
[16:42:20] baweaver: also traceroute, but that article covers it
[16:42:42] jcao219: has joined #ruby
[16:43:01] baweaver: ICMP what you did there -> I see what you did there
[16:44:06] ResidentBiscuit: has joined #ruby
[16:45:30] nitric: has joined #ruby
[16:47:55] ur5us: has joined #ruby
[16:48:42] xerx: has joined #ruby
[16:54:56] FarmerJoe: has joined #ruby
[16:57:05] tvon: has joined #ruby
[16:57:25] jaxxstorm: has joined #ruby
[16:58:42] z64: has joined #ruby
[17:03:21] gusrub: has joined #ruby
[17:03:47] Rodya_: has joined #ruby
[17:06:43] gothicsouth: has joined #ruby
[17:09:37] gusrub: has joined #ruby
[17:16:09] ascarter: has joined #ruby
[17:17:46] shinnya: has joined #ruby
[17:18:55] uZiel: has joined #ruby
[17:19:31] bvcosta: has joined #ruby
[17:22:04] sagax: has joined #ruby
[17:22:51] bvcosta_: has joined #ruby
[17:25:10] __Yiota: has joined #ruby
[17:26:18] postmodern: has joined #ruby
[17:26:56] Ishido: has joined #ruby
[17:27:37] rgr_: has joined #ruby
[17:27:56] nebiros: has joined #ruby
[17:32:16] gothicsouth: has joined #ruby
[17:37:48] s2013: has joined #ruby
[17:37:57] balazs: has joined #ruby
[17:40:12] normie1: has joined #ruby
[17:40:21] rohitpaulk: has joined #ruby
[17:40:40] kirillow: has joined #ruby
[17:41:04] kirillow: please halp: what is <%% in erb?
[17:45:39] gusrub: has joined #ruby
[17:45:46] jhass: wasn't it a literal <% ?
[17:46:23] kirillow: aaah that makes sense!
[17:46:47] kies: has joined #ruby
[17:47:48] jenrzzz: has joined #ruby
[17:47:48] jenrzzz: has joined #ruby
[17:50:35] infernix: has joined #ruby
[17:51:29] [Butch]: has joined #ruby
[17:52:02] jaruga________: has joined #ruby
[17:55:36] Cohedrin: has joined #ruby
[17:55:39] roamingdog: has joined #ruby
[17:56:21] Ticky: has joined #ruby
[17:57:09] ecuanaso: has joined #ruby
[17:58:53] arkinor: has joined #ruby
[18:00:11] gusrub: has joined #ruby
[18:00:24] pandaant: has joined #ruby
[18:01:34] roamingdog: has joined #ruby
[18:02:24] roamingdog: has joined #ruby
[18:03:09] roamingdog: has joined #ruby
[18:04:14] roamingdog: has joined #ruby
[18:05:38] rohitpaulk: has joined #ruby
[18:07:43] hobodave_: has joined #ruby
[18:09:45] ozcanesen: has joined #ruby
[18:10:21] jcao219: has joined #ruby
[18:11:11] cadillac__: has joined #ruby
[18:13:51] blackwind_123: has joined #ruby
[18:14:08] cyphase: has joined #ruby
[18:14:08] ecuanaso: has joined #ruby
[18:14:51] futilegames: has joined #ruby
[18:19:36] nesoi: has joined #ruby
[18:19:49] seggy: has joined #ruby
[18:20:38] gigetoo: has joined #ruby
[18:22:41] ascarter: has joined #ruby
[18:24:22] __Yiota: has joined #ruby
[18:27:02] gusrub: has joined #ruby
[18:29:01] andrzejku: has joined #ruby
[18:29:38] al2o3-cr: has joined #ruby
[18:32:01] Polysics: has joined #ruby
[18:32:14] duderonomy: has joined #ruby
[18:36:09] vincent_: has joined #ruby
[18:37:34] kies: has joined #ruby
[18:39:56] Polysics: has joined #ruby
[18:45:41] ur5us: has joined #ruby
[18:47:57] olivier__: has joined #ruby
[18:48:51] perniciouscaffei: has joined #ruby
[18:49:15] olivier__: has joined #ruby
[18:50:25] olivier__: has joined #ruby
[18:52:12] olivier__: has joined #ruby
[18:53:20] hobodave: has joined #ruby
[18:53:55] olivier__: has joined #ruby
[18:54:17] jshjsh: has joined #ruby
[18:55:13] kitallis: does .take not work on lazy enumerators? only first(n) seems to be working
[18:57:09] chopin: has joined #ruby
[18:57:21] BTRE: has joined #ruby
[18:58:41] al2o3-cr: has joined #ruby
[18:59:00] havenwood: kitallis: It does work, it's just also lazy.
[18:59:14] havenwood: kitallis: try: take(n).to_a
[18:59:47] kitallis: havenwood, is first(n) fundamentally different then?
[18:59:56] kitallis: because that seems to realize it
[19:00:03] kitallis: without a t_a
[19:00:40] havenwood: kitallis: Yes, it's fundamentally different because it's not lazy. It returns an Array.
[19:01:50] Polysics_: has joined #ruby
[19:10:16] futilegames: has joined #ruby
[19:10:37] tAn: has joined #ruby
[19:11:30] havenwood: kitallis: Since Enumerator::Lazy#take is a lazy take you can keep going with lazy enumeration after taking.
[19:11:59] kitallis: havenwood, yeap, tried it out, understood
[19:12:17] ascarter: has joined #ruby
[19:12:34] kitallis: i'm assuming though in practice, first(n) is the same as take(n).to_a
[19:13:00] kitallis: unless of course you're in rails in which case, it'll turn it into a SQL LIMIT iinw
[19:16:06] Pumukel: has joined #ruby
[19:16:40] keyjoo_: has joined #ruby
[19:18:02] S1kx: has joined #ruby
[19:18:37] HoierM: has joined #ruby
[19:21:36] Guest24: has joined #ruby
[19:21:40] SeepingN: has joined #ruby
[19:26:12] kies: has joined #ruby
[19:26:56] ascarter: has joined #ruby
[19:29:50] roamingdog: has joined #ruby
[19:30:17] im0nde: has joined #ruby
[19:31:04] belmoussaoui: has joined #ruby
[19:31:16] jcao219: has joined #ruby
[19:32:11] andrzejku: has joined #ruby
[19:34:04] Rodya_: has joined #ruby
[19:34:33] Cohedrin: has joined #ruby
[19:36:51] roshanavand: has joined #ruby
[19:40:27] roamingdog: has joined #ruby
[19:41:52] arup_r: has joined #ruby
[19:47:36] ddffg: has joined #ruby
[19:49:57] Polysics: has joined #ruby
[19:50:03] Polysics: has left #ruby: ()
[19:53:26] vondruch: has joined #ruby
[19:56:35] ascarter: has joined #ruby
[19:56:57] theunraveler: has joined #ruby
[19:57:51] vondruch: has joined #ruby
[19:58:12] patarr1: has joined #ruby
[19:58:22] lxsameer: has joined #ruby
[20:03:43] Rodya_: has joined #ruby
[20:03:55] olivier__: has joined #ruby
[20:04:58] hahuang65: has joined #ruby
[20:05:47] __Yiota: has joined #ruby
[20:06:50] hobodave: has joined #ruby
[20:07:00] olivier__: has joined #ruby
[20:07:01] yqt: has joined #ruby
[20:07:16] username1: has joined #ruby
[20:09:22] kith: has joined #ruby
[20:09:49] cfec0b8d: has joined #ruby
[20:12:18] belmoussaoui: has joined #ruby
[20:12:45] hfp: has joined #ruby
[20:13:18] hfp_work: has joined #ruby
[20:17:42] konsolebox: has joined #ruby
[20:18:54] harfangk: has joined #ruby
[20:19:01] jolamb: Any Faraday users in here?
[20:19:24] jolamb: I'm trying to switch some code over to it to take advantage of faraday-http-cache
[20:19:31] nebiros: has joined #ruby
[20:20:01] jolamb: I'd like to know if it's possible to get Faraday to impersonate Net:HTTP for my code, or do I need to adapt my code to do things the Faraday Way
[20:20:16] hfp: has joined #ruby
[20:20:49] hfp_work: has joined #ruby
[20:22:56] jhass: pretty sure the latter
[20:23:20] jhass: after all its whole point is being an abstraction above different client libraries
[20:23:30] synthroid: has joined #ruby
[20:23:40] muelleme: has joined #ruby
[20:23:53] gothicsouth: has joined #ruby
[20:24:50] jolamb: jhass: :/ ok
[20:24:51] ur5us: has joined #ruby
[20:25:14] jhass: also stay away if you need content streaming btw
[20:25:42] gnufied: has joined #ruby
[20:26:42] ivanskie: has joined #ruby
[20:28:55] AlexRussia: has joined #ruby
[20:29:13] TinkerTyper: has joined #ruby
[20:31:49] jenrzzz: has joined #ruby
[20:31:49] jenrzzz: has joined #ruby
[20:33:26] jolamb: jhass: nope, just trying to be a better github citizen
[20:34:36] ascarter_: has joined #ruby
[20:34:57] cyclonis: has joined #ruby
[20:35:43] Kug3lis: has joined #ruby
[20:36:30] ivanskie: just foundout there's Timeout api in ruby. got excited about implementing it and being all slick. and then found out its bad idea. :( #sadday
[20:37:23] jhass: it's an old desire that's just not solvable ;)
[20:37:54] jhass: any form of timeout needs corporation by the code that's being timeouted
[20:42:25] bpmedley: has joined #ruby
[20:42:42] belmoussaoui: has joined #ruby
[20:43:56] JoshS: has joined #ruby
[20:44:18] konsolebox: has joined #ruby
[20:44:34] arup_r1: has joined #ruby
[20:47:37] zenspider: jolamb: what are you trying to do?
[20:47:45] elifoster: has joined #ruby
[20:48:28] jolamb: zenspider: cache API responses, take advantage of conditional responses to cut down on my rate limit abuse
[20:49:27] jolamb: zenspider: the code I'm adapting has some idiosyncracies, and a lot of it depends on Net:HTTP
[20:50:01] zenspider: why not use the official github client?
[20:51:16] jolamb: zenspider: the app is already written. Lots of processes depend on it, and there's no unit tests
[20:51:30] jolamb: and I didn't write it so don't hit me. :D
[20:51:54] zenspider: NIH for the win... sad
[20:52:49] AnoHito_: has joined #ruby
[20:53:00] speakingcode: has joined #ruby
[20:53:22] jolamb: zenspider: we're working on replacing it Any Day Now, but until that happens I'd like to make it a bit better-behaved
[20:59:00] keekcoin: has joined #ruby
[20:59:42] keekcoin: Anyone has tried to deploy a project in Heroku using this gem? https://github.com/GemHQ/money-tree
[21:00:26] ahrs: has joined #ruby
[21:02:03] roamingdog: has joined #ruby
[21:02:51] olivier__: has joined #ruby
[21:06:14] AlexRussia: has joined #ruby
[21:07:17] hosttor: has joined #ruby
[21:08:14] zenspider: keekcoin: just state your problem
[21:10:18] eightlimbed: has joined #ruby
[21:13:55] eightlimbed: I am trying to create a function that returns the next prime number. (ex: next_prime(53) => 59) -- I was wondering if anyone could check out the gist. I think line 5 is sketchy. I'm not sure how I'd go about returning a value beyond the argument. https://gist.github.com/eightlimbed/563842405cee72f6ccbea2ce5d8f495d
[21:13:55] Rodya_: has joined #ruby
[21:14:30] patarr: has joined #ruby
[21:14:45] ecuanaso: has joined #ruby
[21:14:50] konsolebox: has joined #ruby
[21:15:48] mjuszczak: has joined #ruby
[21:16:57] zenspider: eightlimbed: is this homework?
[21:17:29] eightlimbed: It was an interview question that I got stumped on
[21:18:36] zenspider: the easy answer: Prime::EratosthenesGenerator.new.take_while { |i| i <= n }
[21:18:39] keekcoin: zenspider: I am getting this error https://pastebin.com/vZWq2u0R
[21:18:41] ruby[bot]: keekcoin: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/29137240868b3799214678f3db858fcd
[21:18:41] ruby[bot]: keekcoin: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[21:19:29] cschneid_: has joined #ruby
[21:20:32] zenspider: https://github.com/GemHQ/money-tree/blob/master/lib/openssl_extensions.rb#L9 seems to be the problem... but I guess the question is: what's up with heroku's pathing and/or openssl ?
[21:24:09] patarr: has joined #ruby
[21:24:19] cjhowe7: has joined #ruby
[21:27:23] keekcoin: well, this is what it gives me on bash https://gist.github.com/anonymous/4ce8d62cd26fafed13503ad0dc78d71a
[21:27:37] mim1k: has joined #ruby
[21:30:27] zenspider: Could not open library '/usr/lib/ssl': /usr/lib/ssl: cannot read file data: Is a directory.
[21:30:56] zenspider: so it looks like a pathing problem, you're trying to open /usr/lib/ssl instead of /usr/lib/ssl/libssl.something
[21:31:37] zenspider: look at gems/ffi-1.9.18/lib/ffi/library.rb:100
[21:31:58] olivier__: has joined #ruby
[21:32:31] dreamthese: has joined #ruby
[21:33:20] mjuszczak: has joined #ruby
[21:34:36] Fira_: has joined #ruby
[21:37:45] faelkle: has joined #ruby
[21:38:32] bkxd: has joined #ruby
[21:38:35] bkxd_: has joined #ruby
[21:40:09] keekcoin: I don't really get it, should I add 'ssl/' to the array?
[21:40:37] ascarter_: has joined #ruby
[21:40:41] jenrzzz: has joined #ruby
[21:40:59] jenrzzz: has joined #ruby
[21:43:19] HoierM: has joined #ruby
[21:43:32] Dimik: has joined #ruby
[21:45:59] TinkerTyper: has joined #ruby
[21:46:26] evanleck: has joined #ruby
[21:46:37] ska: has joined #ruby
[21:47:18] bkxd: has joined #ruby
[21:47:22] jakew: has joined #ruby
[21:48:59] brent__: has joined #ruby
[21:49:07] Jayson_Virissimo: has joined #ruby
[21:50:26] mtkd: has joined #ruby
[21:52:04] cschneid_: has joined #ruby
[21:52:19] bkxd_: has joined #ruby
[21:52:42] vincent_: has joined #ruby
[21:53:54] brent__: has joined #ruby
[21:54:52] olivier__: has joined #ruby
[21:56:19] cschneid_: has joined #ruby
[21:57:13] apricant: has joined #ruby
[21:57:21] keekcoin: zenspider: any thoughts?
[21:59:19] im0nde: has joined #ruby
[21:59:43] zenspider: keekcoin: you'll have to poke around heroku to figure out the answer to that
[21:59:58] TinkerTyper: has joined #ruby
[22:00:52] roamingdog: has joined #ruby
[22:01:37] roamingdog: has joined #ruby
[22:02:27] roamingdog: has joined #ruby
[22:03:12] roamingdog: has joined #ruby
[22:04:17] roamingdog: has joined #ruby
[22:08:45] TinkerTyper: has joined #ruby
[22:11:29] dcunit3d: has joined #ruby
[22:13:20] bawsky: has joined #ruby
[22:15:43] Rodya_: has joined #ruby
[22:18:57] nebiros: has joined #ruby
[22:19:46] jcao219: has joined #ruby
[22:21:00] TinkerTyper: has joined #ruby
[22:23:56] speakingcode: has joined #ruby
[22:29:26] bauruine: has joined #ruby
[22:32:33] weaksauce: has joined #ruby
[22:34:44] biox: has joined #ruby
[22:37:00] biox: hi all! what's the most elegant way to include something in a string if (some logic) is true, and exclude it if that logic is false? ruby noob here just trying to make some little things more elegant
[22:37:36] dc4: has joined #ruby
[22:37:40] Jayson_Virissimo: Depends how much text you want to include/exclude.
[22:37:44] biox: for example 'puts "hello my name is biox" if X = true, otherwise puts "hello my is biox" if X = false. Is the most elegant way using if-statements?
[22:38:08] biox: the include or exclude bit is two space-separated words
[22:38:39] elomatreb: String interpolation with a method would be my preffered way
[22:39:44] biox: like "something #{blah} something" and the logic would set blah equal to nil or something else?
[22:39:51] Jayson_Virissimo: "Here is the #{ x ? "thing" : "other things" }."
[22:40:23] Jayson_Virissimo: if x is true, the it's eval to "Here is the thing."
[22:40:35] Jayson_Virissimo: Otherwise "Here is the other things."
[22:40:49] Jayson_Virissimo: That's the ternary operator inside a string interpolation.
[22:41:00] elomatreb: biox: Yeah, and since nil.to_s is an equal string it would not show up in interpolation
[22:41:01] biox: ACTION googles the word ternary
[22:41:16] elomatreb: *empty string
[22:41:54] eightlimbed: has joined #ruby
[22:42:42] biox: Jayson_Virissimo: I like that method, I'll play around with it, thanks!
[22:45:03] bkxd: has joined #ruby
[22:45:05] bkxd_: has joined #ruby
[22:47:04] ascarter_: has joined #ruby
[22:49:17] speakingcode: has joined #ruby
[22:50:24] Polysics: has joined #ruby
[22:53:15] ecuanaso: has joined #ruby
[22:53:59] mikecmpbll: has joined #ruby
[22:54:59] blackwind_123: has joined #ruby
[22:56:20] nesoi: has joined #ruby
[22:58:11] fxa90id: has joined #ruby
[22:58:12] fxa90id: has joined #ruby
[23:04:12] Rodya_: has joined #ruby
[23:04:44] d^sh: has joined #ruby
[23:05:01] roamingdog: has joined #ruby
[23:05:29] olivier__: has joined #ruby
[23:10:18] zenspider: Jayson_Virissimo: true -> truthy
[23:10:50] Jayson_Virissimo: zenspider: good point.
[23:11:05] Jayson_Virissimo: Everything in Ruby is truthy except for false and nil.
[23:11:32] Rodya_: has joined #ruby
[23:16:11] latemus: has joined #ruby
[23:17:59] poloych: has joined #ruby
[23:18:52] gothicsouth: has joined #ruby
[23:19:06] Kug3lis: has joined #ruby
[23:19:36] Rodya_: has joined #ruby
[23:20:09] arkinor: has joined #ruby
[23:27:07] hightower3: has joined #ruby
[23:29:44] cschneid_: has joined #ruby
[23:29:53] gusrub_: has joined #ruby
[23:31:43] millerti: has joined #ruby
[23:32:01] S1kx: has joined #ruby
[23:38:08] Eiam: https://stackoverflow.com/documentation/ruby/640/control-flow/2092/truthy-and-falsy-values#t=201706122338016452904
[23:42:00] Pumukel: has joined #ruby
[23:45:10] duderono_: has joined #ruby
[23:45:50] speakingcode: has joined #ruby
[23:46:32] alveric1: has joined #ruby
[23:51:47] Polysics: has joined #ruby
[23:51:53] ascarter_: has joined #ruby
[23:54:54] DLSteve: has joined #ruby
[23:57:07] gothicsouth: has joined #ruby
[23:58:06] dreamthese: has joined #ruby