havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-preview3: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
<havenwood> assuming those Hashes are always just like that:
<havenwood> ule[:filters].replace([{"name"=>"Company", "value"=>"17"}, {"name"=>"Company", "value"=>"111"}])
thinkpad has joined #ruby
nertzy has joined #ruby
ellcs has quit [Ping timeout: 252 seconds]
sgen has quit [Ping timeout: 250 seconds]
leitz has joined #ruby
ur5us has joined #ruby
r3m has quit [Ping timeout: 264 seconds]
r3m_ has joined #ruby
r3m_ is now known as r3m
nertzy has quit [Quit: This computer has gone to sleep]
dviola has quit [Ping timeout: 245 seconds]
roshanavand has quit [Ping timeout: 245 seconds]
Xiti has quit [Ping timeout: 276 seconds]
Xiti has joined #ruby
OrangeManBad has quit [Ping timeout: 260 seconds]
evdubs_ has quit [Remote host closed the connection]
evdubs_ has joined #ruby
OrangeManBad has joined #ruby
c0ncealed4 has quit [Remote host closed the connection]
c0ncealed4 has joined #ruby
gix has quit [Ping timeout: 272 seconds]
leitz has quit [Quit: Leaving]
r3m is now known as Pascal
jetchisel has quit [Ping timeout: 252 seconds]
weaksauce has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Read error: Connection reset by peer]
wolfshappen has quit [Ping timeout: 246 seconds]
marmotini_ has joined #ruby
<ule> havenwood: thank you
wolfshappen has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
sgen has joined #ruby
bmurt has joined #ruby
ur5us has quit [Remote host closed the connection]
AJA4350 has quit [Remote host closed the connection]
marmotini_ has quit [Read error: Connection reset by peer]
bga57 has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
sgen has quit [Ping timeout: 240 seconds]
sgen has joined #ruby
nertzy has joined #ruby
dinfuehr_ has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
braincrash has quit [Quit: bye bye]
jcalla has quit [Ping timeout: 272 seconds]
braincrash has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
jesfre has joined #ruby
sgen has quit [Quit: Leaving]
kapil____ has joined #ruby
jesfre has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #ruby
jcalla has joined #ruby
govg has quit [Ping timeout: 260 seconds]
jetchisel has joined #ruby
doubledup has joined #ruby
doubledup has quit [Max SendQ exceeded]
jetchisel has quit [Read error: Connection reset by peer]
cd has quit [Quit: cd]
govg has joined #ruby
cthu| has joined #ruby
c0ncealed4 has quit [Remote host closed the connection]
c0ncealed4 has joined #ruby
anothertorusr has quit [Excess Flood]
rippa has joined #ruby
k0mpa has quit [Ping timeout: 256 seconds]
cthu| has quit [Ping timeout: 252 seconds]
GodFather_ has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
reber has joined #ruby
agent_white has quit [Quit: leaving]
govg has quit [Ping timeout: 268 seconds]
ua has quit [Ping timeout: 240 seconds]
nchambers has quit [Ping timeout: 245 seconds]
nchambers has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nchambers has quit [Ping timeout: 245 seconds]
nchambers has joined #ruby
ua has joined #ruby
dinfuehr has quit [Ping timeout: 272 seconds]
govg has joined #ruby
dinfuehr has joined #ruby
phaul has joined #ruby
gix has joined #ruby
nchambers has quit [Ping timeout: 272 seconds]
nchambers has joined #ruby
conta has joined #ruby
marmotini_ has joined #ruby
marmotini_ has quit [Read error: Connection reset by peer]
nchambers has quit [Ping timeout: 252 seconds]
marmotini_ has joined #ruby
nchambers has joined #ruby
marmotini has joined #ruby
jcalla has quit [Ping timeout: 244 seconds]
marmotini has quit [Read error: Connection reset by peer]
marmotini has joined #ruby
marmotini_ has quit [Ping timeout: 244 seconds]
marmotini has quit [Remote host closed the connection]
marmotini has joined #ruby
whysthatso has joined #ruby
reber__ has joined #ruby
lomex has joined #ruby
jcalla has joined #ruby
reber has quit [Ping timeout: 240 seconds]
nchambers has quit [Ping timeout: 244 seconds]
nchambers has joined #ruby
marmotini has quit [Ping timeout: 272 seconds]
anothertorusr has joined #ruby
anothertorusr has quit [Excess Flood]
reber has joined #ruby
reber__ has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
whysthatso has quit [Quit: whysthatso]
roshanavand has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
venmx has joined #ruby
reber__ has joined #ruby
reber has quit [Ping timeout: 272 seconds]
anothertorusr has joined #ruby
voolik has joined #ruby
voolik has quit [Client Quit]
clemens3 has joined #ruby
DTZUZO has quit [Ping timeout: 252 seconds]
govg has quit [Ping timeout: 252 seconds]
ohcibi has quit [Remote host closed the connection]
nchambers has quit [Ping timeout: 245 seconds]
nchambers has joined #ruby
defarge has quit [Remote host closed the connection]
ta_ has joined #ruby
DTZUZO has joined #ruby
jcalla has quit [Ping timeout: 272 seconds]
ellcs has joined #ruby
marmotini_ has joined #ruby
marmotini_ has quit [Read error: Connection reset by peer]
marmotini_ has joined #ruby
nchambers has quit [Ping timeout: 240 seconds]
nchambers has joined #ruby
dellavg_ has joined #ruby
MoritaShinobu has joined #ruby
voolik has joined #ruby
marmotini_ has quit [Remote host closed the connection]
marmotini_ has joined #ruby
ua_ has joined #ruby
ua has quit [Ping timeout: 272 seconds]
nchambers has quit [Ping timeout: 250 seconds]
nchambers has joined #ruby
voolik has quit [Quit: Leaving]
marmotini has joined #ruby
marmotini_ has quit [Ping timeout: 240 seconds]
govg has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reber has joined #ruby
reber__ has quit [Ping timeout: 268 seconds]
jcalla has joined #ruby
conta has quit [Quit: conta]
dinfuehr has quit [Ping timeout: 272 seconds]
dinfuehr_ has joined #ruby
reber__ has joined #ruby
jcalla has quit [Client Quit]
reber has quit [Ping timeout: 240 seconds]
ua_ has quit [Ping timeout: 240 seconds]
marmotini has quit [Ping timeout: 264 seconds]
reber has joined #ruby
lomex has joined #ruby
reber__ has quit [Ping timeout: 245 seconds]
reber__ has joined #ruby
reber has quit [Ping timeout: 244 seconds]
reber has joined #ruby
reber__ has quit [Read error: Connection reset by peer]
reber__ has joined #ruby
vonfry has joined #ruby
reber has quit [Ping timeout: 244 seconds]
reber__ is now known as reber
vonfry has quit [Quit: WeeChat 2.2]
doubledup has joined #ruby
RougeR has joined #ruby
im0nde has joined #ruby
marmotini has joined #ruby
marmotini has quit [Remote host closed the connection]
marmotini has joined #ruby
nchambers has quit [Ping timeout: 252 seconds]
AJA4350 has joined #ruby
mikecmpbll has joined #ruby
nchambers has joined #ruby
desperek has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
connor_goodwolf has quit [Ping timeout: 246 seconds]
nchambers has quit [Ping timeout: 240 seconds]
connor_goodwolf has joined #ruby
nchambers has joined #ruby
marmotini has quit [Ping timeout: 252 seconds]
marmotini has joined #ruby
alem0lars has quit [Ping timeout: 276 seconds]
lomex has joined #ruby
ua has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
reber has quit [Remote host closed the connection]
k0mpa has joined #ruby
nchambers has quit [Ping timeout: 240 seconds]
nchambers has joined #ruby
conta has joined #ruby
ellcs has quit [Ping timeout: 276 seconds]
ta_ has quit [Remote host closed the connection]
alem0lars has joined #ruby
ellcs has joined #ruby
marmotini has quit [Ping timeout: 272 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
nchambers has quit [Remote host closed the connection]
Nicmavr has joined #ruby
nchambers has joined #ruby
nchambers has quit [Ping timeout: 246 seconds]
nchambers has joined #ruby
marmotini has joined #ruby
marmotini has quit [Client Quit]
conta has quit [Quit: conta]
whysthatso has joined #ruby
apparition has joined #ruby
lomex has joined #ruby
desperek has quit [Ping timeout: 244 seconds]
leah2 has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
venmx has quit [Ping timeout: 244 seconds]
TomyLobo has joined #ruby
doubledup has quit [Remote host closed the connection]
govg has quit [Ping timeout: 264 seconds]
leah2 has joined #ruby
apparition has quit [Quit: Bye]
clemens3 has quit [Ping timeout: 272 seconds]
themsay has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
ua_ has joined #ruby
jetchisel has joined #ruby
houhoulis has joined #ruby
ua has quit [Ping timeout: 268 seconds]
nertzy has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
Xiti has joined #ruby
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inline has quit [Quit: Leaving]
alem0lars has quit [Ping timeout: 264 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
Inline has joined #ruby
desperek has joined #ruby
dinfuehr_ has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
MoritaShinobu has quit [Quit: Leaving]
evilem is now known as emerson
lxsameer has quit [Ping timeout: 240 seconds]
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
_whitelogger has joined #ruby
dinfuehr has quit [Ping timeout: 244 seconds]
dinfuehr has joined #ruby
AJA4350 has quit [Quit: AJA4350]
desperek has quit [Quit: xoxo]
govg has joined #ruby
voolik has joined #ruby
sanscoeur has joined #ruby
dbugger_ has joined #ruby
Puffball has quit [Remote host closed the connection]
sanscoeur has quit [Remote host closed the connection]
Puffball has joined #ruby
wildermind has joined #ruby
roshanavand has quit [Ping timeout: 276 seconds]
orbyt_ has joined #ruby
dinfuehr has quit [Ping timeout: 252 seconds]
venmx has joined #ruby
dinfuehr has joined #ruby
kaleido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whysthatso has quit [Ping timeout: 276 seconds]
kaleido has joined #ruby
conta has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
cd has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
tdy has quit [Ping timeout: 244 seconds]
sonivi has joined #ruby
<sonivi> OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed
despai has joined #ruby
Guest70792 has joined #ruby
gix has quit [Quit: Client exiting]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
voolik has quit [Ping timeout: 260 seconds]
Pillus has joined #ruby
mikecmpbll has joined #ruby
sonivi has quit [Quit: Leaving]
conta has quit [Quit: conta]
<Pillus> Hey ruby community! I am working on some API documentation that i am releasing as open source, and i am including examples in several popular languages. Unfortunately Ruby is not something that i am extensively experienced in, and i just wanted to know your opinion on this "template" that i created for Ruby HTTP requests, which i built from just reading their documentation:
<Pillus> only requirement is to use as little third party libraries as possible, and it to just be straight forward and easy to understand
onion has joined #ruby
<onion> Back in my day, we would keep our eyes open all day for a honey bee swarm. A swarm is when a nest of bees gets so large that part of the population leaves with a new queen to form a new colony.If you saw a swarm on a tree branch you could cut the branch and literally shake them off into a box so you could later have your own bee hive. But I always shook mine off into a crudley constructed wooden dildo and shove it up my ass.
<onion> That's what that vibrator reminds me of, simpler times.
Guest70792 has quit [Ping timeout: 252 seconds]
mzo has joined #ruby
nchambers has quit [Quit: WeeChat 2.2]
* phaul yawns
mzo has quit [Quit: mzo]
kaleido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
onion has quit [K-Lined]
im0nde has quit [Quit: im0nde]
evdubs_ has quit [Remote host closed the connection]
clemens3 has joined #ruby
ta_ has joined #ruby
lxsameer has joined #ruby
despai has quit [Quit: ...]
kapil____ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ta_ has quit [Remote host closed the connection]
ellcs has joined #ruby
clemens3 has quit [Ping timeout: 244 seconds]
tdy has joined #ruby
dellavg_ has quit [Ping timeout: 244 seconds]
reber has joined #ruby
wildermind has quit [Quit: Connection closed for inactivity]
jesfre has joined #ruby
whysthatso_ has joined #ruby
<havenwood> Pillus: I think your template example looks good. Missing a `require 'json'` it seems. I commented with a few nit style suggestions.
dbugger_ has quit [Remote host closed the connection]
<havenwood> Pillus: Just running `rubocop -a` with the rubocop gem will cover most style issues to a reasonable degree.
Guest70792 has joined #ruby
<Pillus> thank you very much havenwood! :)
<Pillus> also good tip about rubocop
<Pillus> would it also understand it if i change the content-type header to x-www-form-urlencoded, or does it need another format then?
clemens3 has joined #ruby
phaul has quit [Ping timeout: 268 seconds]
<Pillus> i also forgot to require openssl, to set verification mode for http
Guest70792 has quit [Ping timeout: 245 seconds]
<havenwood> Pillus: I don't usually use Net::HTTP actually, so I'm not the best person to ask. There are others here who do. Slow Sunday though.
<havenwood> Looks likeURI.encode_www_form and #set_form_params.
<Pillus> yeah this is the one i manage to cook up for now, though doesn't really follow the same style as the application/json ones which is a shame: https://gist.github.com/P1llus/a0af914664c6f7be6525fc6aab4d154c
lomex has joined #ruby
Guest70792 has joined #ruby
kaleido has joined #ruby
AJA4350 has joined #ruby
reber has quit [Remote host closed the connection]
akem has joined #ruby
Guest70792 has quit [Ping timeout: 268 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Takumo has quit [Quit: WeeChat 1.9.1]
jesfre has quit [Quit: Oh snap. Looks like CMD + Q got the best of me.]
lomex has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kaleido has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
clemens3 has quit [Remote host closed the connection]
akem__ has joined #ruby
Guest70792 has joined #ruby
akem has quit [Ping timeout: 272 seconds]
orbyt_ has joined #ruby
clemens3 has joined #ruby
clemens3 has quit [Client Quit]
clemens3 has joined #ruby
eblip has joined #ruby
def_jam has joined #ruby
eb0t_ has quit [Ping timeout: 250 seconds]
eb0t has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 240 seconds]
crankharder has joined #ruby
mzo has joined #ruby
<mzo> is ruby dying bros
Guest53511 has joined #ruby
<baweaver> Why do you ask>
<baweaver> It's a rather silly assertion to say any language is dying.
Guest53511 has quit [Ping timeout: 272 seconds]
<mzo> why's it silly
<baweaver> Do people have gainful employment in said language? Do they make money?
TomyLobo has quit [Read error: Connection reset by peer]
<baweaver> There are people who still make a very good living using RPG, COBOL, and languages from the 60s
<baweaver> So yes, silly.
<mzo> what
<mzo> how does that make it silly
<baweaver> What exactly do you want to know?
<baweaver> If it relates to Ruby we're happy to help, but as is this comes across as rather trollish
clemens3 has quit [Ping timeout: 272 seconds]
<mzo> is the number of new ruby projects started every year declining due to the rise of languages like Go and javascript
<mzo> rails was at one time the big thing in the world of web development
<baweaver> Is PHP dying?
<mzo> yes
<baweaver> It's likely the #1 production deployed language out there.
<baweaver> To assert it and languages like it are dying is short-sighted and focused on a particular metric over the whole.
elcontrastador has quit [Ping timeout: 240 seconds]
<mzo> well actually i'm not so sure about php
<baweaver> The better question is what do you want this information for?
<mzo> it seems like it's trying to claw its way back
<baweaver> It never left.
<mzo> it may not have left in terms of raw popularity
<mzo> but let's be real
<baweaver> Because all of this is findable on rating sites through Google, and the very act of going into a language specific channel and asking for answers is tantamount to trolling and wanting to start a fight.
<mzo> no
<baweaver> Convince me that's not the case.
_whitelogger has joined #ruby
<mzo> wow i wish i lived in Melbourne
<Radar> mzo: World's most liveable city 6 years running ;)
<baweaver> SF is hiring them like mad too.
<baweaver> ...not so much on the liveable part though
<Radar> baweaver: Will you ever see that kidney again that you had to pay in rent?
<baweaver> Remember I own a house :P
<baweaver> So that was two kidneys thankyouverymuch
<Radar> oh yeah, that's right
<Radar> mzo: where do you live now?
<mzo> eastern canada
<mzo> i'll relocate eventually but i'm here for at least a few more years
<Radar> mzo: Shopify is probably hiring a bazillionty Ruby devs too atm. They're probably the biggest Ruby shop on that side of the world.
<Radar> They have just a few open positions.
<Radar> Almost 100 by the looks of it!
cd has quit [Quit: cd]
sauvin has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
ShawnEvans has joined #ruby
<ShawnEvans> Greetings. I have a program idea in mind but my searching on google is not returning what I want to see..
<ShawnEvans> Could someone help me word my search better? I have an online example of what I want to create, which is a reading list/schedule
<ShawnEvans> Let me re-word my question.
lytol has quit [Remote host closed the connection]
<ShawnEvans> I'm new to Ruby and programming in general but eager to learn. I've done some online studies but forgotten much. I want to create my own version of the tool seen at http://www.ldsscripturetools.com/ however google searches for 'how to write a reading schedule with ruby" is turning up booklists to read. How can I search google more effectively to learn what I need to in order to re-create this tool?
<mzo> well if you want it to work in the browser like that, you'll need to use some html, css, and javascript
<mzo> you could make a command-line version using ruby (or use some GUI library but i wouldn't recommend that)
<ShawnEvans> mzo, I want something offline in ubuntu.. I forgot to mention that. :)