havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.3, 2.5.5, 2.7.0-preview1: 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!
rsh has joined #ruby
DaRock has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
sameerynho has quit [Ping timeout: 248 seconds]
hutch has quit [Ping timeout: 272 seconds]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 244 seconds]
bambanx has joined #ruby
dar123 has quit [Ping timeout: 252 seconds]
dbugger__ has joined #ruby
_dbugger has quit [Ping timeout: 248 seconds]
octos has quit [Read error: Connection reset by peer]
octos has joined #ruby
cerulean has joined #ruby
cerulean has quit [Ping timeout: 248 seconds]
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rsh has quit [Ping timeout: 248 seconds]
idiocrash has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
bradleyprice has joined #ruby
cd has joined #ruby
CCDelivery has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Remote host closed the connection]
uranoss has joined #ruby
rsh has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
tdy1 has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
idiocrash has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has quit [Remote host closed the connection]
lele has quit [Ping timeout: 258 seconds]
idiocrash has joined #ruby
CCDelivery has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Swyper has joined #ruby
lele has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
laaron has left #ruby ["Leaving"]
bradleyprice has joined #ruby
postmodern has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
rsh has quit [Ping timeout: 258 seconds]
rsh has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bambanx has quit [Quit: Leaving]
bradleyprice has quit [Remote host closed the connection]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
AJA4350 has quit [Quit: AJA4350]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
rsh has quit [Ping timeout: 248 seconds]
bambanx has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has quit [Remote host closed the connection]
CableNinja has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
<CableNinja> hey all, does anyone happen to know if theres a 'more complete' set of docs for the qtbindings gem? The docs on rubydoc.info dont seem to provide all of the classes/modules functionality, and the examples in its github dont really provide explanations on functions
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
gix has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
<CableNinja> ok, well its not as helpful as I'd like, but I discovered both qtruby and qtbindings both have 'rbqtapi' which list all of the inputs... it still doesnt really explain a lot though :|
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
gix- has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bambanx has quit [Read error: Connection reset by peer]
bambanx has joined #ruby
ricekrispie2 has quit [Quit: YEET]
tdy1 is now known as tdy
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 257 seconds]
brool has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
bambanx has quit [Read error: Connection reset by peer]
bambanx has joined #ruby
codefriar has joined #ruby
Swyper has quit [Remote host closed the connection]
bradleyprice has joined #ruby
dar123 has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bambanxx has joined #ruby
StarLord__ has joined #ruby
bambanx has quit [Ping timeout: 248 seconds]
bambanxx has quit [Ping timeout: 272 seconds]
bambanx has joined #ruby
StarLord__ has quit [Ping timeout: 248 seconds]
rsh has joined #ruby
tdy has quit [Remote host closed the connection]
rsh has quit [Ping timeout: 245 seconds]
tdy has joined #ruby
bradleyprice has quit [Remote host closed the connection]
vulpisvulpis has joined #ruby
bradleyprice has joined #ruby
<vulpisvulpis> I have two hashes containing Booleans and nils. I want to merge them into a single hash so I can iterate the hash, comparing key to value,. But, when I concert the two arrays into a single hash, the has is severely truncates. Is there a way too avoid that? I have created the hash like so Hash[array1.zip(array2)]
<havenwood> vulpisvulpis: Show an example of `array1` and `array2`?
<havenwood> vulpisvulpis: Or of the hashes?
<vulpisvulpis> array1 = [true,false,false,true]; array2 = [false,true,false,false]
<havenwood> vulpisvulpis: And what do you want for a result, ideally?
<vulpisvulpis> The resulting hash is just {true=>false,false=>false}
<havenwood> vulpisvulpis: What should it be.
<havenwood> vulpisvulpis: What's the result you're aiming for?
vulpisvulpis_ has joined #ruby
<havenwood> vulpisvulpis: Are you trying to get?: {true=>[false, false], false=>[true, false]}
<vulpisvulpis_> Sorry my client dropped the connection. Havenwood: no, what i want is a ont to one mapping of each member in each array
vulpisvulpis has quit [Ping timeout: 256 seconds]
<havenwood> vulpisvulpis: If you only have the keys `true` and `false`, there are only two keys for your Hash.
<havenwood> vulpisvulpis_: It's way easier for us to understand what you're shooting for if you show an example of the input and desired output.
<havenwood> The only part I'm unclear on is the desired output.
<vulpisvulpis_> So i want {false=>true,true=>false,false=>false,false=>true}
<vulpisvulpis_> But o see what you mean about only having two keys
<vulpisvulpis_> I just want to create this hash so i can do my_hash.each { |k,v| raise "illegal" unless k == v }
<vulpisvulpis_> I want to compare the two arrays and i thought zipping them together into a hash would be simplest
Azure|dc has joined #ruby
<havenwood> vulpisvulpis_: You can just zip then compare as arrays. No need for a hash.
<vulpisvulpis_> Oh so you mean juat zip them into a multidimensional array
<havenwood> vulpisvulpis_: array1.zip(array2).all? { |k, v| k == v }
<havenwood> vulpisvulpis_: Or: array1.zip(array2).find { |k, v| k == v }
Emmanuel_Chanel has joined #ruby
Azure has quit [Ping timeout: 268 seconds]
<vulpisvulpis_> Thats beautiful. I need to use something besides all? or find though but i
<vulpisvulpis_> Think you have illuminatex the path enough that i can move ahead
<vulpisvulpis_> Thank you havenwood
<havenwood> vulpisvulpis_: No prob, good luck!
cerulean has joined #ruby
brandoncc has joined #ruby
cerulean has quit [Ping timeout: 248 seconds]
sauvin has joined #ruby
gfawcett has quit [Ping timeout: 248 seconds]
code_zombie has quit [Quit: Leaving]
dviola has quit [Quit: WeeChat 2.4]
vulpisvulpis_ has quit [Ping timeout: 256 seconds]
bambanx has quit [Quit: Leaving]
orbyt_ has joined #ruby
andmenendez has joined #ruby
orbyt_ has quit [Client Quit]
andmenendez has quit [Client Quit]
dellavg_ has joined #ruby
bambanx has joined #ruby
brandoncc has quit [Quit: Textual IRC Client: www.textualapp.com]
deadprez has joined #ruby
deadprez has quit [Client Quit]
dar123 has quit [Ping timeout: 252 seconds]
kyrylo has joined #ruby
bradleyprice has quit [Remote host closed the connection]
reber has joined #ruby
CableNinja has quit [Quit: Leaving]
bradleyprice has joined #ruby
fphilipe has joined #ruby
cd has quit [Quit: cd]
bradleyprice has quit [Ping timeout: 248 seconds]
_whitelogger has joined #ruby
fphilipe has quit [Ping timeout: 252 seconds]
schne1der has joined #ruby
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
schne1der has quit [Ping timeout: 245 seconds]
tdy1 has joined #ruby
tdy has quit [Ping timeout: 268 seconds]
bradleyprice has joined #ruby
miskatonic has joined #ruby
bradleyprice has quit [Ping timeout: 252 seconds]
sameerynho has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
nowhereman has quit [Ping timeout: 248 seconds]
rsh has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has joined #ruby
rsh has quit [Ping timeout: 244 seconds]
SCHAAP137 has joined #ruby
SCHAPiE has quit [Ping timeout: 244 seconds]
SCHAAP137 is now known as SCHAPiE
FastJack has quit [Ping timeout: 264 seconds]
cadeskywalker has quit [Ping timeout: 244 seconds]
FastJack has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Swyper has joined #ruby
mniip has quit [Ping timeout: 604 seconds]
mniip has joined #ruby
fphilipe has joined #ruby
Swyper has quit [Remote host closed the connection]
cadeskywalker has joined #ruby
ur5us has joined #ruby
nowhereman has joined #ruby
tdy1 has quit [Ping timeout: 246 seconds]
fphilipe has quit [Ping timeout: 252 seconds]
bradleyprice has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
<marz_d`ghostman> In rails model, say I only ask for password when the user is_admin?, where should I declare it? in the migration? and just do a `has_a_secure_password if: :is_admin?`?
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has joined #ruby
gix has quit [Ping timeout: 258 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
bambanx has quit [Quit: Leaving]
cerulean has joined #ruby
cerulean has quit [Ping timeout: 246 seconds]
conta has joined #ruby
gix has joined #ruby
rsh has joined #ruby
conta has quit [Client Quit]
conta has joined #ruby
FastJack has quit [Ping timeout: 264 seconds]
rsh has quit [Ping timeout: 258 seconds]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renich has quit [Remote host closed the connection]
hiroaki has joined #ruby
FastJack has joined #ruby
ravenousmoose has joined #ruby
nowhereman has quit [Ping timeout: 272 seconds]
BrianWGray has quit [Ping timeout: 244 seconds]
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
mikecmpbll has joined #ruby
BrianWGray has joined #ruby
gix has quit [Ping timeout: 248 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 258 seconds]
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
cerulean has joined #ruby
s2013 has joined #ruby
cerulean has quit [Ping timeout: 248 seconds]
conta has quit [Quit: conta]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellcs has joined #ruby
pwnd_nsfw` has joined #ruby
bradleyprice has joined #ruby
UncleCid__ has quit [Ping timeout: 252 seconds]
cerulean has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
bradleyprice has quit [Ping timeout: 252 seconds]
cerulean has quit [Ping timeout: 258 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
schne1der has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
ellcs has quit [Ping timeout: 272 seconds]
doodlebug has joined #ruby
rainer_tm has quit [Quit: WeeChat 1.6]
Swyper has joined #ruby
rainer_tm has joined #ruby
Swyper has quit [Remote host closed the connection]
rsh has joined #ruby
ur5us has joined #ruby
rsh has quit [Ping timeout: 248 seconds]
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
AJA4350 has joined #ruby
Swyper has joined #ruby
ur5us_ has quit [Ping timeout: 272 seconds]
FernandoB has joined #ruby
hiroaki has quit [Ping timeout: 272 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
apparition has joined #ruby
mr_rich101 has quit [Quit: ZNC - http://znc.in]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
ravenous_ has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
zacharypi has joined #ruby
zacharypi has quit [Client Quit]
zacharypi has joined #ruby
zacharypi has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has joined #ruby
doodleb59 has joined #ruby
doodlebug has quit [Ping timeout: 246 seconds]
lucasb has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 258 seconds]
Inline_ has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
ravenous_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
doodleb59 has quit [Read error: Connection reset by peer]
matchaw has quit [Ping timeout: 252 seconds]
Inline_ has quit [Quit: Leaving]
rsh has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Inline has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
rsh has quit [Ping timeout: 272 seconds]
ravenousmoose has joined #ruby
apparition has quit [Quit: Bye]
Emmanuel_Chanel has joined #ruby
schne1der has quit [Ping timeout: 272 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
rsh has joined #ruby
CCDelivery has joined #ruby
stooj has quit [Quit: ZNC 1.7.2 - https://znc.in]
rsh has quit [Ping timeout: 268 seconds]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
rsh has joined #ruby
gnufied has quit [Ping timeout: 258 seconds]
mr_rich101 has joined #ruby
cerulean has joined #ruby
Emmanuel_Chanel has joined #ruby
cerulean has quit [Ping timeout: 248 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
lord4163 has quit [Quit: Gotta go cya!]
loses has joined #ruby
loses has quit [Remote host closed the connection]
loses has joined #ruby
FernandoB has quit [Remote host closed the connection]
loses has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
dh3 is now known as dhollinger
Emmanuel_Chanel has joined #ruby
weteamsteve has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has quit [Ping timeout: 245 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
IGnorAND has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Max SendQ exceeded]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
hutch has joined #ruby
hutch has quit [Ping timeout: 248 seconds]
stooj has joined #ruby
fphilipe has joined #ruby
orbyt_ has joined #ruby
ravenousmoose has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
hutch has joined #ruby
yasumi2136 has joined #ruby
stooj has quit [Quit: ZNC 1.7.2 - https://znc.in]
stooj has joined #ruby
rsh has quit [Ping timeout: 268 seconds]
kashike has quit [Ping timeout: 250 seconds]
renich has joined #ruby
bradleyprice has joined #ruby
hutch has quit [Ping timeout: 246 seconds]
rsh has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
weteamsteve has quit [Read error: Connection reset by peer]
lucasb has quit [Quit: Connection closed for inactivity]
Alison`8 has quit [Quit: Leaving]
Alison`8 has joined #ruby
yasumi2136 has quit [Quit: Konversation terminated!]
ryouba has left #ruby ["WeeChat 1.6"]
hutch has joined #ruby
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
larissa has quit [Ping timeout: 245 seconds]
larissa has joined #ruby
codefriar has joined #ruby
ravenousmoose has joined #ruby
ljarvis_ is now known as ljarvis
schne1der has joined #ruby
themsay has quit [Ping timeout: 248 seconds]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
renich has quit [Quit: renich]
tdy1 has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
Emmanuel_Chanel has joined #ruby
lord4163 has joined #ruby
hutch has quit [Ping timeout: 245 seconds]
hutch has joined #ruby
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
doodlebug has quit [Excess Flood]
doodlebug has joined #ruby
tdy1 is now known as tdy
fphilipe has joined #ruby
themsay has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
rsh has quit [Ping timeout: 245 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
houhoulis has joined #ruby
hutch has quit [Ping timeout: 252 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ruby
cerulean has joined #ruby
cerulean has quit [Ping timeout: 246 seconds]
hutch has joined #ruby
doodlebug has quit [Remote host closed the connection]
fphilipe has joined #ruby
jefffrails35 has joined #ruby
conta has joined #ruby
Alison`8 has quit [Quit: Leaving]
Alison`8 has joined #ruby
fphilipe has quit [Ping timeout: 258 seconds]
dar123 has joined #ruby
fphilipe has joined #ruby
hutch has quit [Quit: WeeChat 2.4]
Cork has quit [Ping timeout: 252 seconds]
rsh has joined #ruby
Cork has joined #ruby
fphilipe has quit [Ping timeout: 257 seconds]
dellavg_ has quit [Ping timeout: 248 seconds]
fphilipe has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Quit: conta]
cerulean has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
cerulean has quit [Ping timeout: 246 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
code_zombie has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jefffrails35 has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
schne1der has quit [Ping timeout: 258 seconds]
Cork has quit [Ping timeout: 244 seconds]
Cork has joined #ruby
wbnns has joined #ruby
nowhereman has joined #ruby
jenrzzz has joined #ruby
reber has quit [Remote host closed the connection]
hightower2 has joined #ruby
Tempesta has quit [Quit: See ya!]
ua has quit [Excess Flood]
ua has joined #ruby
Tempesta has joined #ruby
nowhereman has quit [Ping timeout: 258 seconds]
MuffinPimp has quit [Read error: Connection reset by peer]
MuffinPimp has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
vondruch has quit [Ping timeout: 245 seconds]
budonyc has joined #ruby
nowhereman has joined #ruby
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 248 seconds]
hightower2 has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
jenrzzz has joined #ruby
bradleyprice has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
tdy has quit [Ping timeout: 248 seconds]
a7d7p7 has quit [Quit: a7d7p7]
a7d7p7 has joined #ruby
bambanx has joined #ruby
bradleyprice has quit [Remote host closed the connection]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DaRock has joined #ruby
szulak has quit [Ping timeout: 250 seconds]
nowhereman has quit [Ping timeout: 259 seconds]
nowhereman has joined #ruby