claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
pastorinni has joined #ruby
guille-moe has quit [Ping timeout: 256 seconds]
justinfaler2 has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BuildTheRobots has joined #ruby
dogweather has joined #ruby
<alpine>
hey whats the best gem for querying rest api over ssl
dogweather has quit [Ping timeout: 240 seconds]
jeffreylevesque has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 256 seconds]
jeffreylevesque has joined #ruby
dinfuehr has joined #ruby
govg has quit [Ping timeout: 264 seconds]
AJA4351 has joined #ruby
Ishido has quit [Ping timeout: 256 seconds]
vondruch has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
greister_ has quit [Read error: Connection reset by peer]
jtdoncas_ has joined #ruby
jrp93 has quit [Quit: Leaving]
Ishido has joined #ruby
pastorin_ has joined #ruby
Psybur_ has joined #ruby
cdg has joined #ruby
jtdoncas_ has quit [Ping timeout: 248 seconds]
pastorinni has quit [Ping timeout: 252 seconds]
Psybur has quit [Ping timeout: 256 seconds]
justinfaler2 has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
rrutkowski has joined #ruby
dextrey has joined #ruby
jrp93 has joined #ruby
justinfaler2 has joined #ruby
Beams has joined #ruby
bronson has joined #ruby
cagmz has joined #ruby
rrutkowski has quit [Ping timeout: 248 seconds]
pastorin_ has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 248 seconds]
RougeRR has quit [Ping timeout: 248 seconds]
<cagmz>
what does this do? `[:a, :b, :c].try(:[], 1)`?
tvw has quit []
<wnd>
Looks like #send syntax. Based on language, my guess is that it's a dangerous monkey patch to Object. I'd imagine it checks presence of given method, and #sends given arguments if present, or return nil or something similar if not.
tomphp has joined #ruby
<cagmz>
wnd, is it trying to index into the array, `[]` being a method?
tomphp has quit [Ping timeout: 248 seconds]
conta has quit [Ping timeout: 248 seconds]
justinfaler2 has quit [Ping timeout: 248 seconds]
banisterfiend has joined #ruby
<wnd>
your guess is as good as mine, but that's what I'd expect
apeiros__ has quit [Remote host closed the connection]
dionysus69 has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
leah2 has quit [Ping timeout: 256 seconds]
alfiemax has quit [Remote host closed the connection]
d5sx43 has joined #ruby
Ishido has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
ResidentBiscuit has quit [Ping timeout: 265 seconds]
nowhere_man has joined #ruby
ResidentBiscuit has joined #ruby
dviola has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
justinfaler2 has quit [Ping timeout: 256 seconds]
jtdoncas_ has joined #ruby
justinfaler2 has joined #ruby
jtdoncas_ has quit [Ping timeout: 252 seconds]
leah2 has joined #ruby
Psybur__ has joined #ruby
d5sx43 has quit [Quit: Leaving...]
alfiemax has joined #ruby
conta has joined #ruby
dstrunk has joined #ruby
ldv has joined #ruby
Psybur_ has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
alfiemax has joined #ruby
conta has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 248 seconds]
dogweather has joined #ruby
thejamespinto has quit [Remote host closed the connection]
thejamespinto has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
rrutkowski has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
plexigras has quit [Ping timeout: 240 seconds]
randomstrangerb has quit [Ping timeout: 240 seconds]
randomstrangerb has joined #ruby
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
plexigras has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
griffindy has joined #ruby
ldv has quit [Remote host closed the connection]
mnms_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
ResidentBiscuit has quit [Remote host closed the connection]
plexigras has quit [Ping timeout: 265 seconds]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrp93 has quit [Quit: Leaving]
plexigras has joined #ruby
jrp93 has joined #ruby
jenrzzz has joined #ruby
heftig has quit [Read error: Connection reset by peer]
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
[spoiler] has joined #ruby
heftig has joined #ruby
drakko has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
bmurt has joined #ruby
desperek has quit [Ping timeout: 256 seconds]
drakoz has joined #ruby
workmad3 has joined #ruby
drakoz has quit [Client Quit]
pastorinni has joined #ruby
dogweather has joined #ruby
Dimik has joined #ruby
drakko has quit [Ping timeout: 265 seconds]
leah2 has quit [Ping timeout: 252 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
dogweather has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: inabit.]
mtkd has quit [Ping timeout: 248 seconds]
jottr_ has quit [Ping timeout: 252 seconds]
mtkd has joined #ruby
jtdoncas_ has joined #ruby
dogweather has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
dogweather has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
nadir has joined #ruby
ResidentBiscuit has joined #ruby
Beams has quit [Read error: Connection reset by peer]
Beams has joined #ruby
conta has joined #ruby
alfiemax_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has joined #ruby
banisterfiend has joined #ruby
randomstrangerb has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
randomstrangerb has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
leah2 has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
dogweather has quit [Ping timeout: 256 seconds]
guille-moe has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dstrunk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zigzig has quit [Ping timeout: 255 seconds]
roshanavand has joined #ruby
dogweather has joined #ruby
banisterfiend has joined #ruby
zigzig has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
guille-moe has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
dogweather has quit [Ping timeout: 256 seconds]
darkhanb has joined #ruby
Mon_Ouie has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
ResidentBiscuit has quit [Remote host closed the connection]
leah2 has quit [Ping timeout: 246 seconds]
ResidentBiscuit has joined #ruby
pastorinni has quit [Remote host closed the connection]
dogweather has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
veduardo has quit [Ping timeout: 256 seconds]
Beams has quit [Quit: .]
ResidentBiscuit has quit [Ping timeout: 252 seconds]
amatas has joined #ruby
conta has quit [Ping timeout: 256 seconds]
Beams has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
banisterfiend has joined #ruby
leah2 has joined #ruby
pastorinni has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
stormpack has quit [Quit: Leaving]
dogweather has quit [Ping timeout: 240 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leah2 has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dogweather has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
bmurt has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
jtdoncas_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
alfiemax_ has joined #ruby
rrutkowski has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
jtdoncas_ has quit [Ping timeout: 260 seconds]
dstrunk has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
dogweather has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
tomphp has quit [Client Quit]
pastorinni has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
pastorinni has joined #ruby
alfiemax_ has quit [Ping timeout: 260 seconds]
dogweather has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.0.1]
banisterfiend has joined #ruby
tomphp_ has joined #ruby
leah2 has joined #ruby
za1b1tsu has joined #ruby
tomphp has quit [Ping timeout: 248 seconds]
knight33 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dogweather has quit [Ping timeout: 256 seconds]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
alex`` has quit [Quit: WeeChat 1.9]
alfiemax has quit [Read error: Connection reset by peer]
alex`` has joined #ruby
camfowler has joined #ruby
alfiemax has joined #ruby
dogweather has joined #ruby
zigzig has quit [Remote host closed the connection]
zigzig has joined #ruby
Guest90 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
milardovich has joined #ruby
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
dogweather has quit [Ping timeout: 260 seconds]
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
desperek has joined #ruby
dstrunk has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
drcode has quit [Read error: Connection reset by peer]
dogweather has joined #ruby
drcode has joined #ruby
Sauvin is now known as Lupinity
drcode has quit [Remote host closed the connection]
Lupinity is now known as Sauvin
pastorinni has quit [Remote host closed the connection]
jrp93 has quit [Quit: Leaving]
tomphp_ has quit [Read error: Connection reset by peer]
drcode has joined #ruby
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
biberu has quit []
remi1 has joined #ruby
workmad3 has joined #ruby
<remi1>
Hello world
veduardo has joined #ruby
jenrzzz has joined #ruby
<desperek>
how can i put contents of an array to an array instead of an array to an array in map?
<desperek>
using map
dogweather has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
remi1 has quit [Client Quit]
workmad3 has quit [Ping timeout: 264 seconds]
dogweather has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
tomphp has quit [Client Quit]
rrutkowski has joined #ruby
camfowler has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
dogweather has quit [Ping timeout: 248 seconds]
darkhanb has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
mtkd has quit [Ping timeout: 248 seconds]
tomphp has quit [Client Quit]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
tvw has quit [Remote host closed the connection]
jtdoncas_ has joined #ruby
<havenwood>
desperek: Show an example of what you have and what you want?
mtkd has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
John_Ivan has quit [Client Quit]
John_Ivan has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
jtdoncas_ has quit [Ping timeout: 240 seconds]
alfiemax_ has joined #ruby
John_Ivan has quit [Client Quit]
John_Ivan has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
milardov_ has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
milardovich has quit [Ping timeout: 248 seconds]
reber has quit [Remote host closed the connection]
<desperek>
havenwood, sooo
<desperek>
havenwood, i have @recipients.push *current_user.divisions.map { |d| p d.users} and
<desperek>
is there any solution on how to merge association proxy? or not really?
<desperek>
hmm
xfbs has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
plexigras has quit [Quit: WeeChat 2.0.1]
RougeRR has joined #ruby
za1b1tsu is now known as not_za1b1tsu
not_za1b1tsu is now known as zaibitsu
leitz has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
<leitz>
Need some help understanding labdas. The first code, counter.rb, comes from "Mastering Ruby Closures". The second bit, 'new_db.rb' is me trying to implement the ideas from the first bit on an end of chapter exercise. Ain't working. https://gist.github.com/LeamHall/0d4d3a5266b7e699a00485887fee1103
<leitz>
The db is supposed to accept three calls; insert, delete, and dump.
<leitz>
I'm more looking for understanding than actual code to make it work. Though code is find as long as understanding follows.
lavamind has left #ruby [#ruby]
<leitz>
find/fine
RougeRR has quit [Ping timeout: 276 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]