« Back to channel list

#ruby - 30 June 2016

« Back 1 day Forward 1 day »
[00:00:40] shevy: now it is simpler
[00:00:48] shevy: karapetyan try: change .next! to .next and try again
[00:02:02] jenrzzz_: has joined #ruby
[00:02:06] naf: has joined #ruby
[00:02:24] karapetyan: shevy: yeah, it works for simplified example, but don't works for first one )
[00:02:34] RegulationD: has joined #ruby
[00:02:49] karapetyan: shevy: thanks!
[00:02:53] havenwood: >> Base64.singleton_methods # tossup
[00:02:54] ruby[bot]: havenwood: # => uninitialized constant Base64 (NameError) ...check link for more (https://eval.in/598111)
[00:03:26] havenwood: tossup: in Pry (a popular Ruby REPL gem): ls Base64
[00:04:18] havenwood: tobiasvl: With classes instead of modules you may be more interested in: public_methods(false)
[00:04:28] havenwood: tobiasvl: sorry about the mistell, tossup led mid-<tab>
[00:05:53] havenwood: >> methods.grep /methods/
[00:05:54] ruby[bot]: havenwood: # => [:private_methods, :methods, :protected_methods, :public_methods, :singleton_methods] (https://eval.in/598112)
[00:06:28] pawnbox: has joined #ruby
[00:07:26] jhack: has joined #ruby
[00:09:07] swills: has joined #ruby
[00:12:10] hahuang61: has joined #ruby
[00:13:09] armatechnicos_: has joined #ruby
[00:15:37] kfrer: has joined #ruby
[00:16:50] jhack: has joined #ruby
[00:20:12] naf_: has joined #ruby
[00:20:17] armatechnicos: has joined #ruby
[00:24:31] karapetyan: shevy: thanks again, now it works https://gist.github.com/karapetyan/af81d29ea1ceaf1d787765ba3330a07b
[00:24:59] speakingcode: has joined #ruby
[00:28:41] Rodya_: has joined #ruby
[00:29:01] destructure: has joined #ruby
[00:33:55] GodFather: has joined #ruby
[00:35:31] armatechnicos: has joined #ruby
[00:35:45] centrx: has joined #ruby
[00:35:48] naf: has joined #ruby
[00:36:04] djbkd: has joined #ruby
[00:36:40] jhack: has joined #ruby
[00:37:03] ReK2GnULinuX: has joined #ruby
[00:37:18] karapetyan: has joined #ruby
[00:37:24] Rothschild_666: has joined #ruby
[00:37:47] mattwashere: has joined #ruby
[00:38:11] korzybski: has joined #ruby
[00:38:59] Rothschild_666: has left #ruby: ()
[00:43:20] naf_: has joined #ruby
[00:43:58] wnd: has joined #ruby
[00:44:48] mistermocha: has joined #ruby
[00:47:20] nertzy: has joined #ruby
[00:48:53] dminuoso: has joined #ruby
[00:50:20] tao_: has joined #ruby
[00:52:10] ulluh: has joined #ruby
[00:54:38] LoneHerm_: has joined #ruby
[01:00:03] gizmore: has joined #ruby
[01:02:24] dhruvasagar: has joined #ruby
[01:02:32] slackbotgz: has joined #ruby
[01:03:58] jenrzzz: has joined #ruby
[01:06:30] chouhoul_: has joined #ruby
[01:07:31] Oclair: has joined #ruby
[01:07:50] yude: has joined #ruby
[01:09:42] centrx: has joined #ruby
[01:16:02] charliesome: has joined #ruby
[01:16:54] arthurl: has joined #ruby
[01:18:40] ekinmur: has joined #ruby
[01:19:23] tAn: has joined #ruby
[01:19:58] danny__: has joined #ruby
[01:20:00] jhack: has joined #ruby
[01:20:49] chouhoulis: has joined #ruby
[01:21:05] AndrewIsHere: has joined #ruby
[01:23:05] tubuliferous: has joined #ruby
[01:26:22] arthurl: has joined #ruby
[01:28:09] skweek: has joined #ruby
[01:29:38] AndrewIsHere: has joined #ruby
[01:29:51] kareeoleez: has joined #ruby
[01:31:46] CloCkWeRX: has joined #ruby
[01:32:41] AndrewIs_: has joined #ruby
[01:39:13] macsteps: has joined #ruby
[01:39:17] pawnbox: has joined #ruby
[01:39:25] Moosashi: has joined #ruby
[01:43:25] nettoweb: has joined #ruby
[01:45:11] nankyokusei: has joined #ruby
[01:45:13] blackmes1: has joined #ruby
[01:45:29] Xeago_: has joined #ruby
[01:46:03] jaguarmagenta: has joined #ruby
[01:46:33] nadir: has joined #ruby
[01:49:41] dminuoso: has joined #ruby
[01:50:16] Xeago_: has joined #ruby
[01:51:33] AndrewIsHere: has joined #ruby
[01:53:45] Fuzai: has joined #ruby
[01:54:09] Fuzai: Is Capistrano still the way to go when doing simple deployments of Rails applications?
[01:54:21] `tim`: has joined #ruby
[01:59:12] karapetyan: has joined #ruby
[02:01:14] Es0teric: has joined #ruby
[02:01:25] greister: has joined #ruby
[02:01:50] greister: has joined #ruby
[02:03:39] ReK2: has joined #ruby
[02:03:39] ReK2: has joined #ruby
[02:09:54] smathy: Fuzai, there are other options but yes, cap is still a contender.
[02:13:10] mistermocha: has joined #ruby
[02:14:05] hahuang61: has joined #ruby
[02:17:02] LoneHerm_: has joined #ruby
[02:18:14] havenwood: Fuzai: Mina is another option: http://nadarei.co/mina/
[02:18:25] Fuzai: havenwood: thank you :)
[02:21:45] dhruvasagar: has joined #ruby
[02:22:37] jenrzzz: has joined #ruby
[02:22:37] jenrzzz: has joined #ruby
[02:23:06] prefix: has joined #ruby
[02:24:02] tmtwd: has joined #ruby
[02:25:08] elifoster: has joined #ruby
[02:25:44] mistermocha: has joined #ruby
[02:26:15] pawnbox: has joined #ruby
[02:26:21] solocshaw: has joined #ruby
[02:27:21] mistermo_: has joined #ruby
[02:28:07] ramfjord: has joined #ruby
[02:30:25] scottj: has joined #ruby
[02:34:00] solocshaw: has joined #ruby
[02:35:17] mistermocha: has joined #ruby
[02:35:27] Moosashi: has joined #ruby
[02:36:01] mistermocha: has joined #ruby
[02:36:48] chipotle: has joined #ruby
[02:36:59] greister: has joined #ruby
[02:37:07] jenrzzz: has joined #ruby
[02:37:07] jenrzzz: has joined #ruby
[02:38:25] greister: has joined #ruby
[02:39:34] mistermocha: has joined #ruby
[02:40:09] greister: has joined #ruby
[02:40:55] AndrewIsHere: has joined #ruby
[02:42:05] Xeago_: has joined #ruby
[02:42:17] mistermocha: has joined #ruby
[02:42:45] nertzy: has joined #ruby
[02:44:50] mistermocha: has joined #ruby
[02:45:12] phrozen77: has joined #ruby
[02:46:20] mistermo_: has joined #ruby
[02:47:02] blackmes1: has joined #ruby
[02:48:36] jenrzzz: has joined #ruby
[02:48:36] jenrzzz: has joined #ruby
[02:49:46] mistermocha: has joined #ruby
[02:51:21] Xeago_: has joined #ruby
[02:51:33] mistermocha: has joined #ruby
[02:51:40] dminuoso: has joined #ruby
[02:52:30] Moosashi: has joined #ruby
[02:52:56] matp: has joined #ruby
[02:53:15] mistermocha: has joined #ruby
[02:53:49] LoneHerm_: has joined #ruby
[02:55:41] mistermocha: has joined #ruby
[02:56:12] giz|work|2: has joined #ruby
[02:57:36] mistermocha: has joined #ruby
[02:58:31] enterprisey: has joined #ruby
[03:00:13] mistermocha: has joined #ruby
[03:03:41] RegulationD: has joined #ruby
[03:06:03] cbz: has joined #ruby
[03:06:21] dopamean_: has joined #ruby
[03:06:38] ftj: has joined #ruby
[03:07:12] ElFerna: has joined #ruby
[03:09:17] arthurl: has joined #ruby
[03:09:42] Es0teric: has joined #ruby
[03:11:22] Ropeney: has joined #ruby
[03:12:05] AndrewIsHere: has joined #ruby
[03:12:06] tristanp: has joined #ruby
[03:12:45] AndrewIsHere: has joined #ruby
[03:13:30] solocshaw: has joined #ruby
[03:13:38] AndrewIsHere: has joined #ruby
[03:13:47] evansbee: has joined #ruby
[03:14:43] AndrewIsHere: has joined #ruby
[03:15:12] roamingdog: has joined #ruby
[03:17:07] bmurt: has joined #ruby
[03:17:36] nando293921: has joined #ruby
[03:17:53] pawnbox: has joined #ruby
[03:19:31] fclausen: has joined #ruby
[03:20:28] tao_: has joined #ruby
[03:21:44] k3rn31: has joined #ruby
[03:22:53] braincras: has joined #ruby
[03:23:22] gix: has joined #ruby
[03:24:17] Moosashi: has joined #ruby
[03:24:21] macsteps: has joined #ruby
[03:26:12] Moosashi: has joined #ruby
[03:28:13] solocshaw: has joined #ruby
[03:29:31] ramfjord: has joined #ruby
[03:32:20] Coldblackice: has joined #ruby
[03:32:45] workmad3: has joined #ruby
[03:36:43] Xeago_: has joined #ruby
[03:42:39] shevy: funny idea https://kitfreddura.github.io/open-lang/
[03:42:44] shevy: if we could design ruby democratically
[03:42:49] shevy: it would probably end up as a mess
[03:43:32] Es0teric: has joined #ruby
[03:43:37] nando293921: has joined #ruby
[03:44:06] Xeago_: has joined #ruby
[03:46:03] nankyokusei: has joined #ruby
[03:46:43] jaguarmagenta: has joined #ruby
[03:47:32] dc4: has joined #ruby
[03:48:24] jenrzzz: has joined #ruby
[03:48:24] jenrzzz: has joined #ruby
[03:49:46] ulluh: has joined #ruby
[03:51:05] tAn: has joined #ruby
[03:51:54] smathy: has joined #ruby
[03:52:24] dminuoso: has joined #ruby
[03:53:15] Wildfyr: has joined #ruby
[03:54:34] TheWhip: has joined #ruby
[03:55:14] Xeago_: has joined #ruby
[03:57:01] rbennacer: has joined #ruby
[03:57:23] Hyuk: has joined #ruby
[03:59:59] mattwashere: has joined #ruby
[04:00:43] segy: has joined #ruby
[04:01:40] Yzguy: has joined #ruby
[04:04:30] RegulationD: has joined #ruby
[04:04:42] tummy: has joined #ruby
[04:05:13] Xeago_: has joined #ruby
[04:08:35] mistermocha: has joined #ruby
[04:08:38] Moosashi: has joined #ruby
[04:09:54] kareeoleez: has joined #ruby
[04:11:22] smathy: has joined #ruby
[04:13:31] Neo--: has joined #ruby
[04:14:25] kriskropd: has joined #ruby
[04:14:50] hahuang61: has joined #ruby
[04:15:59] AndrewIsHere: has joined #ruby
[04:16:22] chipotle: has joined #ruby
[04:19:25] workmad3: has joined #ruby
[04:21:36] dc4: has joined #ruby
[04:28:38] pawnbox: has joined #ruby
[04:36:08] peterhu: has joined #ruby
[04:41:11] Devalo: has joined #ruby
[04:41:44] tristanp: has joined #ruby
[04:42:14] tummy: has joined #ruby
[04:42:18] dc4: has joined #ruby
[04:47:49] blackmes1: has joined #ruby
[04:49:51] agentmeerkat: has joined #ruby
[04:51:30] alfiemax: has joined #ruby
[04:52:20] Devalo: has joined #ruby
[04:52:26] Madplatypus: has joined #ruby
[04:53:10] dminuoso: has joined #ruby
[04:57:56] naftilos76: has joined #ruby
[05:01:32] giz|work: has joined #ruby
[05:01:46] dminuoso: has joined #ruby
[05:05:36] RegulationD: has joined #ruby
[05:07:53] giz|work|2: has joined #ruby
[05:08:11] TheWhip: has joined #ruby
[05:10:16] sebstrax: has joined #ruby
[05:12:02] sanjayu: has joined #ruby
[05:12:52] hutch34: has joined #ruby
[05:15:35] hahuang61: has joined #ruby
[05:16:43] codecop: has joined #ruby
[05:20:13] vdamewood: has joined #ruby
[05:23:32] sauvin: has joined #ruby
[05:25:37] mistermocha: has joined #ruby
[05:25:45] AndrewIsHere: has joined #ruby
[05:27:15] mistermocha: has joined #ruby
[05:27:37] dminuoso: has joined #ruby
[05:29:02] archio: has joined #ruby
[05:29:39] TheWhip: has joined #ruby
[05:41:57] pawnbox: has joined #ruby
[05:43:25] DoubleMalt: has joined #ruby
[05:45:25] segy: has joined #ruby
[05:46:21] hahuang61: has joined #ruby
[05:46:52] nankyokusei: has joined #ruby
[05:47:26] jaguarmagenta: has joined #ruby
[05:47:52] raeoks: has joined #ruby
[05:47:53] charliesome: has joined #ruby
[05:48:35] blackmes1: has joined #ruby
[05:53:25] kareeoleez: has joined #ruby
[05:53:40] Ishido: has joined #ruby
[05:54:00] Seich: has joined #ruby
[05:55:18] d5sx43: has joined #ruby
[05:55:31] craigp_: has joined #ruby
[05:55:53] ponga: has joined #ruby
[05:56:05] anisha: has joined #ruby
[05:57:23] cyphase: has joined #ruby
[05:59:32] TomyLobo: has joined #ruby
[06:00:00] ciampix: has joined #ruby
[06:02:43] blaxter: has joined #ruby
[06:06:16] RegulationD: has joined #ruby
[06:06:20] armyriad: has joined #ruby
[06:06:46] n1x-nz: has joined #ruby
[06:07:02] alfiemax: has joined #ruby
[06:09:02] agent_white: has joined #ruby
[06:10:37] cyphase: has joined #ruby
[06:14:09] symm-: has joined #ruby
[06:15:01] smathy: has joined #ruby
[06:15:01] bilal80: has joined #ruby
[06:16:45] sucks: has joined #ruby
[06:18:00] sucks: has joined #ruby
[06:18:26] sucks: has joined #ruby
[06:18:27] zarubin: has joined #ruby
[06:18:39] rolfb: has joined #ruby
[06:22:54] yfeldblum: has joined #ruby
[06:23:53] yfeldblum: has joined #ruby
[06:28:36] mistermocha: has joined #ruby
[06:29:12] dhruvasagar: has joined #ruby
[06:31:38] emiltin: has joined #ruby
[06:32:06] pawnbox: has joined #ruby
[06:32:26] last_staff: has joined #ruby
[06:32:35] firstdayonthejob: has joined #ruby
[06:32:51] ur5us: has joined #ruby
[06:33:35] dopamean1: has joined #ruby
[06:34:42] conta: has joined #ruby
[06:35:10] emiltin: has joined #ruby
[06:41:10] Dimik: has joined #ruby
[06:44:13] dionysus69: has joined #ruby
[06:45:55] sami: has joined #ruby
[06:47:43] neo_: has joined #ruby
[06:49:05] dhruvasagar: has joined #ruby
[06:49:15] Wildfyr: Any projects for a begginer?
[06:51:14] Hyuk: has joined #ruby
[06:53:18] bazzy: has joined #ruby
[06:54:17] AndrewIsHere: has joined #ruby
[06:54:31] emiltin: has joined #ruby
[06:56:54] yardenbar: has joined #ruby
[06:57:11] tAn: has joined #ruby
[06:57:48] TomyWork: has joined #ruby
[06:59:13] agentmeerkat: has joined #ruby
[06:59:51] emilkarl: has joined #ruby
[07:02:40] dminuoso: has joined #ruby
[07:05:19] karapetyan: has joined #ruby
[07:07:08] RegulationD: has joined #ruby
[07:07:32] banisterfiend: has joined #ruby
[07:08:51] giz|work|2: has joined #ruby
[07:09:55] Abonec: has joined #ruby
[07:11:26] szarubin: has joined #ruby
[07:12:01] mark_66: has joined #ruby
[07:12:36] solars: has joined #ruby
[07:13:11] alfiemax: has joined #ruby
[07:13:45] edward__: has joined #ruby
[07:16:14] pawnbox: has joined #ruby
[07:16:50] andikr: has joined #ruby
[07:16:53] Hyuk: has joined #ruby
[07:17:02] the_drow: has joined #ruby
[07:19:43] pwnd_nsfw`: has joined #ruby
[07:22:02] conta1: has joined #ruby
[07:22:19] jgt: has joined #ruby
[07:23:04] AndrewIsHere: has joined #ruby
[07:24:24] xall: has joined #ruby
[07:25:55] Wildfyr: What are you guys doing in ruby>
[07:26:10] Azure: has joined #ruby
[07:26:30] antgel: has joined #ruby
[07:27:20] tobiasvl: Wildfyr: anything
[07:30:13] ramfjord: has joined #ruby
[07:31:40] rrios: has joined #ruby
[07:36:57] craigp_: has joined #ruby
[07:37:00] burgestrand: has joined #ruby
[07:38:19] ur5us: has joined #ruby
[07:39:09] rann: has joined #ruby
[07:41:12] DoubleMalt: has joined #ruby
[07:41:32] karapetyan: has joined #ruby
[07:44:04] joonty: has joined #ruby
[07:44:55] aganov: has joined #ruby
[07:45:18] tvw: has joined #ruby
[07:45:26] ljarvis: everything
[07:45:44] jaruga___: has joined #ruby
[07:47:46] nankyokusei: has joined #ruby
[07:48:08] multi_io: has joined #ruby
[07:48:12] jaguarmagenta: has joined #ruby
[07:49:06] dionysus69: has joined #ruby
[07:49:08] tao_: has joined #ruby
[07:49:36] Bish: how string does the ! in ruby bind?
[07:49:43] Bish: i mean things like
[07:49:53] Bish: >> ![1,2,3].include? 4
[07:49:54] ruby[bot]: Bish: # => true (https://eval.in/598214)
[07:50:07] Bish: always scare me, and i end up adding brackets
[07:50:30] blackmes1: has joined #ruby
[07:50:34] mikecmpbll: has joined #ruby
[07:50:46] Bish: Wildfyr: writing a webapp right now, have written elfparsers / object linkers
[07:50:53] Bish: it's turing complete after all.
[07:50:55] burgestrand: Bish: http://ruby-doc.org/core-2.3.0/doc/syntax/precedence_rdoc.html
[07:51:01] burgestrand: Bish I hope it answers your question :)
[07:51:03] apeiros: Bish: nothing wrong with being explicit
[07:51:06] nofxx: Bish, you'll get notmethod error for #include? otherwise... but makes it more readble
[07:51:12] nofxx: I would parenthesis it
[07:51:18] apeiros: I prefer !ary.include?(x) over !ary.include? x
[07:51:28] tobiasvl: when in doubt, use parens! no reason not to.
[07:51:45] burgestrand: when in doubt, test it ;)
[07:52:03] tobiasvl: well, sure. but if you use parens you don't have to test ;)
[07:52:07] Bish: Burgestrand: not really, if ! is highest, then why doesn't it bind to the array?
[07:52:37] Bish: apeiros: yet would be good to understnad
[07:52:38] tobiasvl: . is highest
[07:52:42] Bish: i think it will always scare me
[07:52:52] burgestrand: Bish true! they should have "." on there
[07:53:47] nofxx: On another subject, any idea why I'm installing a gem, no problems, just checked and it's not yanked, but on servers: "Could not find <gem> in any of the sources" ?
[07:54:00] nofxx: When bundle deploy*
[07:54:10] araujo__: has joined #ruby
[07:55:19] aufi: has joined #ruby
[07:55:26] apeiros: zenspider got it right re ". on top": http://www.zenspider.com/Languages/Ruby/QuickRef.html#operators-and-precedence
[07:55:44] postmodern: has joined #ruby
[07:56:09] apeiros: aaahaha, "NOTE: 1.9 has a horrible extension to allow you to define !=, !~, !, and not. A special place in hell is reserved for you if you define any of these."
[07:56:10] webus: has joined #ruby
[07:57:32] senayar: has joined #ruby
[07:58:10] burgestrand: Cool, so you could have (a == b && a != b) # => true!
[07:58:21] Kedare: has joined #ruby
[07:58:28] Bish: is that still true?
[08:00:14] araujo: has joined #ruby
[08:00:14] araujo: has joined #ruby
[08:00:19] apeiros: >> a = "hi"; b = "hi"; def a.!=(other); true; end; (a == b && a != b)
[08:00:20] ruby[bot]: apeiros: # => true (https://eval.in/598215)
[08:00:29] Bish: yeah just testet it in pry
[08:00:51] Bish: my next evil genius goal is, to write a gem everyone uses
[08:00:52] apeiros: of course, (b != a) != (a != b) in this case
[08:01:03] Bish: and to define a!= as false
[08:01:10] burgestrand: https://eval.in/598216
[08:01:41] Bish: well, there might be a use for it
[08:01:48] mikecmpbll: has joined #ruby
[08:01:53] apeiros: Burgestrand: IMO both just `rand(2).zero?`
[08:01:59] Bish: whats actually default definition of == and !=
[08:02:06] burgestrand: apeiros :trollface:
[08:02:08] Bish: object_id == ?
[08:02:27] apeiros: Object#== is an alias of #equal?
[08:02:38] Bish: yeah and what is that, for Object?
[08:02:40] burgestrand: apeiros ENV["USER"] == "apeiros" ? rand(2).zero? ? super
[08:02:40] apeiros: same for eql?, and I think also ===
[08:02:44] Bish: i mean what does get checked internally
[08:02:48] Bish: object_id == object_id ?=
[08:03:00] apeiros: i.e. equal? is object identity
[08:03:01] Bish: hm, confuses me
[08:03:08] apeiros: ruby doesn't need to query the object_id
[08:03:13] apeiros: (which is constructed from VALUE anyway)
[08:03:21] Bish: what is VALUE?
[08:03:30] apeiros: the C representation of an object
[08:03:38] apeiros: a 64bit int
[08:04:00] Bish: how can i see one of those?
[08:04:17] apeiros: you write a C extension?
[08:04:30] Bish: i was wondering if they are visible from ruby-space
[08:04:40] apeiros: as said, object_id is constructed from it
[08:04:45] Bish: besides being .. yeah
[08:04:55] Bish: but object_id != value, right?
[08:04:59] Bish: on bit level
[08:05:00] apeiros: so indirectly through the object_id. other than that - it's an implementation detail and shouldn't even be visible.
[08:05:13] Bish: okay, cool good to know
[08:06:04] apeiros: the relation between object_id to VALUE depends on the class. for most, object_id == VALUE << 1
[08:06:25] apeiros: in pry, with pry-doc installed, do `$ Object#object_id`, will tell you more.
[08:08:04] RegulationD: has joined #ruby
[08:08:19] emilkarl: has joined #ruby
[08:08:50] dhruvasagar: has joined #ruby
[08:09:04] Silthias: has joined #ruby
[08:11:17] codecop: has joined #ruby
[08:11:30] Bish: VALUE << 1 looks collision heavy
[08:12:01] apeiros: errr, it's VALUE >> 1
[08:12:09] apeiros: and no, it can't collide.
[08:12:46] nofxx: has joined #ruby
[08:13:14] Silthias1: has joined #ruby
[08:14:31] marr: has joined #ruby
[08:14:45] maloik: has joined #ruby
[08:14:53] mistermocha: has joined #ruby
[08:14:59] pandaant: has joined #ruby
[08:15:35] ramfjord: has joined #ruby
[08:19:11] cevett: has joined #ruby
[08:19:59] ddffg: has joined #ruby
[08:20:13] ocbtec: has joined #ruby
[08:20:13] Couch: has joined #ruby
[08:21:11] tomphp: has joined #ruby
[08:22:34] f4cl3y: has joined #ruby
[08:25:19] marsjaninzmarsa: has joined #ruby
[08:28:57] Emmanuel_Chanel: has joined #ruby
[08:29:14] craigp: has joined #ruby
[08:30:32] troulouliou_div2: has joined #ruby
[08:33:34] jenrzzz: has joined #ruby
[08:35:58] TheWhip: has joined #ruby
[08:38:35] Polysics: has joined #ruby
[08:39:13] agent_white: has left #ruby: ()
[08:42:29] AndrewIsHere: has joined #ruby
[08:44:58] pawnbox: has joined #ruby
[08:47:45] tomphp: has joined #ruby
[08:50:47] Silthias: has joined #ruby
[08:54:33] trampi: has joined #ruby
[08:55:49] ocbtec: has joined #ruby
[08:57:15] giz|work|2: has joined #ruby
[08:58:37] Tempesta_: has joined #ruby
[08:59:10] ocbtec: has joined #ruby
[08:59:41] r_rios_: has joined #ruby
[08:59:48] gf3_: has joined #ruby
[09:00:30] nlsun_: has joined #ruby
[09:00:42] agentmeerkat: has joined #ruby
[09:00:56] pawnbox: has joined #ruby
[09:00:59] staticfox`: has joined #ruby
[09:01:12] cb-: has joined #ruby
[09:01:15] jgw_: has joined #ruby
[09:01:17] matled-: has joined #ruby
[09:01:19] ^mtkd: has joined #ruby
[09:01:26] james1: has joined #ruby
[09:01:43] justinmcp: has joined #ruby
[09:02:08] lxsameer: has joined #ruby
[09:02:15] Drakevr: has joined #ruby
[09:02:48] pawnbox: has joined #ruby
[09:03:00] matp_: has joined #ruby
[09:03:14] ltd_: has joined #ruby
[09:03:30] cbetta_: has joined #ruby
[09:03:30] Helheim_: has joined #ruby
[09:03:44] lewix_: has joined #ruby
[09:03:57] Amnez777-: has joined #ruby
[09:04:00] sunya7a_: has joined #ruby
[09:04:01] syngular1ty: has joined #ruby
[09:04:05] aufi_: has joined #ruby
[09:04:07] the-eat-scout_: has joined #ruby
[09:04:20] spastorino_: has joined #ruby
[09:04:28] pragmati-: has joined #ruby
[09:04:32] edulix_: has joined #ruby
[09:04:35] valkyr1e_: has joined #ruby
[09:04:38] csmb_: has joined #ruby
[09:04:45] Suntzu: has joined #ruby
[09:04:49] AnoHito: has joined #ruby
[09:04:54] spectra-: has joined #ruby
[09:05:06] freezey: has joined #ruby
[09:05:12] parus: has joined #ruby
[09:05:20] [ace]_: has joined #ruby
[09:05:36] pawnbox_: has joined #ruby
[09:05:36] aredride-: has joined #ruby
[09:05:40] bedouin_: has joined #ruby
[09:05:44] croberts_: has joined #ruby
[09:06:02] TheWhip_: has joined #ruby
[09:06:16] mc_fail: has joined #ruby
[09:06:45] kbni: has joined #ruby
[09:07:01] dminuoso_: has joined #ruby
[09:07:22] sarbs_: has joined #ruby
[09:07:34] adeponte: has joined #ruby
[09:07:38] sarlalian_: has joined #ruby
[09:07:52] z3uS|: has joined #ruby
[09:07:55] blackwell_: has joined #ruby
[09:08:05] martinbjeldbak_: has joined #ruby
[09:08:06] Jello_Raptor: has joined #ruby
[09:08:12] M-shine1: has joined #ruby
[09:08:33] surrounder: has joined #ruby
[09:08:40] constantinexvi: has joined #ruby
[09:08:41] Tharbakim: has joined #ruby
[09:08:43] mistym: has joined #ruby
[09:08:49] aganov: has joined #ruby
[09:08:55] RegulationD: has joined #ruby
[09:08:55] mistym: has joined #ruby
[09:09:02] thejoecarroll: has joined #ruby
[09:09:14] Kruppe: has joined #ruby
[09:09:20] senayar^: has joined #ruby
[09:10:25] Kamilion: has joined #ruby
[09:11:54] ceej: has joined #ruby
[09:11:58] audibleblink: has joined #ruby
[09:12:08] rhg135: has joined #ruby
[09:13:11] mburns: has joined #ruby
[09:13:15] tjvc: has joined #ruby
[09:13:15] tjvc: has joined #ruby
[09:13:18] charliesome: has joined #ruby
[09:14:03] diegok: has joined #ruby
[09:14:20] dc4: has joined #ruby
[09:14:36] Sero: has joined #ruby
[09:15:11] webus: has joined #ruby
[09:15:21] timonv: has joined #ruby
[09:16:28] dhruvasagar: has joined #ruby
[09:17:00] bweston92: has joined #ruby
[09:17:45] M-Kodo: has joined #ruby
[09:21:43] hadronzoo: has joined #ruby
[09:28:37] Satyajit: has joined #ruby
[09:30:43] leitz: has joined #ruby
[09:33:50] pawnbox: has joined #ruby
[09:35:30] joonty: has joined #ruby
[09:35:45] araujo_: has joined #ruby
[09:35:51] marahin: has joined #ruby
[09:37:02] blaxter: has joined #ruby
[09:37:15] skade: has joined #ruby
[09:38:09] araujo__: has joined #ruby
[09:44:15] Macaveli: has joined #ruby
[09:47:10] ferr1: has joined #ruby
[09:47:36] charliesome: has joined #ruby
[09:47:49] edwinvdgraaf: has joined #ruby
[09:48:35] mdw: has joined #ruby
[09:48:37] nankyokusei: has joined #ruby
[09:49:02] jaguarmagenta: has joined #ruby
[09:49:05] jenrzzz: has joined #ruby
[09:51:09] ricer2: has joined #ruby
[09:53:29] skade: has joined #ruby
[09:54:30] iMadper: has joined #ruby
[09:56:24] aryaching: has joined #ruby
[10:02:23] snowy: has joined #ruby
[10:03:25] sdothum: has joined #ruby
[10:04:42] blackmes1: has joined #ruby
[10:05:02] TheWhip: has joined #ruby
[10:05:25] jgt: has joined #ruby
[10:09:52] RegulationD: has joined #ruby
[10:10:23] aryaching_: has joined #ruby
[10:14:11] al2o3-cr: has joined #ruby
[10:16:30] blingrang: has joined #ruby
[10:16:33] mistermocha: has joined #ruby
[10:17:09] strigon33: has joined #ruby
[10:21:54] eGGshke: has joined #ruby
[10:23:01] giz|work|2: has joined #ruby
[10:24:04] toretore: has joined #ruby
[10:24:56] c355E3B: has joined #ruby
[10:25:44] strigonLeader: has joined #ruby
[10:26:00] yfeldblum: has joined #ruby
[10:29:25] Robtop__: has joined #ruby
[10:30:55] nutzz: has joined #ruby
[10:33:07] emilkarl: has joined #ruby
[10:34:02] blackmes1: has joined #ruby
[10:37:16] harfangk: has joined #ruby
[10:39:54] hk238: has joined #ruby
[10:40:03] dc4: has joined #ruby
[10:40:40] joonty: has joined #ruby
[10:41:36] Nahra`: has joined #ruby
[10:43:41] PaulePanter: has joined #ruby
[10:43:49] araujo_: has joined #ruby
[10:43:53] rann: has joined #ruby
[10:45:06] kloeri_: has joined #ruby
[10:46:15] GodFather: has joined #ruby
[10:46:16] joconcepts: has joined #ruby
[10:46:54] rapha: has joined #ruby
[10:47:17] nyuszika7h_: has joined #ruby
[10:48:52] aef: has joined #ruby
[10:49:37] nutzz: has joined #ruby
[10:50:05] edwinvdg_: has joined #ruby
[10:52:20] nutzz: What's wrong with the follosing script? http://paste.ubuntu.com/18160965/ it gives me undefined method `gsub' for nil:NilClass error
[10:52:46] mrBen2k2k2k: has joined #ruby
[10:52:52] Wildfyr: nutzz: on which line
[10:53:08] dminuoso_: nutzz: Since you don't have gsub, include a full stack trace.
[10:53:14] dminuoso_: Full stack trace.
[10:53:57] ljarvis: full. stack. trace.
[10:54:48] nutzz: http://paste.ubuntu.com/18161092/
[10:55:11] dminuoso_: nutzz: Im guessing your filter is nil or weird.
[10:55:15] Satyajit: has joined #ruby
[10:55:19] dminuoso_: nutzz: use binding.pry and inspect it.
[10:55:48] ljarvis: is username nil?
[10:57:00] nutzz: nope, the username looks ok
[11:02:09] agentmeerkat: has joined #ruby
[11:03:06] harfangk: has joined #ruby
[11:03:59] apeiros: nutzz: how come your file is "user.rb" (app/models/user.rb:17:in `initialize') but your class is "AmazonUser"?
[11:06:37] binaryplease1: has joined #ruby
[11:08:34] unshadow: has joined #ruby
[11:10:43] RegulationD: has joined #ruby
[11:12:26] sarbs: has joined #ruby
[11:15:33] omphe: has joined #ruby
[11:15:51] unshadow: has joined #ruby
[11:16:39] conta: has joined #ruby
[11:17:29] mistermocha: has joined #ruby
[11:18:59] jmignault: has joined #ruby
[11:20:40] houhoulis: has joined #ruby
[11:22:02] aryaching: has joined #ruby
[11:24:01] dminuoso_: apeiros: Also interestingly his net-ldap gem is 5 years old.
[11:25:17] charliesome: has joined #ruby
[11:27:29] nettoweb: has joined #ruby
[11:28:17] edwinvdgraaf: has joined #ruby
[11:28:19] mello: has joined #ruby
[11:29:37] apeiros: dminuoso_: that, sadly, isn't all that surprising
[11:29:48] nettoweb: has joined #ruby
[11:30:45] dminuoso_: A sad world we live in.
[11:31:19] freerobby: has joined #ruby
[11:32:08] ldnunes: has joined #ruby
[11:33:44] ulluh: has joined #ruby
[11:36:32] chouhoulis: has joined #ruby
[11:39:35] rodfersou: has joined #ruby
[11:40:21] shevy: I can't take it any more!
[11:40:26] stoopidmunkey: has joined #ruby
[11:40:51] shevy: someone find nutzz in reallife and make him change the filename
[11:40:57] Vingador: has joined #ruby
[11:41:46] stoopidmunkey: has joined #ruby
[11:42:14] burgestrand: change filename? that's nutz
[11:44:33] ljarvis: AmazonianUser
[11:45:28] Vingador_: has joined #ruby
[11:47:51] Hanmac: has joined #ruby
[11:48:57] yqt: has joined #ruby
[11:49:29] nankyokusei: has joined #ruby
[11:49:49] jaguarmagenta: has joined #ruby
[11:50:35] Miron: has joined #ruby
[11:50:41] neo_: has joined #ruby
[11:51:47] chip_: has joined #ruby
[11:51:55] blackmes1: has joined #ruby
[11:52:06] workmad3: has joined #ruby
[11:53:41] sulky_: has joined #ruby
[11:55:48] omphe: has joined #ruby
[11:56:57] antgel: has joined #ruby
[11:57:46] dc4: has joined #ruby
[11:57:49] johnmilton: has joined #ruby
[11:59:52] nhhc: has joined #ruby
[12:04:22] sergio_101: has joined #ruby
[12:04:34] agentmeerkat: has joined #ruby
[12:04:42] edwinvdg_: has joined #ruby
[12:07:47] AnoHito: has joined #ruby
[12:08:19] pawnbox: has joined #ruby
[12:09:56] Tempesta: has joined #ruby
[12:11:34] synthroid: has joined #ruby
[12:11:37] RegulationD: has joined #ruby
[12:14:38] jokke: how can i make sure an instance of my class can be coerced into fixnum?
[12:16:17] ljarvis: jokke: that depends, in what sense? do you just want stuff like `x + 1` to work?
[12:16:22] bkxd: has joined #ruby
[12:16:30] jokke: other way around too :/
[12:16:30] harfangk: has joined #ruby
[12:16:37] jokke: i wrote a Timespan class
[12:16:43] shevy: jokke hmm off the top of my head, .respond_to? could work?
[12:16:45] jokke: which kind of just wrapa a number
[12:17:34] jokke: what do you mean with respond_to?
[12:17:35] Ishido: has joined #ruby
[12:17:36] shevy: or perhaps rescue usage of Integer()
[12:17:47] jokke: Integer was it
[12:17:53] shevy: well if it responds to .to_i perhaps
[12:17:58] mistermocha: has joined #ruby
[12:18:04] jokke: but it doesn't seem to help
[12:18:05] shevy: usually it is the other way around, to coerce into a string for me :)
[12:18:08] ljarvis: Integer() still won't work because it doesn't use to_i
[12:18:26] jokke: well then never mind. i can live with it
[12:18:37] jokke: just have to add .to_i manually then
[12:18:49] davedev24: has joined #ruby
[12:20:17] johnmilton: has joined #ruby
[12:20:21] ljarvis: jokke: you can define + and +@ methods if you want
[12:20:37] jokke: it work in one direction then
[12:20:57] jokke: i think it's less confusing if it doesn't work at all
[12:21:47] jokke: one is accustomed to think + and * is commutative
[12:21:54] l4v2: has joined #ruby
[12:22:37] jokke: another thing though. for < and > do i really have to define the methods? i thought defining <=> is enough
[12:23:01] jokke: or is there something like Orderable or so that i can include
[12:23:16] shevy: isn't that only for .sort stuff?
[12:23:43] jokke: yeah but isn't it obvious what < and > do if <=> is defined?
[12:25:29] joonty: has joined #ruby
[12:25:54] jokke: toretore: does Comparable use <=> for == also?
[12:29:40] Carella: has joined #ruby
[12:29:52] apeiros: re coercable: see Numeric#coerce
[12:30:26] ljarvis: ah I always forget about that method
[12:30:37] apeiros: iirc somebody also had a repo on github showing how to build "numeric-like" classes
[12:30:40] ljarvis: always being to two times it's come up in 10 years of writing Ruby
[12:30:50] apeiros: don't have any specifics to facilitate searching that repo, though, sorry.
[12:31:18] jokke: so i should implement coerce(numeric) in my class?
[12:31:37] apeiros: I didn't read the full backlog, so don't know. but it fits the initial question.
[12:32:00] Guest_85664: has joined #ruby
[12:32:13] Guest_85664: Allah is doing
[12:32:21] ljarvis: >> 1 + Class.new { def coerce(x) [x, to_i] end; def to_i; 2; end }.new
[12:32:23] ruby[bot]: ljarvis: # => 3 (https://eval.in/598447)
[12:32:23] Guest_85664: sun is not doing Allah is doing
[12:32:25] apeiros: !spam Guest_85664
[12:32:25] ruby[bot]: +bb Guest_85664!*@*$#ruby-banned *!*@gateway/web/cgi-irc/kiwiirc.com/ip.119.157.221.169$#ruby-banned
[12:32:26] ruby[bot]: ruby[bot] kicked Guest_85664: is a bannable offense, see http://ruby-community.com/pages/user_rules
[12:33:58] ljarvis: I think the idea though is to coerce x (your number) into an isntance of the same class, then call + on it
[12:34:28] nocco: has joined #ruby
[12:34:30] apeiros: take a close look at the order in which values are returned.
[12:34:39] apeiros: 1.coerce(2.5) #=> [2.5, 1.0]
[12:34:47] apeiros: not [1.0, 2.5]
[12:35:12] jokke: but i can just pass coerce on to the underlying numeric
[12:35:16] jokke: so no matter
[12:35:47] jokke: works like a charm
[12:35:48] apeiros: that's always the best
[12:36:15] apeiros: ACTION usually implements #hash and #eql? in that manner :D
[12:39:45] fmcgeough: has joined #ruby
[12:46:11] ItSANgo: has joined #ruby
[12:47:37] d0nn1e: has joined #ruby
[12:48:43] ncthom91: has joined #ruby
[12:50:21] conta: has joined #ruby
[12:50:41] diegoviola: has joined #ruby
[12:52:07] pawnbox: has joined #ruby
[12:52:26] rbennacer: has joined #ruby
[12:57:04] conta: has joined #ruby
[12:57:32] pawnbox: has joined #ruby
[13:01:32] aegis3121: has joined #ruby
[13:01:50] biberu: has joined #ruby
[13:02:45] Vile`: has joined #ruby
[13:02:52] ramortegui: has joined #ruby
[13:05:37] agentmeerkat: has joined #ruby
[13:06:31] omphe: has joined #ruby
[13:07:49] bunzz: has left #ruby: ("WeeChat 1.3")
[13:11:00] ponga: has joined #ruby
[13:12:30] RegulationD: has joined #ruby
[13:14:02] davedev24: has joined #ruby
[13:16:15] unshadow: has joined #ruby
[13:17:18] Carella: has joined #ruby
[13:19:42] brendan-: has joined #ruby
[13:20:01] spiette: has joined #ruby
[13:20:39] skade: has joined #ruby
[13:20:39] Silthias1: has joined #ruby
[13:22:37] Ishido: has joined #ruby
[13:23:13] GinoManWorks: has joined #ruby
[13:23:37] unshadow: has joined #ruby
[13:24:02] johnmilton: has joined #ruby
[13:26:06] ekinmur: has joined #ruby
[13:27:28] davedev24: has joined #ruby
[13:28:09] davedev24: has joined #ruby
[13:28:16] nando293921: has joined #ruby
[13:29:43] naftilos76: does anybody know of a way to open a css file as a ruby hash?
[13:30:02] rbennacer: has joined #ruby
[13:30:07] naftilos76: in order to reference a class or an id with ease?
[13:32:08] workmad3: has joined #ruby
[13:32:20] kareeole_: has joined #ruby
[13:32:56] soud: naftilos76: https://github.com/premailer/css_parser something like this?
[13:33:19] malconis: has joined #ruby
[13:33:41] GodFather: has joined #ruby
[13:34:21] naftilos76: soud, thanks, probably what i am looking for.
[13:35:27] agit0: has joined #ruby
[13:35:36] jgt: has joined #ruby
[13:35:41] pawnbox: has joined #ruby
[13:36:02] conta1: has joined #ruby
[13:38:05] malconis: has joined #ruby
[13:39:34] nando294021: has joined #ruby
[13:42:29] dhruvasagar: has joined #ruby
[13:42:34] mikecmpb_: has joined #ruby
[13:48:00] ncthom91: has joined #ruby
[13:48:21] aryaching: has joined #ruby
[13:48:59] Xeago_: has joined #ruby
[13:50:04] jtd: has joined #ruby
[13:50:17] nankyokusei: has joined #ruby
[13:50:32] jaguarmagenta: has joined #ruby
[13:50:38] `tim`: has joined #ruby
[13:51:16] macsteps: has joined #ruby
[13:51:33] prestorium: has joined #ruby
[13:51:49] jhack: has joined #ruby
[13:53:03] mattwashere: has joined #ruby
[13:53:39] yardenbar: has joined #ruby
[13:54:13] blackmes1: has joined #ruby
[13:55:41] marcosa: has joined #ruby
[13:56:06] swills: has joined #ruby
[13:56:42] ramortegui: has joined #ruby
[13:58:50] nankyokusei: has joined #ruby
[13:59:12] swills: is there some equivilant to the --sparse flag for cp in ruby's fileutils?
[13:59:49] jhack: has joined #ruby
[14:00:32] dc4: has joined #ruby
[14:00:40] tristanp: has joined #ruby
[14:00:53] fujinuma: has joined #ruby
[14:01:18] marcosa: Hey guys! I'm new in this channel, are there specific rules that I should know about? I'd like to show and get feedback about a gem I published yesterday :)
[14:01:22] fujinuma: I'm new in testing is this a good way to test a method which returns a full name of a person class?
[14:01:31] fujinuma: http://vpaste.net/nXxHd
[14:03:04] charliesome: has joined #ruby
[14:03:17] marcosa: Hi fujinuma, it looks fine! Though it is using an old syntax for RSpec, do you know what version you're using?
[14:03:45] fujinuma: marcos_: yeah, I know. I
[14:03:55] fujinuma: marcos_: I'm searching about the new syntax.
[14:04:00] naftilos76: Does anybody know any guide of capturing substrings with regex in ruby using "string".scan() ?
[14:04:58] MrBusiness3: has joined #ruby
[14:04:58] fujinuma: naftilos76: http://stackoverflow.com/questions/4115115/extract-a-substring-from-a-string-in-ruby-using-a-regular-expression
[14:05:11] fujinuma: naftilos76: haha :)
[14:05:56] naftilos76: fujinuma, i was looking at that before asking you. that is not a guide
[14:06:05] marcosa: fujinuma: if you want a good short example for training your testing skills, I've found creating an automated user handle based on the user's name is quite challenging
[14:06:22] naftilos76: fujinuma, i was looking for a regex guide
[14:07:05] fujinuma: naftilos76: I don't understand here is ruby channel I think you should join #regex
[14:07:32] fujinuma: marcos_: what do you mean?
[14:08:06] marcosa: naftilos76: Just to get you started: https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions and http://regexr.com/ are your friends
[14:09:10] naftilos76: marcos_, thanks a lot
[14:09:20] marcosa: fujinuma: For example, given a name like: first name = "John"; last_name = "Doe", the handle method could return @jdoe
[14:10:30] marcosa: fujinuma: but there's several edge cases, for example the person having more than one first name, more than one last name, having dashes in the name
[14:10:32] Guest99267: has joined #ruby
[14:11:29] marcosa: after that, it's interesting to implement a method that parses a string looking for mentions by users handles and checking against a pool of existing users
[14:11:46] ulluh: has joined #ruby
[14:12:00] fujinuma: marcos_: I think it relates to NER (Named Entity Recognition) in Natural language processing.
[14:12:13] smathy: has joined #ruby
[14:12:14] Meeh_: has joined #ruby
[14:12:59] fujinuma: marcos_: so based on that, there's a lot of challenging stuff.
[14:13:23] RegulationD: has joined #ruby
[14:13:49] fujinuma: marcos_: give me a break :D
[14:14:39] aryaching: has joined #ruby
[14:14:54] marcosa: fujinuma: haha, kinda, but much simpler than that, the proposed method is just a simple pattern matching exercise with some validation in the results at the end
[14:15:05] mdw: has joined #ruby
[14:15:19] omphe: has joined #ruby
[14:15:28] Asher: has joined #ruby
[14:15:35] mattwashere: has joined #ruby
[14:16:03] mdw: has joined #ruby
[14:16:11] marcosa: fujinuma: similar to how Twitter mentions work, in a text containing "Hey @marcos_ and @fujinuma, meet my good friend @weirdnamethatdoesntexist", the algorithm would return @marcos_ and @fujinuma :)
[14:16:45] mattwashere: has joined #ruby
[14:16:46] marcosa: fujinuma: I've used this example for some of my students and it worked quite well, is simple enough and yet practical
[14:17:26] fujinuma: marcos_: would you give me references/clues about the topic?
[14:17:36] diegoviola: has joined #ruby
[14:19:27] mistermocha: has joined #ruby
[14:19:45] jenrzzz: has joined #ruby
[14:19:45] jenrzzz: has joined #ruby
[14:19:58] Neobenedict: has joined #ruby
[14:20:14] marcosa: fujinuma: sure! I'll write a detailed specification of the expected behaviour, just a second :)
[14:20:30] smathy: has joined #ruby
[14:21:38] floatingpoint: has joined #ruby
[14:22:16] fujinuma: what's the difference between these two methods? def initialize(first_name:, last_name:) and def def initialize(first_name, last_name)
[14:22:51] fujinuma: I think first_name with colon after it is wrong? that's not symbol right?
[14:23:37] floatingpoint: has joined #ruby
[14:25:46] emilkarl: has joined #ruby
[14:28:03] agentmeerkat: has joined #ruby
[14:28:41] Hanmac: fujinuma: named (keyword) argument
[14:28:59] mattwashere: has joined #ruby
[14:29:47] mattwashere: has joined #ruby
[14:30:15] fujinuma: hanmac: it's actually hash if I'm correct.
[14:30:47] Hanmac: fujinuma: it's not directly a hash, but you can think about it as if it would be one
[14:31:24] fujinuma: hanmac: so what is it under the hook?
[14:31:40] ramfjord: has joined #ruby
[14:31:41] edwinvdgraaf: has joined #ruby
[14:32:05] dopamean_: has joined #ruby
[14:32:23] Hanmac: very deep under the hook? hm i am not 100% for sure, but they are a different type of method parameters than normal ones
[14:32:37] smathy: fujinuma, hanmac is right, it's a named arg.
[14:33:18] malconis_: has joined #ruby
[14:33:21] smathy: ...required args at that.
[14:33:22] Hanmac: that are the different kind of parameters ruby does support:
[14:33:22] Hanmac: >> def meth(a,b=1,*c, d:, e: 4, **g, &h);end; method(:meth).parameters
[14:33:24] ruby[bot]: hanmac: # => [[:req, :a], [:opt, :b], [:rest, :c], [:keyreq, :d], [:key, :e], [:keyrest, :g], [:block, :h]] (https://eval.in/598524)
[14:33:35] fujinuma: alright, thanks for giving me the insight.
[14:34:02] Hanmac: in your case they are "keyreq" means required key parameters
[14:34:08] amcoder: has joined #ruby
[14:34:11] sarbs: has joined #ruby
[14:35:00] smathy: fujinuma, what is sometimes confusing is that the calling of those methods didn't change, and looks exactly the same no matter if the method has keyword args or accepts a hash.
[14:35:21] skywritergr: has joined #ruby
[14:35:32] neo_: has joined #ruby
[14:35:35] diego2: has joined #ruby
[14:35:41] smathy: (I say "didn't change" meaning between ruby 1.9 and ruby 2.0 when keyword args were added to the language)
[14:35:43] diego2: has joined #ruby
[14:35:48] sarbs: has joined #ruby
[14:35:52] ThatsNotJack: has joined #ruby
[14:36:33] kobain: has joined #ruby
[14:37:27] dhruvasagar: has joined #ruby
[14:38:02] orangey: has joined #ruby
[14:38:05] macsteps: has joined #ruby
[14:38:05] Neo--: has joined #ruby
[14:38:57] marcosa: fujinuma: sorry the wait, here it goes: https://gist.github.com/mrodrigues/8cbd201a3574af3e61240b69d03d5c79
[14:39:01] chouhoulis: has joined #ruby
[14:39:17] chouhoulis: has joined #ruby
[14:39:36] fujinuma: marcos_: cheers
[14:40:06] chouhoulis: has joined #ruby
[14:40:51] aryaching: has joined #ruby
[14:42:11] marcosa: Hey guys, yesterday I published a new gem and I'd like to receive feedback on it: https://github.com/mrodrigues/know_it_all
[14:42:24] ryez: has joined #ruby
[14:42:58] marcosa: Hope it's helpful to you as it is to me :)
[14:43:00] joonty: has joined #ruby
[14:45:53] malconis: has joined #ruby
[14:48:36] rippa: has joined #ruby
[14:50:56] davedev24: has joined #ruby
[14:51:18] isberg: has joined #ruby
[14:52:46] Carella: has joined #ruby
[14:53:18] terrabl: has joined #ruby
[14:55:15] terrabl: Hey guys, I have a string like the following (<ul><li><u>sadfasd</u></li><li><u>asdfasdf</u></li></ul>) and I want to add "class = list-group" to every instance of ul but not /ul and I want to add "class = list-group-item" to every instance of li but not /li, I know I can't use gsub because gsub would replace that part, is their something similar to gsub but for addition?
[14:55:48] hxegon: terrabl: don't use regexes to parse html plz
[14:56:21] terrabl: Not parsing, the html comes in through a form and I need to add these classes to it
[14:56:44] terrabl: I know I should do it javascript but its a WYSIWYG editor and this is the only way I have found to get the string.
[14:56:51] hxegon: parsing is the wrong word, sorry.
[14:57:18] adaedra: yeah, best would be to use a XML/HTML parser to parse it, inject it correctly and re-render it.
[14:58:15] hxegon: marcos_: I'm looking it over. I don't use these types of things, but I'm liking the repo either way
[14:58:37] fclausen: has joined #ruby
[14:59:04] hxegon: terrabl: i would still suggest not using regex, but you can use capture groups to do it, and if you know that the tag is ul, then you don't even need those
[14:59:26] nocco: has joined #ruby
[14:59:31] synthroid: has joined #ruby
[14:59:46] marcosa: hxegon: :D
[15:00:44] xaxisx: has joined #ruby
[15:00:51] smathy: terrabl, think of replacing <ul and <li not ul and li - then the /s won't be an issue.
[15:01:00] hxegon: >> '<ul>'.gsub(/<ul/, '<ul class = list-group-item')
[15:01:01] ruby[bot]: hxegon: # => "<ul class = list-group-item>" (https://eval.in/598527)
[15:01:10] arooni: has joined #ruby
[15:01:20] xaxisx: has joined #ruby
[15:01:21] floatingpoint: has joined #ruby
[15:01:39] ekinmur: has joined #ruby
[15:01:39] solars: has joined #ruby
[15:02:27] agent_white: has joined #ruby
[15:02:46] terrabl: Thank you, I didn't even think about just using gsub to replace ul when I find ul
[15:02:48] hxegon: marcos_: is MiniTest::Assertions#refute_raises defined in your test_helper similar to expect(foo).to_not raise_error?
[15:02:53] terrabl: I was thinking I had to add to ul
[15:03:04] allcentury: has joined #ruby
[15:03:52] hxegon: morning agent_white
[15:06:09] karapetyan: has joined #ruby
[15:06:27] mtkd: has joined #ruby
[15:08:36] tomdp: has joined #ruby
[15:09:30] karapetyan: has joined #ruby
[15:10:35] Peteykun: has joined #ruby
[15:10:52] tomdp: Does anyone know how I can assign a block to a variable if block_given? I've seen `yield if block_given?`, but what about `@the_block = block if block_given?`? AFAIK, I can only run the block that was passed, through yield, not treat it as an object
[15:11:28] hxegon: tomdp: as in a default block that is used if there is no block given by the caller?
[15:12:13] tomdp: hxegon: not really, as in some way to refer to the block that was passed by the caller, if a block was passed
[15:12:23] arooni: has joined #ruby
[15:12:27] TeresaP: has joined #ruby
[15:12:53] nocco: has joined #ruby
[15:13:17] hxegon: >> def foo(&block); block.call; end; foo { puts 'foo' } # tomdp
[15:13:18] ruby[bot]: hxegon: # => foo ...check link for more (https://eval.in/598531)
[15:14:08] ChiefAlexander: has joined #ruby
[15:14:25] RegulationD: has joined #ruby
[15:17:25] Vingador: has joined #ruby
[15:17:50] Vingador_: has joined #ruby
[15:19:15] tomdp: hxegon: What I mean is this, only working: https://eval.in/598537
[15:19:54] tomdp: From within the method, I want to refer to the block passed (easy if it's defined as explicitly requiring a block), but also want the block to be optional
[15:20:13] mistermocha: has joined #ruby
[15:21:06] marcosa: hxegon: Yep, exactly like that :)
[15:21:33] marcosa: hxegon: I'm not fluent in MiniTest, I've been using RSpec for the last 6 years, but I wanted to give it a try
[15:21:38] hxegon: tomdp: that works with the method I gave you; for example
[15:21:46] tomdp: The bit that doesn't work is @a_block = block, because there is no block parameter in that case. I can yield if block_given? but I need to not yield but assign the block to an instance variable
[15:21:56] Vingador: has joined #ruby
[15:22:39] hxegon: >> def foo(&block); if block; yield; else; 'bar'; end; end; [foo, (foo { 'foo' })] # tomdp
[15:22:40] ruby[bot]: hxegon: # => ["bar", "foo"] (https://eval.in/598539)
[15:23:30] marcosa: tomdp: It's really weird, but you can do @the_block = Proc.new without passing any block to the Proc.new, and it'll grab the received block
[15:23:31] hxegon: marcos_: I gave it a try about 5 months ago, went back to rspec. How are you liking it so far?
[15:23:41] slackbotgz: has joined #ruby
[15:24:53] tomdp: marcos_: like this? https://eval.in/598540 that doesn't appear to work there
[15:24:54] marcosa: hxegon: Not very much so far, but I reckon that's probably because I'm too used to RSpec. I'll stick with it for some time and see if I like it better
[15:25:01] Wildfyr: has joined #ruby
[15:25:25] karapetyan: has joined #ruby
[15:26:19] hxegon: tomdp: Could you give some trivial but concrete functionality to put into code? I'm still not 100% on what you are asking about.
[15:26:41] marcosa: tomdp: What do you expect that code to return? You need to use the @a_block somehow
[15:26:42] tomdp: Yes. One sec
[15:27:00] sepp2k: has joined #ruby
[15:27:12] omphe: has joined #ruby
[15:27:18] amcoder: has joined #ruby
[15:27:44] marcosa: tomdp: For example, if you later call bar.instance_variable_get(:@a_block).call, it's going to work
[15:27:47] dannyh: has joined #ruby
[15:28:19] dannyh: hi...having some trouble using ruby to parse a simple yaml file
[15:28:35] AndrewIsHere: has joined #ruby
[15:28:39] dannyh: yaml file looks like this: settings: <new line, indent>setting1: 'value'
[15:28:40] LoneHerm_: has joined #ruby
[15:28:49] dannyh: im doing config = YAML.load_file('config.yaml')
[15:29:11] helpa: has joined #ruby
[15:29:25] allcentury: Any idea why this doesn't work? {"a": "b"}.to_s.tr("{", "{\n") but this does {"a": "b"}.to_s.sub("{", "{\n"
[15:29:31] hxegon: are you getting an error, or is it not loading correcty Danny_ ?
[15:29:43] allcentury: missing end of paren sorry
[15:29:52] dannyh: its loading fine...when i do config.inspect, i see a json string, which looks absolutely correct
[15:29:54] dannyh: it makes no sense
[15:30:28] ljarvis: Danny_: want to drop the code into a gist?
[15:30:30] allcentury: Danny_: to use a symbol, you need to use :settings: (colons on both sides)
[15:30:33] monoprotic: allcentury learn what the arguments to tr mean
[15:30:44] dannyh: hmm, let me try that
[15:30:52] toretore: allcentury: did you read the documentation for String#tr to understand what it actually does? http://www.rubydoc.info/stdlib/core/String#tr-instance_method
[15:30:55] hxegon: &ri String#tr
[15:30:55] `derpy: http://ruby-doc.org/core-2.3.1/String.html#method-i-tr
[15:31:01] dannyh: oh my lord
[15:31:02] dannyh: that worked
[15:31:15] ljarvis: you're.. welcome?
[15:31:18] allcentury: you're welcome
[15:31:32] nocco: has joined #ruby
[15:31:32] ljarvis: thought you'd dropped it into a gist and it worked
[15:31:35] ljarvis: I was all oO wat
[15:31:43] Vingador: has joined #ruby
[15:32:00] allcentury: monoprotic: yep, I read the docs but still dont' understand what I'm missing.
[15:32:34] monoprotic: the first char in the first arugment is replaced by the first char in the second argument, etc
[15:32:38] monoprotic: it doesnt do the same thing as sub
[15:32:55] monoprotic: namely you cant replace one character with two like you're trying to
[15:32:56] karapetyan: has joined #ruby
[15:33:21] allcentury: I see, i didn't realize the length o f from_str and to_str were being used
[15:33:36] monoprotic: did you read the docs?
[15:33:38] allcentury: the docs don't say that
[15:33:44] camilasan: has joined #ruby
[15:33:46] allcentury: Returns a copy of str with the characters in from_str replaced by the corresponding characters in to_str. If to_str is shorter than from_str, it is padded with its last character in order to maintain the correspondence.
[15:33:50] hxegon: allcentury: they do have the example
[15:34:07] monoprotic: corresponding characters.. then the bit about padding is surely related to length
[15:34:10] hxegon: >> "hello".tr('a-y', 'b-z') # allcentury
[15:34:11] ruby[bot]: hxegon: # => "ifmmp" (https://eval.in/598549)
[15:34:13] allcentury: 'maintain the correspondence' means index of the arguments strings. that is not very clear
[15:34:31] monoprotic: anyway the examples would have made it clear
[15:34:45] dannyh: one more: how can i convert a hash object into something where i can use dot notation to access the properties?
[15:34:55] hxegon: Danny_: OpenStruct
[15:34:58] floatingpoint: has joined #ruby
[15:35:04] allcentury: Danny_: OpenStruct
[15:35:12] tomdp: hxegon marcos_: Here's a really really dumb example use of this: https://eval.in/598548 This could really better off just use attr_accessor, instead of this dumb accessor-and-mutator-in-one method, so it's a contrived example, but it should show the problem. There's no variable `block` if I don't explicitly require it in the method parameters, so how do I assign it to an instance variable if it gets passed?
[15:35:14] dannyh: not something as easy as obj.to_something.prop?
[15:35:45] hxegon: Danny_: not really, I mean you could define #to_struct on Hash to do that though
[15:35:51] dannyh: ok, thanks!
[15:36:05] solars: has joined #ruby
[15:36:11] hxegon: Danny_: I would just recommend using OpenStruct.new rather than monkey patching though
[15:36:25] allcentury: Another question if anyone has time, I'm using PP.pp(hash, "") to print a nicely formatted hash in an ERB template. I've read through the PP docs but can't get indentation to work. Anyone have an experience w/ that std lib?
[15:36:59] marcosa: tomdp: https://eval.in/598551
[15:37:11] karapetyan: has joined #ruby
[15:37:49] Vingador: has joined #ruby
[15:38:01] marcosa: tomdp: It's exactly as I stated in my previous message, just use Proc.new and it's going to work :)
[15:38:39] marcosa: tomdp: I know that's really weird, I myself just found this "feature" recently
[15:39:09] gnufied: has joined #ruby
[15:39:11] karapetyan: has joined #ruby
[15:40:27] tomdp: So it does work! Thanks. I didn't look at https://eval.in/598540 close enough to see that it worked then, sorry about that.
[15:41:12] macsteps: has joined #ruby
[15:41:12] hxegon: I prefer this style because what Proc.new really does isn't 100% clear https://eval.in/598555
[15:41:19] floatingpoint: has joined #ruby
[15:42:38] symm-: has joined #ruby
[15:42:50] polishdub: has joined #ruby
[15:43:11] aupadhye: has joined #ruby
[15:43:20] mustmodify: has joined #ruby
[15:43:29] nshahpazov: has joined #ruby
[15:43:38] mustmodify: Apparently the #rubyonrails crowd doesn't want this kind of question, so I'm cross-posting. :)
[15:43:47] mustmodify: I have a collection of strategies (classes) to do some work. I want to ask each strategy whether it handles an object. First one that says yes will be asked to do it. Should the interface be StrategyOne.handles?( obj ) and then StrategyOne.new(obj).fire? or s = StrategyOne.new(obj).handled? then s.fire
[15:43:57] mustmodify: My thinking is the first, even though that would mean some of the strategies would have to do duplicate work. But it would mean I wouldn't have to keep instances of strategies I'm not using, which seems sloppy...
[15:44:03] mustmodify: and it's not like there is a big efficiency issue. I mean, we have some efficiency issues, but this won't be one of them.
[15:44:09] karapetyan: has joined #ruby
[15:45:13] hxegon: I feel like the first one is clearer, but this feels like you need polymorphism somewhere
[15:45:28] hxegon: like you need obj.appropriate_strategy or something
[15:45:45] aep-shoutlet: has joined #ruby
[15:46:03] hxegon: just my opinion, but it really depends on what obj is
[15:46:14] nshahpazov: has left #ruby: ("ruby")
[15:46:39] toretore: then every single object that could ever be considered for "handling" would have to know about this
[15:47:44] smathy: mustmodify, the code you're talking about here is hidden inside some factory class or something right? Like the external callers would really just do something like: `s = StrategyFactory.get_strategy_for obj; s.call` right?
[15:48:26] hxegon: toretore: good point.
[15:49:43] hxegon: also, I'm just starting to get not terrible at OO design, so take my stuff with a grain of salt
[15:50:19] freerobby: has joined #ruby
[15:50:19] hxegon: smathy: Are you saying that is the way you'd do it, or there is a better way to do it than that?
[15:50:30] toretore: mustmodify: i lean to the second solution, as it does not suppose a class-oriented design
[15:51:16] jaguarmagenta: has joined #ruby
[15:51:25] smathy: hxegon, I was asking if that's how it was being done, I'd hate to imagine external callers are having to iterate over the strategies themselves.
[15:51:43] smathy: hxegon, because if that's how it's being done then it matters a lot less what the internals of that factory are like.
[15:52:06] toretore: maybe it doesn't even have to have answer "do you handle this object?", but just "handle this object, and do whatever you want"
[15:52:24] smathy: ...well that'd be the factory approach that I suggested toretore
[15:52:43] toretore: though this is quite procedural and assumes that side effects is what you want
[15:52:50] karapetyan: has joined #ruby
[15:53:23] karapetyan: has joined #ruby
[15:53:59] hxegon: I like the StrategyFactory approach best
[15:54:57] workmad3: has joined #ruby
[15:55:00] blackmes1: has joined #ruby
[15:56:48] rkazak: has joined #ruby
[15:58:06] neo_: has joined #ruby
[15:58:30] TheWhip: has joined #ruby
[15:58:34] amclain: has joined #ruby
[15:59:22] AnoHito_: has joined #ruby
[15:59:39] nankyokusei: has joined #ruby
[16:00:25] mustmodify: smathy: Yes, it's in a 'factory' class.
[16:02:06] naftilos76: can anybody help on how to remove random number of white space chars from the beginning and end of a phrase like " ruby rocks " with gsub(//, "") ?
[16:02:21] nettoweb: has joined #ruby
[16:02:42] dc4: has joined #ruby
[16:03:01] toretore: naftilos76: http://www.rubydoc.info/stdlib/core/String%3Astrip
[16:03:07] hirvi: how abaout " asdfasdf ".strip
[16:03:17] mustmodify: use case: we have routes. We confirm appointments on those routes in different ways. Early on, we confirm them by emailing every customer at the same time. Later, we confirm via automated call. But in that case, the VoiceConfirmationStrategy will just pick a single appointment to confirm, not all of them. (because if they don't like that appointment, the rest of the schedule changes.) etc. So each strategy does different things and operates within differen
[16:04:28] naftilos76: toretore, gratefull thanks, i did not know strip
[16:04:52] shinnya: has joined #ruby
[16:05:06] mustmodify: So I have a ConfirmationStrategyFactory, whose sole purpose is to (a) on the class level, find a list of routes that could be confirmed, then create instances of the factory for each. (b) on the instance level, to figure out which strategy to use and call that one. Then stop. Then the strategies (a) know which routes they can handle and (b) do that.
[16:05:53] mustmodify: So is the consensus to leave it at the class level and have some instances do some work twice?
[16:06:01] synthroid: has joined #ruby
[16:06:31] mustmodify: TBH I had called it an Aide instead of a Factory because I hadn't thought of it being a factory. But obviously that's what it is.
[16:06:53] GinoManWorks_: has joined #ruby
[16:07:48] synthroid: has joined #ruby
[16:09:40] Es0teric: has joined #ruby
[16:09:59] TheWhip: has joined #ruby
[16:10:22] Es0teric: has joined #ruby
[16:10:47] araujo: has joined #ruby
[16:11:37] araujo: has joined #ruby
[16:12:50] ulluh: has joined #ruby
[16:13:24] isberg: has joined #ruby
[16:14:27] moredhel: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[16:15:01] isberg: has joined #ruby
[16:15:16] RegulationD: has joined #ruby
[16:16:06] zacstewart: has joined #ruby
[16:16:13] mistermocha: has joined #ruby
[16:16:28] isberg: has joined #ruby
[16:17:31] hutch34: has joined #ruby
[16:17:53] mistermocha: has joined #ruby
[16:17:55] whathappens: has joined #ruby
[16:19:54] kareeoleez: has joined #ruby
[16:20:24] Wildfyr: How would I make an infix calculator
[16:20:40] psmmr: has joined #ruby
[16:21:30] jenrzzz: has joined #ruby
[16:21:41] mustmodify: (a) not enough information to answer (b) i'm sure Google knows.
[16:23:59] xall: has joined #ruby
[16:24:36] AndrewIsHere: has joined #ruby
[16:25:37] Wildfyr: mustmodify: okay
[16:25:40] swills: has joined #ruby
[16:26:09] nogic: has joined #ruby
[16:27:18] Wildfyr: mustmodify: what info would be relevant
[16:27:44] workmad3: has joined #ruby
[16:27:52] dannyh: has joined #ruby
[16:28:05] blackmes1: has joined #ruby
[16:28:21] Hobogrammer: has joined #ruby
[16:29:46] araujo: has joined #ruby
[16:29:53] mustmodify: Is this something you want as a DSL? Or you want to parse strings and do it? Or like... what's the use case?
[16:30:00] mustmodify: but also, I would check google.
[16:30:13] AndrewIsHere: has joined #ruby
[16:30:37] mustmodify: in summary, (a) use tdd (b) keep state :)
[16:31:46] Wildfyr: mustmodify: parse string and do it
[16:32:23] Wildfyr: as for use-case, well it's a project i want to try as i think it would be a good learning experience
[16:32:51] whathappens: has joined #ruby
[16:32:59] Wildfyr: From some googling it seems like the best way is to convert into an RPN equation and then calculate it
[16:36:47] nankyokusei: has joined #ruby
[16:39:25] mustmodify: that's certainly an option, but if you're using eval that's the "quick and dirty" way to do it... if you really want to learn Ruby, maybe parse each string and build the calculation using OO parts.
[16:39:42] SCHAAP137: has joined #ruby
[16:40:24] soud: Wildfyr: check out dijkstra's shunting yard algorithm
[16:41:15] mustmodify: AH! I knew there was a name for what I meant. I meant you should build an AST.
[16:41:34] Wildfyr: ACTION googles AST
[16:41:52] soud: well if he just wishes to evaluate it, that's not actually needed, but would be a good exercise regardless
[16:42:08] mustmodify: Wildfyr: https://en.wikipedia.org/wiki/Abstract_syntax_tree
[16:43:18] Wildfyr: mustmodify: thanks
[16:44:20] davedev24: has joined #ruby
[16:44:26] mustmodify: it's basically a tree of objects... verbs for nodes and values for leaves.
[16:46:50] AndrewIsHere: has joined #ruby
[16:47:12] davedev24: has joined #ruby
[16:48:16] Wildfyr: mustmodify: okay
[16:48:48] Macaveli: has joined #ruby
[16:51:07] davedev24: has joined #ruby
[16:51:10] yqt: has joined #ruby
[16:53:01] workmad3: has joined #ruby
[16:53:06] pilne: has joined #ruby
[16:53:25] Devalo: has joined #ruby
[16:53:37] dhruvasagar: has joined #ruby
[16:55:51] replay: has joined #ruby
[16:56:36] neo_: has joined #ruby
[16:59:54] fclausen: has joined #ruby
[17:00:47] aegis3121: has joined #ruby
[17:01:18] neo_: has joined #ruby
[17:01:31] karapetyan: has joined #ruby
[17:02:57] neoice: has joined #ruby
[17:04:16] neonlex: has joined #ruby
[17:05:18] Neo--: has joined #ruby
[17:05:19] karapetyan: has joined #ruby
[17:05:55] Neo--: has joined #ruby
[17:06:11] hutch34: has joined #ruby
[17:06:13] Hyuk: has joined #ruby
[17:07:34] Macaveli: has joined #ruby
[17:10:55] kareeoleez: has joined #ruby
[17:11:31] mtkd: has joined #ruby
[17:12:57] aegis3121: has joined #ruby
[17:13:38] mikecmpbll: has joined #ruby
[17:14:15] craigp: has joined #ruby
[17:14:16] karapetyan: has joined #ruby
[17:15:31] rcvalle: has joined #ruby
[17:16:04] RegulationD: has joined #ruby
[17:17:47] snowy: has joined #ruby
[17:18:23] Regulati_: has joined #ruby
[17:19:19] snowy: has joined #ruby
[17:20:25] Snowy_: has joined #ruby
[17:20:29] harfangk: has joined #ruby
[17:21:50] hutch34: has joined #ruby
[17:23:08] ItSANgo: has joined #ruby
[17:23:36] kareeoleez: has joined #ruby
[17:24:27] [Butch]: has joined #ruby
[17:26:27] Carella: has joined #ruby
[17:27:06] dhruvasagar: has left #ruby: ("WeeChat 1.5")
[17:27:19] ncthom91: has joined #ruby
[17:28:59] korzybski: has joined #ruby
[17:29:08] floatingpoint: has joined #ruby
[17:29:17] davedev24: has joined #ruby
[17:29:28] wilbert: has joined #ruby
[17:30:07] djbkd: has joined #ruby
[17:31:00] floatingpoint: has joined #ruby
[17:31:11] emilkarl: has joined #ruby
[17:31:17] dannyh: has joined #ruby
[17:31:37] mostlybadfly: has joined #ruby
[17:31:58] vdamewood: has joined #ruby
[17:31:58] nanoz: has joined #ruby
[17:31:58] nanoz: has joined #ruby
[17:32:18] ChiefAlexander: has joined #ruby
[17:32:56] kareeoleez: has joined #ruby
[17:34:27] emilkarl: has joined #ruby
[17:34:59] karapetyan: has joined #ruby
[17:35:51] vdamewood: has joined #ruby
[17:36:02] rkoller: has joined #ruby
[17:38:43] yardenbar: has joined #ruby
[17:39:02] vdamewood: has joined #ruby
[17:39:15] mdw7: has joined #ruby
[17:39:32] swills: has joined #ruby
[17:39:42] john2496: has joined #ruby
[17:40:18] diegoviola: has joined #ruby
[17:41:37] dannyh: has joined #ruby
[17:42:08] john2496: has joined #ruby
[17:42:55] alfiemax: has joined #ruby
[17:43:23] john2496: has joined #ruby
[17:43:30] ramfjord: has joined #ruby
[17:48:05] mello: has joined #ruby
[17:48:29] tomphp: has joined #ruby
[17:49:47] Es0teric: has joined #ruby
[17:49:48] emilkarl: has joined #ruby
[17:49:58] swills: has joined #ruby
[17:50:28] Es0teric: has joined #ruby
[17:50:55] r_rios_: has joined #ruby
[17:50:55] r_rios_: has joined #ruby
[17:52:01] jaguarmagenta: has joined #ruby
[17:52:09] Devalo: has joined #ruby
[17:53:37] kareeoleez: has joined #ruby
[17:55:07] macsteps: has joined #ruby
[18:01:00] floatingpoint: has joined #ruby
[18:01:53] spider-mario: has joined #ruby
[18:02:52] spider-mario: has joined #ruby
[18:03:48] john2496: has joined #ruby
[18:04:22] Dimik: has joined #ruby
[18:04:24] dc4: has joined #ruby
[18:05:14] john2496: has joined #ruby
[18:05:20] cajone: has joined #ruby
[18:06:02] giz|work|2: has joined #ruby
[18:08:37] karapetyan: has joined #ruby
[18:09:52] vdamewood: has joined #ruby
[18:11:08] smathy: Shunting Yard - sounds like a Thomas the Tank Engine episode.
[18:12:11] chipotle: has joined #ruby
[18:12:41] willardg: has joined #ruby
[18:15:45] psmmr: has joined #ruby
[18:15:45] nertzy: has joined #ruby
[18:15:51] willardg: has left #ruby: ()
[18:15:52] willardg: has joined #ruby
[18:16:13] prestorium: has joined #ruby
[18:16:57] dmr8: has joined #ruby
[18:17:16] workmad3: has joined #ruby
[18:17:51] vdamewood: has joined #ruby
[18:18:31] spiette: has joined #ruby
[18:21:12] Robtop__: has joined #ruby
[18:22:18] nettoweb: has joined #ruby
[18:22:55] codecop: has joined #ruby
[18:23:03] kareeole_: has joined #ruby
[18:25:18] easyecho: has joined #ruby
[18:25:51] Xeago_: has joined #ruby
[18:25:56] araujo: has joined #ruby
[18:27:03] psmmr: has joined #ruby
[18:27:36] AMParanoid: has joined #ruby
[18:29:33] agit0: has joined #ruby
[18:30:45] mattwashere: has joined #ruby
[18:31:12] kirun: has joined #ruby
[18:32:01] BTRE: has joined #ruby
[18:32:04] hxegon: https://www.youtube.com/watch?v=lzmWzXLPa6I
[18:33:03] futilegames: has joined #ruby
[18:33:40] wigust: has joined #ruby
[18:35:33] macsteps: has joined #ruby
[18:36:10] terminalrecluse: has joined #ruby
[18:37:23] Limix: has joined #ruby
[18:37:36] nankyokusei: has joined #ruby
[18:38:03] matp: has joined #ruby
[18:40:01] sethetter: has joined #ruby
[18:41:00] mustmodify: has left #ruby: ()
[18:41:07] User458764: has joined #ruby
[18:41:37] mattwashere: has joined #ruby
[18:42:35] ur5us: has joined #ruby
[18:44:06] spiette: has joined #ruby
[18:44:17] ThatsNotJack: has joined #ruby
[18:44:25] hakunin: has joined #ruby
[18:44:29] spiette_: has joined #ruby
[18:45:05] korzybski: has joined #ruby
[18:46:38] hakunin: could swear heard somebody (maybe JEG2) mention that you can have actual default block parameters, but can't find any reference to it anymore
[18:46:39] sethetter: I have a box provisioned with chef using the rvm cookbook and installing some global gems. When I run the cap deploy with the deploy user it's unable to access those gems (can't find compass, etc). But if I log in as the deploy user they are there. Any help?
[18:47:06] hakunin: i mean def foo(&block = -> {}) type of thing
[18:47:11] fujinuma: marcos_: hey
[18:47:14] sethetter: I've tried setting `pty` to true in my deploy config, even though it's suggested against, but to no avail.
[18:47:32] hakunin: maybe dreamt it…
[18:47:32] pgib: has joined #ruby
[18:47:37] blackmes1: has joined #ruby
[18:48:25] fujinuma: marcos_: can I pm you?
[18:50:19] AnoHito: has joined #ruby
[18:51:57] futilegames: has joined #ruby
[18:53:04] pawnbox_: has joined #ruby
[18:53:15] xall: has joined #ruby
[18:53:18] kies: has joined #ruby
[18:55:34] giz|work|2: has joined #ruby
[18:56:30] ur5us: has joined #ruby
[18:56:45] bmurt: has joined #ruby
[18:58:06] djbkd: has joined #ruby
[18:58:47] l4v2: has joined #ruby
[19:00:30] workmad3: has joined #ruby
[19:01:45] Hyuk: has joined #ruby
[19:04:39] korzybski: has joined #ruby
[19:05:40] GodFather: has joined #ruby
[19:06:15] jenrzzz: has joined #ruby
[19:06:16] jenrzzz: has joined #ruby
[19:06:45] hxegon: >> def foo(&block); block ||= proc { 'foo' }; block.call; end; [foo, (foo { 'bar' }] # default block
[19:06:46] ruby[bot]: hxegon: # => /tmp/execpad-650637a77a17/source-650637a77a17:2: syntax error, unexpected ']', expecting ')' ...check link for more (https://eval.in/598689)
[19:06:55] hxegon: >> def foo(&block); block ||= proc { 'foo' }; block.call; end; [foo, (foo { 'bar' })] # default block
[19:06:56] ruby[bot]: hxegon: # => ["foo", "bar"] (https://eval.in/598690)
[19:08:15] hahuang61: has joined #ruby
[19:08:54] pLaToOn: has joined #ruby
[19:09:59] floatingpoint: has joined #ruby
[19:10:11] marcosa: fujinuma: Sure! Sorry the wait, I was in a consulting session
[19:11:16] fujinuma: marcos_: pm?
[19:13:09] wigust: has joined #ruby
[19:13:15] yfeldblum: has joined #ruby
[19:16:21] banisterfiend: has joined #ruby
[19:17:40] neo_: has joined #ruby
[19:20:13] vuoto: has joined #ruby
[19:21:05] agentmeerkat: has joined #ruby
[19:21:40] grill: has joined #ruby
[19:23:23] chouhoul_: has joined #ruby
[19:23:25] memorasus: has joined #ruby
[19:25:13] lolaj: has joined #ruby
[19:25:49] lolaj: how writing extension to mruby?
[19:26:05] lolaj: any tutorial?
[19:26:32] lolaj: extension in C
[19:29:39] jenrzzz: has joined #ruby
[19:29:39] jenrzzz: has joined #ruby
[19:31:06] neo_: has joined #ruby
[19:31:29] chouhoulis: has joined #ruby
[19:31:42] blackmes1: has joined #ruby
[19:32:07] lolaj: how writing extension in C to mruby? Any tutorial? Who can help me?
[19:32:23] neo_: has joined #ruby
[19:33:49] chouhoul_: has joined #ruby
[19:34:49] chouhoul_: has joined #ruby
[19:35:13] Vingador_: has joined #ruby
[19:39:01] hutch34: has joined #ruby
[19:40:47] emiltin: has joined #ruby
[19:41:36] mikecmpbll: has joined #ruby
[19:42:13] phrozen77: has joined #ruby
[19:43:11] Devalo: has joined #ruby
[19:45:51] aryaching: has joined #ruby
[19:51:09] mtkd: has joined #ruby
[19:52:27] nettoweb: has joined #ruby
[19:52:47] jaguarmagenta: has joined #ruby
[19:53:05] unshadow: has joined #ruby
[19:53:10] Madplatypus: has joined #ruby
[19:53:11] wldcordeiro: has joined #ruby
[19:53:51] whathappens: has joined #ruby
[19:55:25] shevy: lolaj there was an old tutorial for extensions in cruby
[19:55:46] shevy: mruby is more recent, I guess the best chance is to look at some different blogs. not sure if there is an up to date tutorial for mruby
[19:56:25] bmurt: has joined #ruby
[19:56:48] TomyWork: has joined #ruby
[19:57:05] vdamewood: has joined #ruby
[19:57:14] nogic: has joined #ruby
[19:58:32] dangerousdave: has joined #ruby
[19:59:27] diegoviola: has joined #ruby
[19:59:56] diegoviola: has joined #ruby
[20:00:31] GodFather: has joined #ruby
[20:01:16] hightower2: has joined #ruby
[20:02:28] mattwashere: has joined #ruby
[20:04:42] vdamewood: has joined #ruby
[20:05:34] jhack: has joined #ruby
[20:05:36] chouhoulis: has joined #ruby
[20:06:34] dc4: has joined #ruby
[20:08:33] JohanTux: has joined #ruby
[20:09:20] ramfjord: has joined #ruby
[20:10:21] neo_: has joined #ruby
[20:10:27] marcos: has joined #ruby
[20:12:24] marcosa: has joined #ruby
[20:13:43] anisha: has joined #ruby
[20:15:26] CJKinni: has joined #ruby
[20:15:36] jgt: has joined #ruby
[20:15:50] chouhoulis: has joined #ruby
[20:16:02] mattwashere: has joined #ruby
[20:18:00] roamingdog: has joined #ruby
[20:21:01] smathy: has joined #ruby
[20:21:08] armatechnicos: has joined #ruby
[20:21:23] KensoDev: has joined #ruby
[20:24:00] Xeago_: has joined #ruby
[20:24:58] agentmeerkat: has joined #ruby
[20:26:09] blackgoat: has joined #ruby
[20:26:54] TomyLobo: has joined #ruby
[20:27:09] weaksauce: has joined #ruby
[20:27:52] tfitts: has joined #ruby
[20:31:09] Oclair: has joined #ruby
[20:34:42] karapetyan: has joined #ruby
[20:35:59] replay: has joined #ruby
[20:36:09] mdw: has joined #ruby
[20:36:26] replay: has joined #ruby
[20:36:38] ruby[bot]: -b Guest76648!*@*$#ruby-banned
[20:37:42] nofxx: Any idea why I'm installing a gem, bundle install local no problems, also checked and gem is not yanked, but on servers: "Could not find <gem> in any of the sources" ?
[20:38:19] karapetyan: hello, how to break block execution and return value to method?
[20:38:22] dn5: has joined #ruby
[20:38:27] nankyokusei: has joined #ruby
[20:38:29] dn5: howdy everyone :))
[20:38:35] skade: has joined #ruby
[20:38:51] nofxx: karapetyan, next or return
[20:39:25] diegoviola: has joined #ruby
[20:39:57] Xeago__: has joined #ruby
[20:40:20] jenrzzz: has joined #ruby
[20:40:21] jenrzzz: has joined #ruby
[20:40:37] Xeago-: has joined #ruby
[20:40:43] karapetyan: nofxx: could you explain please what difference? return will stop execution method? next will go to next iteration in method and execute block again?
[20:41:10] chouhoulis: has joined #ruby
[20:41:37] nofxx: karapetyan, you already did ;)
[20:41:55] minimalism: has joined #ruby
[20:41:58] ptierno: has joined #ruby
[20:41:58] ptierno: has joined #ruby
[20:42:02] nofxx: karapetyan, next also accepts the return... eg: next "foo" if bar?
[20:42:03] karapetyan: and one more question, how can i make return and chars.next! (i want return current char and call .next! after return) ?
[20:42:37] nofxx: karapetyan, you may end.next! but, not the beautiful thing around
[20:42:45] nofxx: just assign a var I think
[20:43:05] nofxx: personally I like end.method hehe, rubocop doesn't
[20:43:16] karapetyan: nofxx: thanks!
[20:43:16] smathy: nofxx, connection problems from your server to source server.
[20:43:47] Oclair: has joined #ruby
[20:43:59] nofxx: smathy, logged in and pinged rubygems, installed the gem manually and all good! =/
[20:44:20] nofxx: just when bundle install problem happens....
[20:44:21] smathy: Maybe temporary.
[20:44:25] smathy: Oh, still now?
[20:44:27] nofxx: smathy, yeah, thank you anyway
[20:44:54] nofxx: smathy, started yeasterday, today still can't deploy heheh
[20:45:24] nofxx: bundle stdout: Could not find fog-core-1.40.1 in any of the sources
[20:45:43] smathy: Puzzling.
[20:45:54] nofxx: only that gem... dunno if next one will fail too
[20:46:59] nofxx: also, rm -rf all gems in bundler shared/bundler and what not to test....
[20:47:57] nofxx: gem 2.6.4, bundler 1.12.5, ruby 2.3.1
[20:50:53] ChiefAlexander: has joined #ruby
[20:51:00] aegis3121: has joined #ruby
[20:52:36] Polysics: has joined #ruby
[20:58:48] epitron: has joined #ruby
[20:58:51] ocbtec: has joined #ruby
[20:59:12] anisha: has joined #ruby
[21:00:53] fclausen: has joined #ruby
[21:02:03] smathy: Your Gemfile.lock doesn't have it coming from a different source or something?
[21:02:24] Limix: has joined #ruby
[21:02:34] smathy: Hmm, I just added "fog-core" to a Gemfile of mine and it decided to grab 1.40.0
[21:03:43] smathy: Yep, nofxx, if I force it then I get the same error: Could not find gem 'fog-core (= 1.40.1)' in any of the gem sources listed in your Gemfile or available on this machine.
[21:04:13] smathy: Maybe some rubygems mirror doesn't have the .1 version or something./
[21:06:21] chouhoulis: has joined #ruby
[21:06:27] blackmes1: has joined #ruby
[21:07:12] johzsum: has joined #ruby
[21:07:55] johzsum: has left #ruby: ()
[21:09:08] hahuang61: has joined #ruby
[21:09:30] ramfjord: has joined #ruby
[21:13:23] zeroDi: has joined #ruby
[21:13:42] codezomb: has joined #ruby
[21:14:29] deuterium: has joined #ruby
[21:15:01] vuoto: has joined #ruby
[21:16:17] symm-: has joined #ruby
[21:18:53] nogic: has joined #ruby
[21:18:54] macsteps: has joined #ruby
[21:20:56] wldcordeiro: has joined #ruby
[21:24:14] ramfjord: has joined #ruby
[21:25:15] helpa-bot: has joined #ruby
[21:25:40] mozzarel1: has joined #ruby
[21:25:44] dn5: has joined #ruby
[21:27:00] Nahra``: has joined #ruby
[21:27:14] helpa: has joined #ruby
[21:27:51] mr_rich102: has joined #ruby
[21:28:15] armin: has joined #ruby
[21:30:09] amitchellbullard: has joined #ruby
[21:30:48] devster31: has joined #ruby
[21:31:17] dennisvennink: has joined #ruby
[21:31:19] tomphp: has joined #ruby
[21:32:11] banisterfiend`: has joined #ruby
[21:32:59] Amnez777: has joined #ruby
[21:33:52] bqscott_: has joined #ruby
[21:36:06] slackbotgz: has joined #ruby
[21:36:11] solocshaw: has joined #ruby
[21:37:08] Some-body_: has joined #ruby
[21:37:15] solocshaw: has joined #ruby
[21:37:34] Neo--: has joined #ruby
[21:37:50] firstdayonthejob: has joined #ruby
[21:38:02] staticfox`: has joined #ruby
[21:38:15] solocshaw: has joined #ruby
[21:38:36] aegis3121: has joined #ruby
[21:38:39] spidermario: has joined #ruby
[21:39:20] havenwood: Hark ye, Rails 5!
[21:39:28] SCHAAP137: has joined #ruby
[21:39:56] darix-: has joined #ruby
[21:41:00] darix-: has joined #ruby
[21:42:56] klaas-: has joined #ruby
[21:42:58] ramfjord: has joined #ruby
[21:42:59] `derpy: has joined #ruby
[21:43:22] kspencer-: has joined #ruby
[21:44:00] yfeldblum: has joined #ruby
[21:44:05] adam12_: has joined #ruby
[21:44:11] thejoecarroll_: has joined #ruby
[21:44:13] iNs-: has joined #ruby
[21:44:18] poguez_: has joined #ruby
[21:44:48] yqt: has joined #ruby
[21:46:53] KrzaQ: has joined #ruby
[21:50:50] havenwood: http://weblog.rubyonrails.org/2016/6/30/Rails-5-0-final/
[21:52:35] mikeiniowa: has joined #ruby
[21:53:34] jaguarmagenta: has joined #ruby
[21:54:26] kspencer-: has joined #ruby
[21:55:10] solocshaw: has joined #ruby
[21:56:22] kavanagh: has joined #ruby
[21:57:15] wrkrcoop: has joined #ruby
[21:57:21] wrkrcoop: so we deployed our code
[21:57:34] wrkrcoop: and one of the other teams is getting a ‘sinatra doesnt know this ditty’
[21:57:41] edwinvdgraaf: has joined #ruby
[21:58:01] wrkrcoop: but the endpoint works from postman, and from rest client … anyone know they might be getting a 404? someone said maybe their request is getting mutated on the way
[21:58:08] wrkrcoop: no backtrace in the logs
[21:58:42] ddffg: has joined #ruby
[21:58:52] Gasher: has joined #ruby
[22:00:29] mtkd: has joined #ruby
[22:02:20] pawnbox: has joined #ruby
[22:05:01] dn5: has joined #ruby
[22:05:07] blackmes1: has joined #ruby
[22:07:02] Limix: has joined #ruby
[22:08:23] dc4: has joined #ruby
[22:09:13] mikecmpbll: has joined #ruby
[22:12:15] shinnya: has joined #ruby
[22:12:57] Limix: has joined #ruby
[22:14:40] mrodrigues_: has joined #ruby
[22:16:56] RegulationD: has joined #ruby
[22:17:01] armin: has joined #ruby
[22:19:07] burgestrand: has joined #ruby
[22:19:43] RegulationD: has joined #ruby
[22:20:26] moos3: has joined #ruby
[22:22:15] pilne: has joined #ruby
[22:22:50] dc4: has joined #ruby
[22:23:03] moos3: has left #ruby: ()
[22:26:20] memorasus: has joined #ruby
[22:26:43] fclausen: has joined #ruby
[22:29:35] ndrst: has joined #ruby
[22:30:38] ramfjord: has joined #ruby
[22:30:57] djbkd: has joined #ruby
[22:34:28] zenlot: has joined #ruby
[22:34:58] kavanagh: has joined #ruby
[22:35:03] djbkd: has joined #ruby
[22:35:39] ulluh: has joined #ruby
[22:36:06] memorasus1: has joined #ruby
[22:36:49] agentmeerkat: has joined #ruby
[22:36:56] mrodrigues: has joined #ruby
[22:37:40] iooner: has joined #ruby
[22:43:42] fclausen: has joined #ruby
[22:46:31] AndrewIsHere: has joined #ruby
[22:48:30] mrodrigues: Hey guys, where would you recommend that I announce the new gem I released? I'd like to hear helpful feedback and see other people trying to use it :)
[22:49:13] jgt: has joined #ruby
[22:49:30] moei: has joined #ruby
[22:49:42] smathy: mrodrigues, you can do that here, although earlier in the (majority of timezones in the US) would be better than now.
[22:50:00] elomatreb: mrodrigues: You could try the Ruby subreddit at reddit.com/r/ruby
[22:51:21] Amnez777: has joined #ruby
[22:52:58] ule: Hi there
[22:53:05] ule: how can I convert json to xml?
[22:53:53] baweaver: what have you tried?
[22:54:13] ule: nothing yet
[22:54:45] baweaver: try a few things, search around a bit, see what you find
[22:55:24] ule: I just asked here because I already googled
[22:55:27] ule: with no luck
[22:55:27] Es0teric: has joined #ruby
[22:55:32] baweaver: there are a number of promising results in the first page of google results
[22:55:34] ule: maybe someone has some idea
[22:55:55] ule: I was thinking to use Nokogiri gem since I already had a chance to parse xml with it
[22:56:01] baweaver: ?g json to xml ruby
[22:56:01] ruby[bot]: baweaver: I don't see no json, whom should I tell about g?
[22:56:16] baweaver: so not that command then
[22:57:09] ule: I'll try this one: https://github.com/jnunemaker/crack
[22:57:13] vdamewood: has joined #ruby
[22:57:15] smathy: ?gg is this it
[22:57:15] crdpink: has joined #ruby
[22:57:15] ruby[bot]: smathy: I don't see no is, whom should I tell about gg?
[22:57:34] smathy: Oh, it's seeing the first word as the nick.
[22:57:35] baweaver: http://stackoverflow.com/questions/4272410/how-can-i-convert-json-to-xml-in-ruby
[22:57:45] baweaver: ?g baweaver
[22:57:45] ruby[bot]: baweaver: I don't know anything about g
[22:58:35] jenrzzz: has joined #ruby
[22:59:07] skade: has joined #ruby
[23:00:10] leea: has joined #ruby
[23:01:19] leea: are there any ruby open source projects that make it friendly for people to find issues that are "easy first bugs"? Like how FB's react tags their issues https://github.com/facebook/react/issues
[23:02:02] baweaver: There may be a few, but for the most part I would focus on finding a few projects you like and fixing documentation
[23:02:12] baweaver: gives you a good base understanding of the project, what it does, and how it works
[23:02:22] baweaver: then phase into minor bugs as they come through
[23:02:59] leea: hmm that's a good suggestion baweaver
[23:03:22] baweaver: not a problem. There are probably a number of them but none come immediately to mind
[23:03:30] baweaver: the Ruby AWS SDK needs a lot of love in documentation
[23:03:33] neo_: has joined #ruby
[23:03:34] baweaver: and has a very wide audience
[23:04:04] al2o3-cr: has joined #ruby
[23:04:05] ahmetkapikiran: has joined #ruby
[23:04:26] Dimik: has joined #ruby
[23:05:04] neo_: has joined #ruby
[23:05:22] mrodrigues: smathy: thanks, will do that tomorrow :)
[23:05:41] mrodrigues: elomatreb: thanks! I've never used reddit before, I'll give it a try! :)
[23:07:58] smathy: mrodrigues, np.
[23:08:40] roamingdog: has joined #ruby
[23:10:59] hahuang61: has joined #ruby
[23:11:49] ule: Nokogiri has a Builder
[23:11:52] banisterfiend: has joined #ruby
[23:12:00] ule: but I need to specify all the fields from the json manually
[23:12:09] ule: I was thinking on something automaticly
[23:13:55] hutch34: has joined #ruby
[23:17:38] burgestrand: has joined #ruby
[23:20:22] ule: something like this:
[23:20:25] ule: https://github.com/soldair/node-jsontoxml
[23:20:50] chouhoul_: has joined #ruby
[23:21:27] ReK2GnULinuX: has joined #ruby
[23:22:13] iamvery: has joined #ruby
[23:23:26] ule: http://apidock.com/rails/Hash/to_xml
[23:24:12] postmodern: has joined #ruby
[23:26:20] banisterfiend: has joined #ruby
[23:28:50] Azure: has joined #ruby
[23:29:55] CloCkWeRX: has joined #ruby
[23:31:04] ule: Managed to do it
[23:34:17] al2o3-cr: ule: use your initiative
[23:35:37] ule: Sometimes you guys are so jerk
[23:35:44] ule: It's a channel to change experiences
[23:36:06] leea: has joined #ruby
[23:36:12] ule: what's the problem if I ask for an opinion? What's the problem to listen someone that had to do this before and can give to me a nice tip?
[23:36:45] ule: You guy should be more humble. Just because I asked a simple question doesn't mean I'm a junior dev or just a lazy person
[23:36:55] ule: That's why this channel stands here for
[23:37:04] unshadow: has joined #ruby
[23:37:44] ule: welcome
[23:37:46] shevy: look what you did al2o3-cr!
[23:38:03] agentmeerkat: has joined #ruby
[23:38:17] smathy: ACTION learns why he's here - transcendental maan!
[23:38:41] queequeg2: has joined #ruby
[23:38:55] elomatreb: Please don't actually be the mentioned jerks
[23:39:10] smathy: The absolute worst way to get someone to chill is to tell them to chill.
[23:39:36] arnonhongklay: has joined #ruby
[23:40:26] al2o3-cr: don't get worked up
[23:42:05] dc4: has joined #ruby
[23:42:41] al2o3-cr: smathy: coming from exp. obvio..
[23:43:10] smathy: In as much as all my knowledge comes from some experience, yes.
[23:43:27] al2o3-cr: it's text for fuck sake
[23:43:42] chipotle: has joined #ruby
[23:43:53] dennisvennink: has joined #ruby
[23:45:39] scottj: has joined #ruby
[23:45:40] baweaver: quite enough of that
[23:46:03] wigust: has joined #ruby
[23:46:30] baweaver: if you want to continue it ule, feel free in #ruby-offtopic.
[23:47:10] Devalo: has joined #ruby
[23:47:44] baweaver: but realize that if we don't know what you've tried we may be covering the same ground again. Also, I'd mentioned a SO link that covered the AR way.
[23:48:44] ule: I'm fine thank you
[23:51:30] edwardly: has joined #ruby
[23:51:31] edwardly: has joined #ruby
[23:51:36] baweaver: If you have an issue, feel free to ping me later.
[23:51:56] baweaver: and if I came off as condescending by asking about a search, I apologize
[23:52:01] ramfjord: has joined #ruby
[23:53:11] Senjai: has joined #ruby
[23:54:08] queequeg1: has joined #ruby
[23:54:20] jaguarmagenta: has joined #ruby
[23:55:23] `tim`: has joined #ruby
[23:55:39] rhllor: has joined #ruby
[23:57:35] al2o3-cr: shevy: i'd give it a rest if i were you
[23:59:16] dsea: has joined #ruby
[23:59:36] shevy: al2o3-cr I'd give you some pink shirts if I were you
[23:59:49] ruby[bot]: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!