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-rc1: 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!
ur5us has quit [Remote host closed the connection]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
lxsameer has quit [Ping timeout: 250 seconds]
GodFather has quit [Remote host closed the connection]
eckhardt has joined #ruby
hutch has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
hutch has joined #ruby
ur5us has joined #ruby
dbz has joined #ruby
Renich has joined #ruby
hutch has quit [Ping timeout: 272 seconds]
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
crankharder has joined #ruby
blackmesa has quit [Quit: WeeChat 2.3]
s3nd1v0g1us has quit [Ping timeout: 250 seconds]
s3nd1v0g1us has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
SirFunk has quit [Quit: ZNC - http://znc.in]
tomasm- has joined #ruby
bak1an has joined #ruby
s3nd1v0g1us has quit [Ping timeout: 250 seconds]
Renich has quit [Quit: Renich]
SirFunk has joined #ruby
hutch has joined #ruby
crankharder has joined #ruby
Renich has joined #ruby
dbz has quit []
bak1an has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Renich has quit [Quit: Renich]
Azure has quit [Ping timeout: 240 seconds]
andrewray has quit [Ping timeout: 256 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
<tomasm-> is there a way to start a separate process (a shell command) that does attach to STDOUT? I'm noticing that when I pipe my script to something like 'tee' that STDIN never closes because that spawned process is attached to it. If that makes any sense. lol.
blackmesa has joined #ruby
bambanx has joined #ruby
Azure has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
nexraf1 has joined #ruby
Azure has quit [Ping timeout: 250 seconds]
blackmesa has quit [Quit: WeeChat 2.3]
nexraf1 has quit [Quit: WeeChat 2.2]
nexraf1 has joined #ruby
hutch has joined #ruby
tiff_ has joined #ruby
phaul has quit [Quit: bye]
carbone5 has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch has quit [Ping timeout: 250 seconds]
tomasm- has quit [Quit: Page closed]
mikecmpbll has quit [Quit: inabit. zz.]
AJA4350 has quit [Quit: AJA4350]
tiff_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nchambers has joined #ruby
gigetoo has quit [Ping timeout: 246 seconds]
Azure has joined #ruby
_whitelogger has joined #ruby
grantedbark78 has quit [Ping timeout: 272 seconds]
Azure has quit [Ping timeout: 250 seconds]
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 250 seconds]
serard has joined #ruby
gigetoo has joined #ruby
Azure has joined #ruby
crankhar1er has joined #ruby
Azure has quit [Ping timeout: 250 seconds]
hutch has joined #ruby
crankhar1er has quit [Ping timeout: 240 seconds]
Azure has joined #ruby
kapil____ has joined #ruby
hutch has quit [Ping timeout: 268 seconds]
carbone5 has quit [Quit: carbone5]
Azure has quit [Ping timeout: 250 seconds]
carbone5 has joined #ruby
hutch has joined #ruby
Fusl has quit [Remote host closed the connection]
carbone5 has quit [Quit: carbone5]
serard_ has joined #ruby
tiff_ has joined #ruby
Kilo`byte has quit [Ping timeout: 244 seconds]
graphene has quit [Remote host closed the connection]
Azure has joined #ruby
sidepocket has joined #ruby
nchambers has quit [Quit: WeeChat 2.2]
graphene has joined #ruby
cpruitt has joined #ruby
serard has quit [Ping timeout: 252 seconds]
Fusl has joined #ruby
arescorpio has joined #ruby
cpruitt has quit [Ping timeout: 240 seconds]
Kilo`byte has joined #ruby
maryo has joined #ruby
xall has joined #ruby
carbone5 has joined #ruby
carbone5 has quit [Client Quit]
carbone5 has joined #ruby
maryo has quit [Ping timeout: 250 seconds]
serard_ has quit [Ping timeout: 252 seconds]
serard_ has joined #ruby
tag has quit [Quit: Connection closed for inactivity]
r3m is now known as C-o
dviola has quit [Quit: WeeChat 2.3]
cd has joined #ruby
carbone5 has quit [Quit: carbone5]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
braincrash has quit [Quit: bye bye]
lose has joined #ruby
braincrash has joined #ruby
tiff_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roshanavand1 has joined #ruby
roshanavand has quit [Ping timeout: 264 seconds]
roshanavand1 is now known as roshanavand
lose has quit [Remote host closed the connection]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
ur5us has quit [Remote host closed the connection]
venmx has joined #ruby
aef has joined #ruby
arescorpio has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
KeyJoo has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
cpruitt has joined #ruby
alnewkirk has joined #ruby
cpruitt has quit [Ping timeout: 250 seconds]
nertzy has joined #ruby
roshanavand has joined #ruby
alnewkirk is now known as alnk
sauvin has joined #ruby
sriehl has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 240 seconds]
davidw has quit [Ping timeout: 250 seconds]
venmx has quit [Ping timeout: 244 seconds]
Fusl has quit [Remote host closed the connection]
tmxcax has joined #ruby
<tmxcax> hello
Fusl has joined #ruby
tmxcax has quit [Client Quit]
tmxcax has joined #ruby
<tmxcax> ls
tmxcax has left #ruby [#ruby]
bambanx has quit [Read error: Connection reset by peer]
nertzy has quit [Quit: This computer has gone to sleep]
serard_ has quit [Ping timeout: 252 seconds]
nertzy has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
roshanavand has quit [Remote host closed the connection]
cpruitt has joined #ruby
CrazyEddy has joined #ruby
lytol has quit [Remote host closed the connection]
roshanavand has joined #ruby
eclm has quit [Read error: Connection reset by peer]
cpruitt has quit [Ping timeout: 246 seconds]
neuraload has joined #ruby
cpruitt has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
cpruitt has quit [Ping timeout: 250 seconds]
neuraload has quit [Quit: This computer has gone to sleep]
reber has joined #ruby
conta has joined #ruby
cpruitt has joined #ruby
jokester has quit [Ping timeout: 250 seconds]
aupadhye has joined #ruby
aufi has joined #ruby
cpruitt has quit [Ping timeout: 246 seconds]
zxq2 has joined #ruby
Aqo has quit [Ping timeout: 250 seconds]
jokester has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
cpruitt has joined #ruby
Inline has quit [Quit: Leaving]
cpruitt has quit [Ping timeout: 250 seconds]
neuraload has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
marz_d`ghostman has joined #ruby
cpruitt has joined #ruby
<marz_d`ghostman> Is using a class variable within a method a good practice? https://gist.github.com/marzdgzmn/da15a290e3ae436e69d18adf5f9bffd6
guardian has quit [Remote host closed the connection]
cpruitt has quit [Ping timeout: 246 seconds]
reber has quit [Remote host closed the connection]
yasserhussain111 has joined #ruby
yasserhussain111 has left #ruby [#ruby]
<havenwood> marz_d`ghostman: It's generally not good practice to use class variables.
<havenwood> marz_d`ghostman: How about a constant?
roshanavand has quit [Remote host closed the connection]
<havenwood> marz_d`ghostman: DB = Configuration.database
roshanavand has joined #ruby
za1b1tsu has joined #ruby
clemens3 has joined #ruby
<marz_d`ghostman> havenwood: a constant inside a module? then I can refer to it in module methods included in an object . . . I'll try that
cpruitt has joined #ruby
<marz_d`ghostman> havenwood: thanks
<havenwood> marz_d`ghostman: you're welcome
cpruitt has quit [Ping timeout: 272 seconds]
Freshnuts has joined #ruby
<marz_d`ghostman> is there a way I can refer to object on other modules in shorthand like I have two modules Foo::Bar::Configuration and Foo::Bar::Logging, I want to refer to the objects in COnfiguration from Logging.
clemens3 has quit [Remote host closed the connection]
clemens3 has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
nowhere_man has joined #ruby
prestorium has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 245 seconds]
ua has quit [Ping timeout: 246 seconds]
keden has joined #ruby
fredmorcos has joined #ruby
ua has joined #ruby
TheBloke has quit [Ping timeout: 246 seconds]
tinyhippo has joined #ruby
lypsis has quit [Quit: ZNC - http://znc.in]
Guest61854 has joined #ruby
roshanavand has quit [Remote host closed the connection]
xuyuheng has joined #ruby
roshanavand has joined #ruby
mikecmpbll has joined #ruby
fredmorcos has quit [Remote host closed the connection]
lypsis has joined #ruby
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
za1b1tsu_ has joined #ruby
za1b1tsu_ has quit [Remote host closed the connection]
roshanavand has quit [Remote host closed the connection]
neuraload has left #ruby ["Leaving"]
za1b1tsu has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
cpruitt has joined #ruby
xuyuheng has quit [Ping timeout: 246 seconds]
DTZUZO has joined #ruby
<marz_d`ghostman> I'm testing a module and created a dummy class to include it. I'm getting an undefined method `update_result` method: https://gist.github.com/marzdgzmn/80c36df582ca10199a2b434cc343b676
phaul has joined #ruby
<marz_d`ghostman> Tried printing the public_instance_methods, and it seems to be there though
cpruitt has quit [Ping timeout: 250 seconds]
<phaul> marz_d`ghostman: you want Class.new { ... }.new
DTZUZO has quit [Quit: WeeChat 2.0]
roshanavand has joined #ruby
<phaul> Class.new just creates the class, doesn'tn instantiate it
<phaul> &>> Class.new {}.class
<rubydoc> # => Class (https://carc.in/#/r/5seo)
marz_d`ghostman_ has joined #ruby
<marz_d`ghostman_> Why is it giving me an undefined methods though?
marz_d`ghostman has quit [Ping timeout: 256 seconds]
<phaul> marz_d`ghostman_: because dummy in your case is not the instance that has the instance method. dummy.new.update_result would also work
<marz_d`ghostman_> phaul: so Class.new doesn't create the instance?
<phaul> no
DTZUZO has joined #ruby
<phaul> 103135 phaul | Class.new just creates the class, doesn'tn instantiate it
<phaul> 103108 phaul | marz_d`ghostman: you want Class.new { ... }.new
<marz_d`ghostman_> phaul: I see, So I'll need to have it like (Class.new { include Database }).new. Thanks
<marz_d`ghostman_> I thought Class.new will create an instance of the class
<phaul> well, everything is an object and classes themselves are instances of class Class. So in a way Class.new is an instance, but not instance of your class, it *is* your class
Freshnuts has quit [Ping timeout: 250 seconds]
xall_ has joined #ruby
xall_ has quit [Client Quit]
xall has quit [Ping timeout: 245 seconds]
mello has joined #ruby
<mello> Hey! Could i please get some help to convert this curl into ruby, im stuck on how to get the file from params. https://pastebin.com/qG6b4xCB
<ruby[bot]> mello: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
xuyuheng has joined #ruby
clemens3 has quit [Remote host closed the connection]
<mello> Hey! Could i please get some help to convert this curl into ruby, im stuck on how to get the file from params. https://gist.github.com/MelloHey/e18dfa14021774665922cf7a73169a39
<phaul> mello: you can use ARGV to access cmd line arguments
<mello> phaul: yes, but isnt there away to do that curl in ruby as a proper post?
<phaul> mello: ah you mean http params. I misunderstood what you were asking nm
<mello> phaul: yes
<al2o3-cr> mello: you'll find this useful: https://jhawthorn.github.io/curl-to-ruby/
<mello> al2o3-cr: yes thank you, i tried that and got a start but i dsoent support -F atm and thats where im stuck
<mello> it*
cd has quit [Quit: cd]
aupadhye has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
conta has quit [Quit: conta]
<al2o3-cr> mello: you'll need Net::HTTPRequest#set_form
xuyuheng has quit [Ping timeout: 250 seconds]
roshanavand has quit [Remote host closed the connection]
roshanavand has joined #ruby
<mello> continue
<mello> trying that
<mello> the continue was mean for byebug :)
<al2o3-cr> mello: ah, ;)
neuraload has joined #ruby
dellavg_ has joined #ruby
serard_ has joined #ruby
<marz_d`ghostman_> In sqlite3, do we have to explicitly define the `id INTEGER PRIMARY KEY` row when creating a new table?
johnny56 has quit [Ping timeout: 272 seconds]
<canton7> depends whether you want a column that's called 'id' and is the primary key
dbz has joined #ruby
nexraf1 has quit [Quit: WeeChat 2.2]
dbz has quit [Ping timeout: 250 seconds]
serard_ has quit [Ping timeout: 252 seconds]
serard_ has joined #ruby
rubydoc has quit [Ping timeout: 250 seconds]
phaul has quit [Ping timeout: 250 seconds]
cpruitt has joined #ruby
rubydoc has joined #ruby
phaul has joined #ruby
johnny56 has joined #ruby
cpruitt has quit [Ping timeout: 246 seconds]
ElFerna has joined #ruby
GodFather has joined #ruby
bak1an has joined #ruby
serard_ has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
lucasb has joined #ruby
TheBloke has joined #ruby
cpruitt has joined #ruby
cpruitt has quit [Ping timeout: 245 seconds]
conta has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
neuraload has joined #ruby
venmx has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
mostlybadfly has joined #ruby
jcalla has joined #ruby
aupadhye has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
rippa has joined #ruby
Dbugger has joined #ruby
voiceftp has quit [Remote host closed the connection]
voiceftp has joined #ruby
voiceftp has quit [Remote host closed the connection]
AJA4350 has joined #ruby
ciscam has joined #ruby
ElFerna has quit [Ping timeout: 250 seconds]
ddffg has joined #ruby
ddffg has quit [Remote host closed the connection]
_Joes_ has joined #ruby
BH23 has joined #ruby
cow[moo] has joined #ruby
aupadhye has quit [Quit: Leaving]
ciscam has quit [Ping timeout: 245 seconds]
Dbugger has quit [Remote host closed the connection]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inline has joined #ruby
kapil____ has joined #ruby
ElFerna has joined #ruby
Dbugger has joined #ruby
Dbugger has quit [Remote host closed the connection]
cow[moo] has joined #ruby
cow[moo] has quit [Client Quit]
alan_w has joined #ruby
uplime has joined #ruby
rubydoc has quit [Remote host closed the connection]
cow[moo] has joined #ruby
rubydoc has joined #ruby
cow[moo] is now known as cow[away]
cow[away] has quit [Client Quit]
cpruitt has joined #ruby
cow[moo] has joined #ruby
coderphive has quit [Ping timeout: 250 seconds]
crankhar1er has joined #ruby
BH23 has quit [Ping timeout: 250 seconds]
_Joes_ has quit [Ping timeout: 250 seconds]
BH23 has joined #ruby
_Joes_ has joined #ruby
chouhoulis has joined #ruby
ellcs has quit [Ping timeout: 250 seconds]
GinoMan has joined #ruby
coderphive has joined #ruby
krawchyk has joined #ruby
fredmorcos has joined #ruby
fredmorcos has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 246 seconds]
Rapture has joined #ruby
_Joes_ has quit [Ping timeout: 240 seconds]
BH23 has quit [Ping timeout: 268 seconds]
conta has quit [Ping timeout: 250 seconds]
cow[moo] is now known as cow[away]
sidepocket has quit [Remote host closed the connection]
RougeR has joined #ruby
mello has quit [Ping timeout: 250 seconds]
cow[away] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RougeR> hey, can i get some advice on this
<ruby[bot]> RougeR: as I told you already, please use https://gist.github.com
<RougeR> yeah ruby bot i dont have my pw manager with me
<RougeR> so paste bin will do
quipa has joined #ruby
krawchyk has quit [Quit: krawchyk]
Blaguvest has quit [Ping timeout: 250 seconds]
nexraf1 has joined #ruby
BH23 has joined #ruby
_Joes_ has joined #ruby
cow[moo] has joined #ruby
marz_d`ghostman_ has quit [Quit: Page closed]
hutch has joined #ruby
<uplime> RougeR: you don't need an account to use gist.github
<uplime> and theres a million alternatives
agent_white has joined #ruby
keden has quit [Quit: WeeChat 2.3]
nexraf1 has quit [Quit: WeeChat 2.2]
gnufied has joined #ruby
krawchyk has joined #ruby
polishdub has joined #ruby
nexraf1 has joined #ruby
<al2o3-cr> uplime: i think you do now.
<uplime> ah sorry, that does look to be the case
<uplime> is that recent?
<al2o3-cr> uplime: i think so.
<phaul> This was discussed a while back and that's how the topic ended up with dpaste.de. For rubybot we need apeiros..
<uplime> personally I like to use clbin.com
<uplime> but dpaste is good too
nexraf1 has quit [Quit: WeeChat 2.2]
<RougeR> yeah. im happy to use dpaste though
<RougeR> uplime,
<RougeR> new n improved
chouhoulis has quit [Remote host closed the connection]
_Joes_ has quit [Ping timeout: 250 seconds]
BH23 has quit [Ping timeout: 250 seconds]
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
GodFather_ has joined #ruby
Cthulu201 has joined #ruby
d^sh has quit [Ping timeout: 246 seconds]
GodFather_ has quit [Client Quit]
d^sh has joined #ruby
ua has quit [Ping timeout: 244 seconds]
neuraload has quit [Quit: This computer has gone to sleep]
_Joes_ has joined #ruby
BH23 has joined #ruby
bambanx has joined #ruby
venmx has quit [Ping timeout: 250 seconds]
RedNifre has joined #ruby
cschneid has joined #ruby
jobewan has joined #ruby
cschneid has quit [Client Quit]
ua has joined #ruby
dinfuehr_ has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
Xiti has quit [Quit: Xiti]
bambanx has quit [Read error: Connection reset by peer]
bambanx has joined #ruby
davidw has joined #ruby
Xiti has joined #ruby
BH23 has quit [Ping timeout: 250 seconds]
_Joes_ has quit [Ping timeout: 240 seconds]
_Joes_ has joined #ruby
BH23 has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
agent_white has quit [Quit: brb]
cpruitt has quit []
GinoMan2440 has joined #ruby
DTZUZO has quit [Ping timeout: 246 seconds]
GinoMan has quit [Ping timeout: 250 seconds]
blackswan has quit [Ping timeout: 268 seconds]
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
<RougeR> hello
<cajone> quit
cajone has quit [Quit: WeeChat 2.3]
<RougeR> hey
<RougeR> bye
<RougeR> lol
prestorium has quit [Quit: prestorium]
darkhanb has joined #ruby
Guest61854 has quit [Ping timeout: 250 seconds]
ElFerna has joined #ruby
phaul has quit [Quit: bye]
phaul has joined #ruby
Renich has joined #ruby
aufi has quit [Remote host closed the connection]
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
nowhere_man has joined #ruby
bambanx has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
agent_white has joined #ruby
dinfuehr has quit [Ping timeout: 244 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
spacesuitdiver has joined #ruby
<spacesuitdiver> I'm trying to just use bundler with rvm and get this... `.rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/resolver.rb:231:in `search_for': Unable to resolve dependency: user requested 'did_you_mean (= 1.2.0)' (Gem::UnsatisfiableDependencyError)`
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
serard_ has joined #ruby
<cthulchu> should the indentation go one level up after method def?
venmx has joined #ruby
<cthulchu> so it's like class is lobby, everything in it is the first floor, including methods' defs but then everything inside the methods is the second floor
<cthulchu> just like with everything else: the bodies' of code beginnings and endings are on one level lower than the bodies.
mikecmpbll has joined #ruby
_Joes_ has quit [Ping timeout: 250 seconds]
BH23 has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
coltkirk has joined #ruby
dbz has joined #ruby
serard_ has quit [Ping timeout: 252 seconds]
conta has joined #ruby
graphene has joined #ruby
conta has quit [Ping timeout: 246 seconds]
ellcs has joined #ruby
quipa has quit [Remote host closed the connection]
RougeR has quit [Read error: Connection reset by peer]
ElFerna has quit [Ping timeout: 246 seconds]
conta has joined #ruby
dinfuehr has quit [Ping timeout: 272 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
ElFerna has joined #ruby
eckhardt has joined #ruby
dinfuehr has quit [Ping timeout: 250 seconds]
dinfuehr has joined #ruby
graphene has quit [Remote host closed the connection]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
graphene has joined #ruby
lytol has joined #ruby
<phaul> and toplevel is outside .. :)
mistergibson has joined #ruby
serard_ has joined #ruby
serard_ has quit [Ping timeout: 252 seconds]
cd has joined #ruby
ElFerna has quit [Quit: WeeChat 2.3]
reber has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
conta2 has joined #ruby
Fridtjof has quit [Quit: ZNC - http://znc.in]
nertzy has joined #ruby
conta2 has quit [Ping timeout: 244 seconds]
ua has quit [Ping timeout: 268 seconds]
baweaver is now known as lemur
lemur is now known as baweaver
axsuul has joined #ruby
bak1an has quit [Quit: Textual IRC Client: www.textualapp.com]
reber has quit [Remote host closed the connection]
reber has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
lose has joined #ruby
<krawchyk> is there an easy way to convert a hash's keys to_i?
reber has quit [Remote host closed the connection]
<phaul> &ri transform_keys
<krawchyk> hah i wish i were in 2.5.3 thanks phaul i might have to reduce over the hash pairs
<phaul> Hash[ hash.map {|k, v| [ k.to_i, v] } ] ?
blackswan has joined #ruby
<krawchyk> haha exactly, saved me some time thanks
<phaul> &>> Hash[ {?1 => :a, ?2 => :b }.map { |k, v| [k.to_i, v] } ]
<rubydoc> # => {1=>:a, 2=>:b} (https://carc.in/#/r/5skx)
<havenwood> krawchyk: #to_h has been around a while
<havenwood> &>> {?1 => :a, ?2 => :b }.map { |k, v| [k.to_i, v] }.to_h
<rubydoc> # => {1=>:a, 2=>:b} (https://carc.in/#/r/5sky)
<krawchyk> yea i used to_h instead, easier to read thanks havenwood
SeepingN has joined #ruby
uplime has quit [Remote host closed the connection]
<havenwood> I look forward to the new block form of #to_h in 2.6.
d^sh has quit [Ping timeout: 246 seconds]
lose has quit [Remote host closed the connection]
d^sh has joined #ruby
Renich has quit [Ping timeout: 250 seconds]
<phaul> 25th of Dec, right? only 11 sleeps away :)
<havenwood> \o/
Renich has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
beef_erikson has quit [Ping timeout: 268 seconds]
ua has joined #ruby
zapata has quit [Quit: WeeChat 2.3]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
Renich has quit [Quit: Renich]
Renich has joined #ruby
Renich has quit [Remote host closed the connection]
Renich has joined #ruby
Fridtjof has joined #ruby
eb0t has joined #ruby
Renich has quit [Client Quit]
jcalla has quit [Ping timeout: 246 seconds]
beef_erikson has joined #ruby
RougeR has joined #ruby
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
guardian has joined #ruby
conta has quit [Quit: conta]
dellavg_ has quit [Ping timeout: 250 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
eckhardt has joined #ruby
eckhardt has quit [Client Quit]
nchambers has joined #ruby
jobewan has quit [Ping timeout: 268 seconds]
beef_erikson has quit [Quit: WeeChat 1.9.1]
akem has joined #ruby
gix has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
serard_ has joined #ruby
serard_ has quit [Ping timeout: 252 seconds]
cow[moo] is now known as cow[away]
aldodelgado has joined #ruby
SeepingN_ has joined #ruby
SeepingN has quit [Disconnected by services]
serard_ has joined #ruby
Puffball has quit [Remote host closed the connection]
aldodelgado has quit [Quit: aldodelgado]
smhuber has joined #ruby
lytol has quit [Remote host closed the connection]
ur5us has joined #ruby
agent_white has quit [Quit: later]
coltkirk has left #ruby ["ERC (IRC client for Emacs 26.1)"]
serard_ has quit [Ping timeout: 252 seconds]
fluxAeon has quit [Ping timeout: 244 seconds]
hutch has quit [Ping timeout: 268 seconds]
spacesuitdiver has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
tag has joined #ruby
serard_ has joined #ruby
fluxAeon has joined #ruby
perique has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
serard_ has quit [Ping timeout: 252 seconds]
nahra has joined #ruby
polishdub has quit [Quit: leaving]
bambanx has joined #ruby
camilasan has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
camilasan has joined #ruby
graphene has quit [Remote host closed the connection]
orbyt_ has joined #ruby
graphene has joined #ruby
fowl has joined #ruby
fowl was kicked from #ruby by ChanServ [Banned: Obsessive troll, see http://logs.ryanbigg.com/p/fowl]
crankhar1er has quit [Ping timeout: 240 seconds]
nakuku has joined #ruby
nchambers has quit [Quit: WeeChat 2.2]
paraxial has quit [Quit: The Lounge - https://thelounge.github.io]
paraxial has joined #ruby
<nakuku> Hello. I'm not sure this question belongs here but...In my app in will need credit card and KNET payments. Does anybody have experience with KNET (Kuwait Payment gateway) in rails?
<SeepingN_> I think you may want to ask that in a forum and sign up for reply notifications
Puffball has joined #ruby
lose has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
akem has quit [Quit: Leaving]
akem has joined #ruby
graphene has quit [Remote host closed the connection]
akem has quit [Client Quit]
graphene has joined #ruby
cd has quit [Quit: cd]
phaul has quit [Quit: bye]
lose has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Quit: inabit. zz.]