baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ https://irclog.whitequark.org/ruby/
<havenwood> suchness: attachments_attributes:
pawnbox has quit [Ping timeout: 260 seconds]
<suchness> And model that has nested_attribues_for :something gains a method :something_ids
<suchness> Nested attributes is for creating the resource, the ids method is for attaching existing resources
<suchness> You might have to just trust me, it very much works.
<suchness> I don't believe it's referenced in those docs
elifoster has quit [Quit: tienda y comida]
<suchness> havenwood: Actually I think I am mistaken, that method comes with just the has_many
<suchness> Either way, it should work inside nested attributes
devbug has quit [Quit: ZZZzzz…]
<suchness> collection_singular_ids=ids
<suchness> Replace the collection with the objects identified by the primary keys in ids. This method loads the models and calls collection=. See above.
dogweather has quit [Ping timeout: 252 seconds]
cdg has quit [Remote host closed the connection]
dogweather has joined #ruby
nitric has quit [Ping timeout: 258 seconds]
LastWhisper____ has joined #ruby
thatsnotjack has joined #ruby
Azure has joined #ruby
toretore has quit [Ping timeout: 260 seconds]
danielius has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aidalgol has joined #ruby
bad_ip has quit [Ping timeout: 240 seconds]
TPug has quit [Quit: Textual IRC Client: www.textualapp.com]
suchness has quit [Read error: Connection reset by peer]
djbkd has quit [Quit: My people need me...]
aidalgol has quit [Quit: brb...]
aidalgol has joined #ruby
swills has joined #ruby
aidalgol has quit [Client Quit]
pawnbox has joined #ruby
aidalgol has joined #ruby
Ropeney has joined #ruby
taunic has quit [Ping timeout: 240 seconds]
RedNifre_ has joined #ruby
leea has joined #ruby
panpainter has quit [Remote host closed the connection]
aidalgol has quit [Client Quit]
arescorpio has joined #ruby
tmtwd has quit [Ping timeout: 258 seconds]
aidalgol has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
arnonhongklay has joined #ruby
RedNifre has quit [Ping timeout: 264 seconds]
leea has quit [Client Quit]
aidalgol has quit [Client Quit]
aidalgol has joined #ruby
tvw has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 244 seconds]
Kruppe has quit [Quit: ZNC - http://znc.in]
Kruppe has joined #ruby
rcvalle has quit [Quit: rcvalle]
duderonomy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
rsampaio_ has joined #ruby
SteenJobs has joined #ruby
duderonomy has quit [Client Quit]
ICantCook has joined #ruby
solocshaw has quit [Remote host closed the connection]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
A5101 has joined #ruby
solocshaw has joined #ruby
tmtwd has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
dogweather has quit [Ping timeout: 252 seconds]
dogweather has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
SteenJobs has quit [Quit: SteenJobs]
symm- has quit [Ping timeout: 252 seconds]
SteenJobs has joined #ruby
dogweather has quit [Remote host closed the connection]
symm- has joined #ruby
bob434 has joined #ruby
rsampaio_ has quit [Ping timeout: 276 seconds]
arnonhongklay has quit [Ping timeout: 244 seconds]
aupadhye has joined #ruby
SteenJobs has quit [Client Quit]
arnonhongklay has joined #ruby
Devalo has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
Ebok has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
davedev24 has quit []
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
panpainter has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
chrisarcand has quit [Read error: Connection reset by peer]
arnonhongklay has quit [Read error: Connection reset by peer]
chrisarcand has joined #ruby
arnonhongklay has joined #ruby
ta has joined #ruby
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
panpainter has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
<Guest33574> goodnight everyone and thxx for all
Guest33574 has quit [Quit: Leaving]
ta has quit [Ping timeout: 244 seconds]
millerti has joined #ruby
bruce_lee has quit [Remote host closed the connection]
arescorpio has quit [Ping timeout: 244 seconds]
Gadgetoid has quit [Ping timeout: 265 seconds]
Gadgetoid has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
PlasmaStar has quit [Ping timeout: 240 seconds]
etehtsea has joined #ruby
Ebok has quit [Quit: Leaving]
Karpuragauram has joined #ruby
mtkd has quit [Ping timeout: 276 seconds]
jhack has joined #ruby
PlasmaStar has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
PlasmaStar is now known as PlasmaSta
charliesome has joined #ruby
s2013 has joined #ruby
nankyokusei has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
borodin has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Vile` has joined #ruby
thatsnotjack has quit [Ping timeout: 255 seconds]
thatsnot1ack has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt2 has joined #ruby
ruby_ has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
thatsnot1ack has quit [Remote host closed the connection]
sumobob has quit [Ping timeout: 258 seconds]
skweek has joined #ruby
bob434 has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Ping timeout: 265 seconds]
arnonhon_ has joined #ruby
bob434 has joined #ruby
arnonhongklay has quit [Ping timeout: 258 seconds]
CloCkWeRX has joined #ruby
gnufied has quit [Ping timeout: 255 seconds]
thatsnotjack has joined #ruby
Es0teric has joined #ruby
beawesomeinstead has quit [Ping timeout: 258 seconds]
daivyk has quit [Quit: Quit]
dopamean_ has joined #ruby
beawesomeinstead has joined #ruby
leea has joined #ruby
Gnubie_ has quit [Quit: No Ping reply in 180 seconds.]
ramfjord_ has quit [Ping timeout: 250 seconds]
philtr has quit [Ping timeout: 260 seconds]
Gnubie_ has joined #ruby
philtr has joined #ruby
ekinmur has joined #ruby
Canucktux_ has quit [Remote host closed the connection]
ruby_ has joined #ruby
sand-bird has quit [Ping timeout: 244 seconds]
tvsutton has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhon_ has quit [Ping timeout: 244 seconds]
arnonhongklay has joined #ruby
Canucktux has joined #ruby
tvsutton has joined #ruby
baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
jtzero has joined #ruby
pawnbox has quit [Ping timeout: 265 seconds]
philtr has quit [Ping timeout: 240 seconds]
astrobun_ has joined #ruby
philtr has joined #ruby
sand-bird has joined #ruby
centrx has quit [Read error: Connection reset by peer]
centrx has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arnonhongklay has joined #ruby
hosttor has joined #ruby
thatsnotjack has quit [Ping timeout: 244 seconds]
jtzero has quit [Quit: Leaving.]
jtzero2 has joined #ruby
pawnbox has joined #ruby
sarbs has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 255 seconds]
ruby_ has quit [Remote host closed the connection]
sarbs has joined #ruby
tjbiddle has joined #ruby
duderonomy has joined #ruby
sand-bird has quit [Ping timeout: 255 seconds]
arnonhongklay has quit [Read error: Connection reset by peer]
Hobogrammer has quit [Ping timeout: 265 seconds]
arnonhongklay has joined #ruby
aries_liuxueyang has quit [Ping timeout: 265 seconds]
davedev24 has joined #ruby
centrx has quit []
davedev24 has quit [Client Quit]
hosttor has quit [Ping timeout: 258 seconds]
jackjackdripper has joined #ruby
Immune has quit [Quit: ZzzZZZzzzz]
rkazak has quit [Quit: Sleep.....ing....]
g3funk has quit [Ping timeout: 276 seconds]
tdy has quit [Quit: tdy]
\13k has quit [Ping timeout: 276 seconds]
aries_liuxueyang has joined #ruby
\13k has joined #ruby
arescorpio has joined #ruby
g3funk has joined #ruby
davedev24 has joined #ruby
arnonhon_ has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
<JJBB> Anyone looking for a full time Ruby Development Job in Melbourne / Australia. The position is working in a Datacentre building Cloud services integration tools. If you are interested message me !!!
ta has joined #ruby
Devalo has joined #ruby
davedev24 has quit []
elifoster has joined #ruby
ruby_ has joined #ruby
Spami has joined #ruby
enterprisey has joined #ruby
ta has quit [Ping timeout: 244 seconds]
Devalo has quit [Ping timeout: 265 seconds]
NetSage has quit [Remote host closed the connection]
icarus_ has quit [Quit: Lost terminal]
arnonhon_ has quit [Read error: Connection reset by peer]
panpainter has joined #ruby
jgt2 has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 264 seconds]
braincras has quit [Quit: bye bye]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
panpainter has quit [Ping timeout: 276 seconds]
arnonhongklay has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
ecksit has joined #ruby
cibs has joined #ruby
thatsnotjack has joined #ruby
gix has quit [Ping timeout: 250 seconds]
ajsharma has joined #ruby
ajsharma has quit [Max SendQ exceeded]
ruby_ has quit []
arnonhongklay has quit [Read error: Connection reset by peer]
arnonhongklay has joined #ruby
k3rn31 has joined #ruby
braincrash has joined #ruby
gix has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX has left #ruby [#ruby]
craigp_ has quit [Ping timeout: 265 seconds]
tdy has joined #ruby
Fly77 has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
tmtwd has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
ChiefAlexander has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
arnonhongklay has quit [Remote host closed the connection]
beatdown has quit [Quit: ZNC 1.6.1 - http://znc.in]
spudowiar has quit [Quit: zzzZZZzz]
Davedev28 has quit [Ping timeout: 250 seconds]
Oog has joined #ruby
hk238 has joined #ruby
hk238 has quit [Max SendQ exceeded]
arnonhongklay has joined #ruby
Oog has quit [Client Quit]
jaguarmagenta has joined #ruby
LoneHermit has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
arnonhon_ has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
LoneHermit has quit [Ping timeout: 240 seconds]
panpainter has joined #ruby
arescorpio has quit [Quit: Leaving.]
rgtk has quit [Ping timeout: 265 seconds]
arnonhon_ has quit [Remote host closed the connection]
hk238 has joined #ruby
beatdown has joined #ruby
astrobun_ has quit [Ping timeout: 240 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
dviola has quit [Quit: WeeChat 1.5]
rkazak has quit [Quit: Sleep.....ing....]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
arnonhongklay has joined #ruby
elifoster has quit [Ping timeout: 244 seconds]
solocshaw has quit [Ping timeout: 258 seconds]
elifoster has joined #ruby
etehtsea has quit [Read error: Connection reset by peer]
PlasmaSta has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
beatdown has quit [Quit: ZNC 1.6.1 - http://znc.in]
Vile` has quit [Ping timeout: 240 seconds]
badeball has quit [Remote host closed the connection]
dunpeal has quit [Ping timeout: 276 seconds]
PlasmaStar has joined #ruby
LUMIA930 has quit [Ping timeout: 276 seconds]
beatdown has joined #ruby
Bellthoven has joined #ruby
arnonhon_ has joined #ruby
arnonhongklay has quit [Ping timeout: 264 seconds]
rsampaio_ has joined #ruby
sumobob has joined #ruby
ecksit has quit [Quit: Textual IRC Client: www.textualapp.com]
jqquah has joined #ruby
jtzero2 has quit [Ping timeout: 244 seconds]
symm- has joined #ruby
webguynow has joined #ruby
Fly77 has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
mtkd has joined #ruby
jgt2 has joined #ruby
alfiemax has joined #ruby
Pisuke has joined #ruby
jgrevich has joined #ruby
phrozen77 has quit [Ping timeout: 244 seconds]
n8o has quit [Excess Flood]
mrfooo has quit [Read error: Connection reset by peer]
n8o has joined #ruby
mrfooo has joined #ruby
jtdowney has quit [Ping timeout: 244 seconds]
aredridel has quit [Ping timeout: 250 seconds]
greenhat_ has quit [Ping timeout: 250 seconds]
jgt2 has quit [Ping timeout: 258 seconds]
tubbo has quit [Ping timeout: 252 seconds]
jgrevich has quit [Client Quit]
bogdanteleaga has quit [Ping timeout: 244 seconds]
abort has quit [Ping timeout: 244 seconds]
D9 has quit [Excess Flood]
MyMind has quit [Ping timeout: 244 seconds]
Travis-42 has quit [Ping timeout: 255 seconds]
avdi has quit [Ping timeout: 255 seconds]
ewilliam has quit [Ping timeout: 255 seconds]
deimos has quit [Ping timeout: 255 seconds]
kireevco has quit [Ping timeout: 255 seconds]
jgrevich has joined #ruby
PoweredByPrana has joined #ruby
incomprehensibly has quit [Read error: Connection reset by peer]
c355e3b has quit [Read error: Connection reset by peer]
peteretep has quit [Write error: Connection reset by peer]
iamdevnul has quit [Read error: Connection reset by peer]
amitchellbullard has quit [Read error: Connection reset by peer]
lipoqil has quit [Read error: Connection reset by peer]
Eleeleth has quit [Read error: Connection reset by peer]
swgillespie has quit [Read error: Connection reset by peer]
vcoinminer has quit [Read error: Connection reset by peer]
dukedave has quit [Read error: Connection reset by peer]
pizzaops has quit [Read error: Connection reset by peer]
ELCALOR has quit [Write error: Connection reset by peer]
danzilio has quit [Read error: Connection reset by peer]
[diecast] has quit [Read error: Connection reset by peer]
ELLIOTTCABLE has quit [Write error: Connection reset by peer]
jpinnix_______ has quit [Read error: Connection reset by peer]
eljimbo has quit [Read error: Connection reset by peer]
Ropeney has quit [Read error: Connection reset by peer]
eljimbo has joined #ruby
dunpeal has joined #ruby
abort has joined #ruby
phrozen77 has joined #ruby
D9 has joined #ruby
jtdowney has joined #ruby
jtdowney has quit [Changing host]
jtdowney has joined #ruby
vcoinminer has joined #ruby
swgillespie has joined #ruby
[diecast] has joined #ruby
dukedave has joined #ruby
peteretep has joined #ruby
jpinnix_______ has joined #ruby
Travis-42 has joined #ruby
avdi has joined #ruby
deimos has joined #ruby
lipoqil has joined #ruby
c355e3b has joined #ruby
danzilio has joined #ruby
ELCALOR has joined #ruby
greenhat_ has joined #ruby
ELLIOTTCABLE has joined #ruby
pizzaops has joined #ruby
kireevco has joined #ruby
incomprehensibly has joined #ruby
kent\n has quit [Ping timeout: 250 seconds]
tubbo has joined #ruby
ewilliam has joined #ruby
PoweredByPrana is now known as CaptainAmerica
kent\n has joined #ruby
iamdevnul has joined #ruby
Eleeleth has joined #ruby
aredridel has joined #ruby
CaptainAmerica is now known as PoweredByPrana
amitchellbullard has joined #ruby
ta has joined #ruby
exchgr has quit [Ping timeout: 252 seconds]
bogdanteleaga has joined #ruby
PoweredByPrana has quit [Quit: Textual IRC Client: www.textualapp.com]
arnonhongklay has joined #ruby
ReK2 has quit [Remote host closed the connection]
arnonhon_ has quit [Read error: Connection reset by peer]
kent\n is now known as kentnl
M-manveru has quit [Ping timeout: 244 seconds]
ta has quit [Ping timeout: 244 seconds]
astrobun_ has joined #ruby
exchgr has joined #ruby
BTRE has quit [Ping timeout: 255 seconds]
alexherb1 has joined #ruby
ReK2 has joined #ruby
kentnl is now known as kent\n
pontiki has joined #ruby
alexherbo2 has quit [Ping timeout: 276 seconds]
BTRE has joined #ruby
M-manveru has joined #ruby
hahuang61 has quit [Ping timeout: 265 seconds]
vdamewood has quit [Quit: Life beckons.]
vuoto has joined #ruby
mic_e has joined #ruby
govg has joined #ruby
mic_e has quit [Ping timeout: 244 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
Ropeney has joined #ruby
arnonhongklay has quit [Ping timeout: 240 seconds]
panpainter has quit [Remote host closed the connection]
mroth has quit [Ping timeout: 250 seconds]
_joes_ has quit [Ping timeout: 250 seconds]
davic has quit [Ping timeout: 250 seconds]
shelling__ has quit [Ping timeout: 250 seconds]
im0b has quit [Ping timeout: 250 seconds]
tfitts has quit [Ping timeout: 250 seconds]
zipkid has quit [Ping timeout: 250 seconds]
lancetw has quit [Ping timeout: 250 seconds]
olivierjanss has quit [Ping timeout: 250 seconds]
AdamMeghji__ has quit [Ping timeout: 250 seconds]
ckrailo has quit [Ping timeout: 250 seconds]
andersh has quit [Ping timeout: 250 seconds]
pmarreck has quit [Ping timeout: 250 seconds]
jxf has quit [Ping timeout: 250 seconds]
Lloyd has quit [Ping timeout: 250 seconds]
mrsolo has quit [Ping timeout: 250 seconds]
podman has quit [Ping timeout: 250 seconds]
Guest4184_______ has quit [Ping timeout: 250 seconds]
yo61 has quit [Ping timeout: 250 seconds]
Tony-St4rk has quit [Ping timeout: 250 seconds]
rflot has quit [Ping timeout: 250 seconds]
kapowaz has quit [Ping timeout: 250 seconds]
hayden__ has quit [Ping timeout: 250 seconds]
bove has quit [Ping timeout: 250 seconds]
AphelionZ has quit [Ping timeout: 250 seconds]
ijij has quit [Ping timeout: 250 seconds]
zipkid has joined #ruby
mroth has joined #ruby
pmarreck has joined #ruby
imanc has quit [Ping timeout: 250 seconds]
Hates_ has quit [Ping timeout: 250 seconds]
arnonhongklay has joined #ruby
amclain has quit [Quit: Leaving]
ckrailo has joined #ruby
dunpeal has quit [Ping timeout: 265 seconds]
machty has quit [Ping timeout: 250 seconds]
jwheare has quit [Ping timeout: 250 seconds]
kapowaz has joined #ruby
etehtsea has joined #ruby
jwheare has joined #ruby
hayden__ has joined #ruby
Hates_ has joined #ruby
shelling__ has joined #ruby
Tony-St4rk has joined #ruby
olivierjanss has joined #ruby
mrsolo has joined #ruby
ijij has joined #ruby
tfitts has joined #ruby
_joes_ has joined #ruby
lancetw has joined #ruby
bove has joined #ruby
im0b has joined #ruby
imanc has joined #ruby
davic has joined #ruby
podman has joined #ruby
AdamMeghji__ has joined #ruby
AphelionZ has joined #ruby
Lloyd has joined #ruby
Guest4184_______ has joined #ruby
devbug has joined #ruby
jxf has joined #ruby
andersh has joined #ruby
machty has joined #ruby
rflot has joined #ruby
yo61 has joined #ruby
BTRE has quit [Ping timeout: 276 seconds]
Guest866 is now known as jud
jud has quit [Changing host]
jud has joined #ruby
s2013 has joined #ruby
thatsnotjack has quit [Ping timeout: 276 seconds]
LUMIA930 has joined #ruby
k3rn31 has joined #ruby
Madplatypus has joined #ruby
BTRE has joined #ruby
HashNuke has quit [Ping timeout: 250 seconds]
jimcroft has quit [Ping timeout: 250 seconds]
meinside has quit [Ping timeout: 250 seconds]
kmckelvin has quit [Ping timeout: 250 seconds]
AndyWojo has quit [Ping timeout: 250 seconds]
frode15243 has quit [Ping timeout: 250 seconds]
jmhmccr has quit [Ping timeout: 250 seconds]
the-eat-scout has quit [Ping timeout: 250 seconds]
deepak_ has quit [Ping timeout: 250 seconds]
spastorino has quit [Ping timeout: 250 seconds]
dmnd has quit [Ping timeout: 250 seconds]
Majost has quit [Ping timeout: 250 seconds]
cardoni has quit [Ping timeout: 250 seconds]
mitsuhiko has quit [Ping timeout: 250 seconds]
kmckelvin has joined #ruby
Majost has joined #ruby
HashNuke has joined #ruby
AndyWojo has joined #ruby
jmhmccr has joined #ruby
frode15243 has joined #ruby
jimcroft has joined #ruby
mitsuhiko has joined #ruby
deepak_ has joined #ruby
cardoni has joined #ruby
meinside has joined #ruby
dmnd has joined #ruby
the-eat-scout has joined #ruby
spastorino has joined #ruby
jaguarmagenta has joined #ruby
kubby has joined #ruby
djbkd has joined #ruby
hayden__ has quit [Ping timeout: 265 seconds]
hayden__ has joined #ruby
arnonhon_ has joined #ruby
arnonhongklay has quit [Read error: Connection reset by peer]
enterprisey has quit [Quit: Leaving]
sdwrage has quit [Quit: This computer has gone to sleep]
yardenbar has joined #ruby
sdwrage has joined #ruby
sdwrage has quit [Client Quit]
arnonhon_ has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 260 seconds]
jkhl has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
ramfjord has joined #ruby
Devalo has joined #ruby
fckyoufreenode has quit []
Dimik has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
nankyokusei has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Ping timeout: 265 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
dionysus69 has joined #ruby
duncannz has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
jqquah_ has joined #ruby
hakunin has quit [Ping timeout: 265 seconds]
devbug has quit [Quit: ZZZzzz…]
arnonhongklay has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
sumobob has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
dminuoso has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
jphase has quit [Ping timeout: 250 seconds]
devbug has joined #ruby
Vile` has joined #ruby
LoneHerm_ has joined #ruby
aryaching has joined #ruby
Vile` has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
hakunin has joined #ruby
Bellthoven has quit []
govg has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
panpainter has joined #ruby
Devalo has quit [Remote host closed the connection]
vuoto has quit [Quit: Lost terminal]
Devalo has joined #ruby
bocaneri has joined #ruby
panpainter has quit [Ping timeout: 260 seconds]
lightheaded has quit [Ping timeout: 258 seconds]
Devalo has quit [Ping timeout: 255 seconds]
mokha has joined #ruby
mokha has quit [Client Quit]
kus has joined #ruby
kus has quit [Max SendQ exceeded]
CloCkWeRX has quit [Quit: Leaving.]
PlasmaStar has quit [Ping timeout: 244 seconds]
DoubleMalt has joined #ruby
mtkd has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
dikaio has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
aryaching has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
last_staff has joined #ruby
electrostat has quit [Quit: uwotm8]
PlasmaStar has joined #ruby
rgtk has joined #ruby
electrostat has joined #ruby
weems2 has joined #ruby
aryaching has joined #ruby
nickjj_ has joined #ruby
matled- has joined #ruby
PaulCape_ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
mozzarel1 has joined #ruby
Keltia_ has joined #ruby
nebg has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 240 seconds]
alxndr_ has joined #ruby
kenichi_ has joined #ruby
Ankhers_ has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
weems has quit [Ping timeout: 244 seconds]
jmcc___________ has quit [Ping timeout: 244 seconds]
Ankhers has quit [Ping timeout: 244 seconds]
bigkevmcd has quit [Ping timeout: 244 seconds]
matled has quit [Read error: Connection reset by peer]
Ropeney has quit [Read error: Connection reset by peer]
alxndr has quit [Read error: Connection reset by peer]
nickjj has quit [Ping timeout: 244 seconds]
jmignault has quit [Ping timeout: 244 seconds]
M-shine has quit [Ping timeout: 244 seconds]
perry has quit [Ping timeout: 244 seconds]
kenichi has quit [Ping timeout: 244 seconds]
rideh has quit [Ping timeout: 244 seconds]
Keltia has quit [Read error: Connection reset by peer]
Jamo has quit [Ping timeout: 244 seconds]
donnoc has quit [Ping timeout: 244 seconds]
matled- is now known as matled
jmcc____________ has joined #ruby
firstdayonthejob has joined #ruby
alxndr_ is now known as alxndr
BTRE has quit [Ping timeout: 244 seconds]
mozzarella has quit [Ping timeout: 244 seconds]
Jamo has joined #ruby
BTRE has joined #ruby
nebg has joined #ruby
rideh has joined #ruby
dogweather has joined #ruby
donnoc has joined #ruby
saneax-_-|AFK is now known as saneax
perry has joined #ruby
perry has quit [Changing host]
perry has joined #ruby
jqquah has quit [Remote host closed the connection]
Ropeney has joined #ruby
zacts has joined #ruby
dionysus69 has joined #ruby
sand-bird has joined #ruby
PlasmaStar has quit [Ping timeout: 276 seconds]
M-shine has joined #ruby
dminuoso has joined #ruby
roxtrongo has joined #ruby
bigkevmcd has joined #ruby
Immune has joined #ruby
jmignault has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has quit [Ping timeout: 265 seconds]
arnonhongklay has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
tvw has joined #ruby
arnonhongklay has joined #ruby
ta has joined #ruby
learning has joined #ruby
conta1 has joined #ruby
jgt2 has joined #ruby
firstdayonthejob has quit [Ping timeout: 244 seconds]
ta has quit [Ping timeout: 265 seconds]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jgt2 has quit [Ping timeout: 244 seconds]
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
craigp_ has joined #ruby
ddffg has joined #ruby
ta has joined #ruby
ta_ has joined #ruby
dminuoso has quit [Remote host closed the connection]
A5101 has quit [Ping timeout: 240 seconds]
jqquah_ has quit [Remote host closed the connection]
dogweath_ has joined #ruby
Vile` has joined #ruby
dogweather has quit [Ping timeout: 252 seconds]
jaguarmagenta has joined #ruby
ta has quit [Ping timeout: 255 seconds]
ziprar has quit [Ping timeout: 265 seconds]
the_drow has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
etehtsea has joined #ruby
Vile` has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Ping timeout: 265 seconds]
dogweath_ has quit [Remote host closed the connection]
dogweather has joined #ruby
pawnbox has quit [Remote host closed the connection]
dminuoso has joined #ruby
symm- has quit [Quit: Leaving...]
dikaio has joined #ruby
l4v2 has quit [Quit: l4v2]
ramfjord has quit [Ping timeout: 244 seconds]
dogweather has quit [Ping timeout: 264 seconds]
submitnine has joined #ruby
sai_ has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
sai_ has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
sai_ has joined #ruby
aufi has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
sai_ has joined #ruby
sai_ has quit [Read error: Connection reset by peer]
biberu has joined #ruby
Ishido has joined #ruby
claudiuinberlin has joined #ruby
Immune_ has joined #ruby
leea has joined #ruby
LUMIA930 has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
pwnd_nsfw` has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
TomyWork has joined #ruby
pwnd_nsfw has quit [Ping timeout: 255 seconds]
Spami has quit [Quit: This computer has gone to sleep]
fly5566 has quit [Read error: Connection reset by peer]
helpa has quit [Remote host closed the connection]
anisha has joined #ruby
knight- has quit [Quit: No Ping reply in 180 seconds.]
dionysus69 has quit [Ping timeout: 265 seconds]
etehtsea has quit [Quit: Computer has gone to sleep.]
ahuman has quit [Quit: No Ping reply in 180 seconds.]
boshhead has quit [Remote host closed the connection]
ec0 has quit [Ping timeout: 250 seconds]
ianconnolly has quit [Ping timeout: 276 seconds]
brucebag has quit [Ping timeout: 255 seconds]
Nilium has quit [Ping timeout: 250 seconds]
ekem has quit [Ping timeout: 250 seconds]
baweaver has quit [Ping timeout: 250 seconds]
strongcode has quit [Ping timeout: 276 seconds]
djbkd has quit [Remote host closed the connection]
knight_ has joined #ruby
brucebag has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
antgel has joined #ruby
sethette1 has quit [Ping timeout: 240 seconds]
ec0 has joined #ruby
strongcode has joined #ruby
baweaver has joined #ruby
Nilium has joined #ruby
sethetter has joined #ruby
helpa has joined #ruby
mclee has quit [Ping timeout: 276 seconds]
boshhead has joined #ruby
ekem has joined #ruby
ahuman has joined #ruby
ianconnolly has joined #ruby
mclee has joined #ruby
djbkd has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
nankyokusei has joined #ruby
mark_66 has joined #ruby
blackgoat has quit [Ping timeout: 240 seconds]
panpainter has joined #ruby
ukk has joined #ruby
ukk has quit [Client Quit]
jgt2 has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
djbkd has quit [Remote host closed the connection]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
sand-bird has quit [Ping timeout: 244 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
panpainter has quit [Ping timeout: 265 seconds]
rvaldes has joined #ruby
Robtop__ has joined #ruby
panpainter has joined #ruby
jgt2 has quit [Ping timeout: 265 seconds]
Silthias has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
learning has quit []
roxtrongo has quit [Ping timeout: 265 seconds]
Silthias1 has joined #ruby
panpainter has quit [Ping timeout: 252 seconds]
Immune_ has quit [Ping timeout: 252 seconds]
Silthias has quit [Ping timeout: 244 seconds]
rgtk has quit [Ping timeout: 258 seconds]
Keltia_ is now known as Keltia
Keltia has quit [Changing host]
Keltia has joined #ruby
Burgestrand has joined #ruby
Bish has joined #ruby
valkyr1e has joined #ruby
JJBB has quit [Ping timeout: 258 seconds]
Pupeno has quit [Remote host closed the connection]
<Bish> hi, what do i use for Message Queing?
JJBB has joined #ruby
<dminuoso> Bish: AMQP is one of the more popular contenders.
<dminuoso> Bish: Depending on your requirements, you can also use plain redis.
Vile` has joined #ruby
ferr has joined #ruby
pawnbox has quit [Remote host closed the connection]
<manveru> Bish: i'd recommend nsq, beanstalkd, kafka
<dreinull> Having a {}.fetch issue here: https://paste.fedoraproject.org/418757/71652414/
<dreinull> I'd like to get false as a return not "ww"
<dreinull> Rather, what's a better way to deal with falsiness in this case?
<dminuoso> dreinull: false || "ww" # => will always yield ww.
<manveru> dreinull: a.fetch(:b, 'ww')
<dreinull> dminuoso I know, and this is not what I want because in this case false is true :)
<manveru> oh, nevermind
<dminuoso> dreinull: What?
<dminuoso> dreinull: Then simply remove || "ww" ??
nbdy has joined #ruby
nbdy has quit [Client Quit]
pawnbox has joined #ruby
<manveru> a.key?(:b) ? a[:b] : 'ww'
<dreinull> no, it's part of a method that has its use but it makes it difficult to store Bools
Immune has joined #ruby
Devalo has joined #ruby
Vile` has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
<manveru> i don't think you can pair fetch and || to do what you want
<dreinull> ok, in that method I fetch either a value that is stored in my Hash or it returns a default value from a default Hash. Now if I want to store Bools in that Hash I obviously get the default values whenever I hit a false.
DoubleMalt has joined #ruby
rgtk has joined #ruby
Silthias has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
<manveru> >> [{}, {b: false}, {b: nil}, {b: true}, {b: 'hi'}].map{|h| h.key?(:b) ? h[:b] : 'ww' }
<ruby[bot]> manveru: # => ["ww", false, nil, true, "hi"] (https://eval.in/632979)
jackjackdripper has quit [Quit: Leaving.]
Silthias has left #ruby [#ruby]
<Burgestrand> >> [{}, {b: false}, {b: nil}, {b: true}, {b: 'hi'}].map{|h| h.fetch(:b, 'ww') }
<ruby[bot]> Burgestrand: # => ["ww", false, nil, true, "hi"] (https://eval.in/632981)
<manveru> hmm, i thought there was some edge case i was missing...
<manveru> but you're right, it works, just not with || :)
Devalo has quit [Ping timeout: 252 seconds]
Silthias1 has quit [Ping timeout: 252 seconds]
<dreinull> well, ok. I consider this a bug in Ruby. Not a real bug but it bugs me because in this case false is a proper return value.
Ropeney has quit [Ping timeout: 250 seconds]
<dreinull> Should fork Ruby over that
<Burgestrand> dreinull there's no bug, what do you want to have?
<dreinull> Burgestrand it's fine. It just bugs me :)
<Burgestrand> dreinull if the hash contains the key, you get the key no matter the value, if the hash does not contain the key you get a default value. What do you want?
<dreinull> Burgestrand my || impl.
lxsameer has joined #ruby
tjbiddle has quit [Read error: Connection reset by peer]
marr has joined #ruby
<Burgestrand> dreinull it does not make any sense.
valkyr1e has quit [Quit: Bye.]
DoubleMalt has quit [Ping timeout: 264 seconds]
<Burgestrand> dreinull when do you want it to return false, and when do you want it to return "ww"?
Eiam has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
tjbiddle has joined #ruby
edwinvdgraaf has joined #ruby
pawnbox has quit [Remote host closed the connection]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
elifoster has quit [Quit: sleep]
habitullence has joined #ruby
fivmo has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
jsrn_ has joined #ruby
<dreinull> Burgestrand if there is no value at all. Because if the key is set to nil or false it's considered a value. Haven't had this case but today.
<Burgestrand> dreinull Yeah, which is exactly what hash.fetch(key, "ww") does.
<Burgestrand> dreinull https://eval.in/632984
<dreinull> Burgestrand, ok, I think I might be able to move the || part into the second argument part...
<Burgestrand> dreinull Yes!
<dreinull> Burgestrand which is what you've been trying to tell me now for a while. I get it :S
<dreinull> sorry
<Burgestrand> dreinull Yes! \o/
habitullence has quit [Ping timeout: 244 seconds]
<dreinull> Burgestrand What was I thinking?
<Burgestrand> dreinull false!
<mikecmpbll> lol
edwinvdg_ has joined #ruby
Sashimi has joined #ruby
tomphp has joined #ruby
Dimik has quit [Ping timeout: 264 seconds]
edwinvdgraaf has quit [Ping timeout: 244 seconds]
<dreinull> looks a lot better now
pawnbox has joined #ruby
habitullence has joined #ruby
zeroDi has joined #ruby
jgt2 has joined #ruby
DaniG2k has joined #ruby
conta has quit [Ping timeout: 265 seconds]
conta1 is now known as conta
einarj has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
nikivi has joined #ruby
LoneHerm_ has joined #ruby
pwnd_nsfw` has joined #ruby
Pupeno has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Ping timeout: 240 seconds]
Robtop__ has quit [Ping timeout: 250 seconds]
teclator has quit [Remote host closed the connection]
Immune has quit [Ping timeout: 252 seconds]
nikivi has quit [Quit: irc]
ta has joined #ruby
pwnd_nsfw` has quit [Read error: Connection reset by peer]
ukk has joined #ruby
pwnd_nsfw` has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Burgestrand has joined #ruby
ukk has quit [Client Quit]
ukk has joined #ruby
DaniG2k has quit [Ping timeout: 264 seconds]
gizless has joined #ruby
gizmore has quit [Ping timeout: 258 seconds]
Immune has joined #ruby
ta has quit [Ping timeout: 276 seconds]
dnewkerk has quit [Quit: dnewkerk]
ta has joined #ruby
DaniG2k has joined #ruby
pawnbox has quit [Remote host closed the connection]
Sashimi has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 255 seconds]
Klasser has joined #ruby
flying has joined #ruby
<Klasser> So, I have a little issue installing tiny_tds. Its asking if I have installed freetds, which I have. "freetds is missing. Do you have FreeTDS 0.95.80 or higher installed?"
<flying> hi guys :)
JJBB has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
Vile` has joined #ruby
Klasser_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
<Klasser_> So, I have a little issue installing tiny_tds. Its asking if I have installed freetds, which I have. "freetds is missing. Do you have FreeTDS 0.95.80 or higher installed?"
<Klasser_> Any help on troubleshooting this is greatly appriciated.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Klasser has quit []
<Klasser_> :)'
pawnbox has quit [Remote host closed the connection]
Burgestrand has joined #ruby
Sebastia1Thorn has joined #ruby
ljarvis_ has joined #ruby
Niham has joined #ruby
kennyZ has joined #ruby
foxxx0_ has joined #ruby
foxxx0 has quit [Disconnected by services]
Niham has quit [Max SendQ exceeded]
foxxx0_ is now known as foxxx0
eam_ has joined #ruby
darix- has joined #ruby
optiz0r_ has joined #ruby
Dobler has joined #ruby
Azure|dc has joined #ruby
Vile` has quit [Ping timeout: 258 seconds]
baweaver has quit [*.net *.split]
brucebag has quit [*.net *.split]
Ankhers_ has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
gix has quit [*.net *.split]
aries_liuxueyang has quit [*.net *.split]
philtr has quit [*.net *.split]
Azure has quit [*.net *.split]
Lucky_ABA has quit [*.net *.split]
banisterfiend has quit [*.net *.split]
kenichi_ has quit [*.net *.split]
Asher has quit [*.net *.split]
flopsec has quit [*.net *.split]
faces has quit [*.net *.split]
Snickers has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
wildleaf has quit [*.net *.split]
SebastianThorn has quit [*.net *.split]
ljarvis has quit [*.net *.split]
mburns has quit [*.net *.split]
fedruantine has quit [*.net *.split]
tristanp has quit [*.net *.split]
tostr has quit [*.net *.split]
Rasi has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
kith has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
mniip has quit [*.net *.split]
dRbiG has quit [*.net *.split]
awk_ has quit [*.net *.split]
eam has quit [*.net *.split]
plasticxme has quit [*.net *.split]
FastJack has quit [*.net *.split]
dreinull has quit [*.net *.split]
parus has quit [*.net *.split]
ruurd has quit [*.net *.split]
madhatter has quit [*.net *.split]
p1k has quit [*.net *.split]
xpt has quit [*.net *.split]
phantummm has quit [*.net *.split]
iNs has quit [*.net *.split]
klaas has quit [*.net *.split]
optiz0r has quit [*.net *.split]
Satyajit has quit [*.net *.split]
existensil has quit [*.net *.split]
gypsydave5 has quit [*.net *.split]
Fridtjof has quit [*.net *.split]
`derpy has quit [*.net *.split]
cfloare has quit [*.net *.split]
darix has quit [*.net *.split]
svkurowski has quit [*.net *.split]
jidar has quit [*.net *.split]
Guest14857 has quit [*.net *.split]
KillerFox has quit [*.net *.split]
lucas has quit [*.net *.split]
webhat has quit [*.net *.split]
forgot has quit [*.net *.split]
darix- is now known as darix
mame3 has quit [*.net *.split]
Fridtjof has joined #ruby
fedruantine has joined #ruby
klaas has joined #ruby
SirCmpwn has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
brucebag has joined #ruby
baweaver has joined #ruby
`derpy has joined #ruby
kenichi has joined #ruby
mniip has joined #ruby
Ankhers has joined #ruby
mburns has joined #ruby
Evan- has joined #ruby
svkurowski has joined #ruby
rgtk has quit [Ping timeout: 258 seconds]
FastJack has joined #ruby
iNs has joined #ruby
plasticxme has joined #ruby
p1k has joined #ruby
pawnbox has joined #ruby
Rasi has joined #ruby
teclator has joined #ruby
phrozen77 has joined #ruby
Niham has joined #ruby
ggherdov has quit [Ping timeout: 265 seconds]
Niham has quit [Max SendQ exceeded]
JackMc has quit [Ping timeout: 250 seconds]
gix has joined #ruby
dRbiG has joined #ruby
philtr has joined #ruby
aries_liuxueyang has joined #ruby
parus has joined #ruby
flopsec has joined #ruby
Asher has joined #ruby
jidar has joined #ruby
wildleaf has joined #ruby
xpt has joined #ruby
kith has joined #ruby
Snickers has joined #ruby
banisterfiend has joined #ruby
tostr has joined #ruby
faces has joined #ruby
phantummm has joined #ruby
gypsydave5 has joined #ruby
tristanp has joined #ruby
madhatter has joined #ruby
KillerFox has joined #ruby
Lucky_ABA has joined #ruby
existensil has joined #ruby
webhat has joined #ruby
Satyajit has joined #ruby
awk_ has joined #ruby
lucas has joined #ruby
cfloare has joined #ruby
Tharbakim has joined #ruby
mame3 has joined #ruby
forgot has joined #ruby
flopsec has quit [Changing host]
flopsec has joined #ruby
ruurd has joined #ruby
ruurd has joined #ruby
ruurd has quit [Changing host]
Niham has joined #ruby
ruurd is now known as Guest5052
<Klasser_> So, I have a little issue installing tiny_tds. Its asking if I have installed freetds, which I have. "freetds is missing. Do you have FreeTDS 0.95.80 or higher installed?" Any help on troubleshooting this is greatly appriciated.
pandaant has joined #ruby
banisterfiend has quit [Max SendQ exceeded]
aries_liuxueyang has quit [Max SendQ exceeded]
PlasmaStar has joined #ruby
Devalo has joined #ruby
phredus_ has quit [Read error: Connection reset by peer]
ggherdov has joined #ruby
JackMc has joined #ruby
charliesome has joined #ruby
phredus_ has joined #ruby
aries_liuxueyang has joined #ruby
toretore has joined #ruby
<kennyZ> hello, i am trying to install ruby-1.8.7-p174 on a debian 8 systemwith rbenv, but it failes because some openssl structs changed (in /usr/include/openssl/asn1.h). is there a chance to get it running on debian 8 or do i have to use an older os?
Devalo has quit [Ping timeout: 244 seconds]
ggherdov has quit [Excess Flood]
ggherdov has joined #ruby
tyang has quit [Ping timeout: 240 seconds]
govg has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
xiaomaolv has joined #ruby
anisha_ has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha has quit [Ping timeout: 240 seconds]
rsampaio_ has quit [Ping timeout: 255 seconds]
arnonhongklay has quit [Remote host closed the connection]
ngw has joined #ruby
nikivi has joined #ruby
Immune has joined #ruby
<xiaomaolv> I'm solving Course Schedule II in leetcode with ruby.Counld anyone review my code?I can't tell what's wrong.https://gist.github.com/lyqscmy/c96316603961af079562c8cc8b1cb8f9
arnonhongklay has joined #ruby
liyongqiang has joined #ruby
Beams has joined #ruby
liyongqiang has quit [Client Quit]
workmad3 has joined #ruby
Pupeno has joined #ruby
pawnbox_ has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pokalyis has joined #ruby
Snowy has joined #ruby
maloik has quit [Ping timeout: 264 seconds]
Snowy is now known as SnOooohwy
polysics has joined #ruby
dRbiG has left #ruby [#ruby]
nankyokusei has joined #ruby
devbug has quit [Read error: Connection reset by peer]
devbug has joined #ruby
aupadhye has quit [Quit: Leaving]
nankyokusei has quit [Ping timeout: 265 seconds]
meth has joined #ruby
duncannz has quit [Remote host closed the connection]
devbug_ has joined #ruby
mic_e has joined #ruby
devbug has quit [Read error: Connection reset by peer]
Immune has quit [Read error: Connection reset by peer]
Immune has joined #ruby
Couch has joined #ruby
mic_e has quit [Ping timeout: 244 seconds]
alexherb1 is now known as alexherbo2
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ljarvis_> xiaomaolv: why do you think something is wrong?
ljarvis_ is now known as ljarvis
jaruga___ has joined #ruby
RegulationD has joined #ruby
jaruga___ is now known as jaruga_____
sepp2k has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
devbug_ has quit [Quit: ZZZzzz…]
the_drow has joined #ruby
badeball has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox_ has quit [Ping timeout: 240 seconds]
Burgestrand has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aidalgol has quit [Quit: zZzZzZZzzz]
tvw has quit [Remote host closed the connection]
dogweather has joined #ruby
rgtk has joined #ruby
pawnbox has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
vdamewood has joined #ruby
Coldblackice has quit [Ping timeout: 258 seconds]
dunpeal has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
Beams has joined #ruby
nikivi has quit [Quit: zzz]
edwinvdg_ has quit [Ping timeout: 265 seconds]
nikivi has joined #ruby
nikivi has quit [Client Quit]
astrobun_ has quit [Remote host closed the connection]
dunpeal has quit [Ping timeout: 244 seconds]
nikivi has joined #ruby
Pumukel has joined #ruby
rodfersou has joined #ruby
dunpeal has joined #ruby
Pupeno has quit [Remote host closed the connection]
WSO has quit [Quit: Connection closed for inactivity]
xiaomaolv has quit [Ping timeout: 255 seconds]
rkoller has joined #ruby
rkoller has quit [Client Quit]
Pupeno has joined #ruby
LoneHerm_ has joined #ruby
minimalism has quit [Quit: minimalism]
Silthias1 has joined #ruby
rbr has quit [Ping timeout: 264 seconds]
LoneHerm_ has quit [Ping timeout: 276 seconds]
rbr has joined #ruby
ta_ has joined #ruby
xiaomaolv has joined #ruby
meth has quit [Quit: Leaving]
miqlas-H has joined #ruby
braincrash has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
xiaomaolv has quit [Remote host closed the connection]
braincrash has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
Pupeno has quit [Remote host closed the connection]
pawnbox has joined #ruby
blackgoat has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ec0 has quit [Ping timeout: 258 seconds]
stoodfarback has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure|dc is now known as Azure
k3rn31 has joined #ruby
braincrash has quit [Ping timeout: 276 seconds]
dunpeal has quit [Ping timeout: 240 seconds]
jazzonmym111nd has joined #ruby
rodfersou has quit [Ping timeout: 240 seconds]
Beast has joined #ruby
rodfersou has joined #ruby
jazzonmym11nd has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
spectrum has joined #ruby
spectrum has quit [Client Quit]
pawnbox has joined #ruby
strigonLeader is now known as spectrum
dunpeal has joined #ruby
DaniG2k has quit [Quit: leaving]
jazzonmym1nd has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jaguarmagenta has joined #ruby
braincrash has joined #ruby
lightheaded has quit [Remote host closed the connection]
jazzonmym111nd has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
lightheaded has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
srlsto has joined #ruby
Vile` has joined #ruby
pawnbox has joined #ruby
CloCkWeRX1 has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
fivmo has quit [Quit: Textual IRC Client: www.textualapp.com]
raeoks has joined #ruby
the_drow has joined #ruby
Vile` has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
koooge has quit [Quit: Leaving...]
<spectrum> is there a place I can find documentation on extending ruby in C?
tvw has joined #ruby
<spectrum> perfect thank you
heftig has quit [Quit: heftig]
heftig has joined #ruby
Vile` has joined #ruby
Vingador has joined #ruby
PlasmaStar has quit [Ping timeout: 244 seconds]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
hanmac has quit [Ping timeout: 255 seconds]
Pupeno has quit [Remote host closed the connection]
nickjj_ is now known as nickjj
pawnbox has joined #ruby
SnOooohwy has quit [Remote host closed the connection]
srlsto has quit [Quit: Leaving]
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
PlasmaStar has joined #ruby
mhenrixon has joined #ruby
Pupeno has joined #ruby
pokalyis has joined #ruby
edgr has quit [Ping timeout: 276 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
edgr has joined #ruby
sdothum has joined #ruby
hanmac has joined #ruby
ldnunes has joined #ruby
edgr has quit [Ping timeout: 240 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
PlasmaStar has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
jonadab has quit [Ping timeout: 265 seconds]
Pupeno has quit [Remote host closed the connection]
unshadow has joined #ruby
tomchapi_ has joined #ruby
tomchapin has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
Pumukel has quit [Remote host closed the connection]
pawnbox_ has joined #ruby
PlasmaStar has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
the_drow has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
Devalo has joined #ruby
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
poikon has quit [Remote host closed the connection]
beawesomeinstead has quit [Remote host closed the connection]
DaniG2k has joined #ruby
yardenbar has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
Burgestrand has joined #ruby
govg has quit [Ping timeout: 244 seconds]
sand-bird has joined #ruby
Pumukel has joined #ruby
edgr has joined #ruby
Devalo has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
govg has joined #ruby
mic_e has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
beawesomeinstead has joined #ruby
sand-bird has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
panpainter has joined #ruby
poikon has joined #ruby
panpainter has quit [Ping timeout: 252 seconds]
Pupeno has quit [Remote host closed the connection]
vdamewood has quit [Quit: Life beckons.]
hs366 has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dogweather has joined #ruby
Vile` has joined #ruby
millerti has joined #ruby
dogweather has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
millerti has quit [Max SendQ exceeded]
Pupeno has joined #ruby
DaniG2k has quit [Ping timeout: 260 seconds]
kennyZ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ta_ has joined #ruby
pokalyis has joined #ruby
pawnbox has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 264 seconds]
ukk has quit [Quit: WeeChat 1.5]
arnonhongklay has quit [Remote host closed the connection]
<dunpeal> Say I have a method foo that takes a block. Can I provide this block in any way other than the do...end form?
WSO has joined #ruby
arnonhongklay has joined #ruby
d0nn1e has joined #ruby
<jazzonmym1nd> dunpeal: you could accept a Proc instead but can you provide more context?
<dunpeal> jazzonmym1nd: I was wondering if I could use some more concise, space-efficient form like maybe: foo { the_block }
ta_ has quit [Ping timeout: 265 seconds]
PlasmaStar has quit [Ping timeout: 276 seconds]
bob434 has quit [Quit: This computer has gone to sleep]
<mikecmpbll> definitely not.
<dunpeal> Especially to put it all in one line.
<jazzonmym1nd> did you try it?
<dunpeal> Yes, it didn't work.
<jazzonmym1nd> what do you mean by didn't work?
<dunpeal> hm, looks like it works with Array#each
<jazzonmym1nd> >> def foo; yield; end; foo { "hello" }
<ruby[bot]> jazzonmym1nd: # => "hello" (https://eval.in/633222)
tlaxkit has joined #ruby
<dunpeal> jazzonmym1nd: syntax error, unexpected '{', expecting keyword_end (SyntaxError)
<mikecmpbll> code code code code code code.
arnonhongklay has quit [Read error: Connection reset by peer]
<jazzonmym1nd> can you show the code?
arnonhongklay has joined #ruby
<dunpeal> it's part of a Rails test, I think the problem is that it also takes an argument
arnonhongklay has quit [Remote host closed the connection]
<dunpeal> it's a `before` clause in an RSpec
<jazzonmym1nd> you might need to use parenthesis for the argument then
<mikecmpbll> code code code code code code.
<dunpeal> right.
<jazzonmym1nd> foo("arg") { }.
arnonhongklay has joined #ruby
<dunpeal> jazzonmym1nd: that was it, thanks!
<dunpeal> parenthesis around the argument were required.
<jazzonmym1nd> cool
<jazzonmym1nd> yw
<mikecmpbll> that took 5 mins instead of 0.1seconds with code.
* mikecmpbll shrugs
<dunpeal> So these are the two forms of block provision? curlies and do...end
<jazzonmym1nd> yeah, two different syntax's for blocks.
gingray has joined #ruby
arnonhongklay has quit [Ping timeout: 244 seconds]
synthroid has joined #ruby
gingray has quit [Client Quit]
nertzy has joined #ruby
gingray has joined #ruby
gingray has quit [Client Quit]
gingray has joined #ruby
DaniG2k has joined #ruby
wldcordeiro has quit [Ping timeout: 264 seconds]
alfiemax has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
CloCkWeRX has joined #ruby
arnonhongklay has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
polysics has quit []
tyang has joined #ruby
CloCkWeRX1 has quit [Ping timeout: 255 seconds]
jazzonmym11nd has joined #ruby
jazzonmym1nd has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
arnonhongklay has quit [Ping timeout: 252 seconds]
bruce_lee has joined #ruby
CloCkWeRX1 has joined #ruby
tyang has quit [Client Quit]
swills has quit [Ping timeout: 250 seconds]
Xeago has quit [Ping timeout: 260 seconds]
da3mon has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
Vile` has quit [Ping timeout: 264 seconds]
DaniG2k has quit [Quit: leaving]
CloCkWeRX has quit [Ping timeout: 260 seconds]
DaniG2k has joined #ruby
mozzarel1 has quit [Ping timeout: 255 seconds]
jhack_ has joined #ruby
ukk has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
gnufied has joined #ruby
AlexRussia has quit [Ping timeout: 276 seconds]
the_drow has joined #ruby
jhack_ has quit [Quit: jhack_]
<Bish> bleh, i have a folder named "mail" in PATH
<Bish> if i require the mail gem, it will try to load that folder
<Bish> how do i work around that
yuki_is_bored has joined #ruby
Niham has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gnufied has quit [Quit: Leaving]
govg has quit [Ping timeout: 276 seconds]
gnufied has joined #ruby
jaguarmagenta has joined #ruby
<adaedra> You can fix your $PATH
PlasmaStar has joined #ruby
<adaedra> Otherwise, `ruby -S mail` is a (ugly) option I think
<adaedra> (If by "require" you mean "execute")
edwinvdgraaf has joined #ruby
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gingray has quit [Quit: leaving]
Pumukel has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
gingray has joined #ruby
<Bish> fix my path , meaning i need to change my folder structure
<Bish> hmpf
ukk1 has joined #ruby
pokalyis has joined #ruby
<adaedra> Or you put the directory containing gem executables before the one containing `mail`
last_staff has quit [Quit: last_staff]
<chris2> why does requiring a gem involve PATH?
TvL2386 has joined #ruby
pawnbox has joined #ruby
ukk has quit [Ping timeout: 265 seconds]
AlexRussia has joined #ruby
spectrum has quit [Read error: Connection reset by peer]
ule has quit [Ping timeout: 255 seconds]
<ljarvis> yeah it certainly shouldn't.
pawnbox has quit [Ping timeout: 240 seconds]
<ljarvis> no reason `unset PATH; ./bin/ruby -e "require 'mail'; p Mail"` wouldn't work
malconis has joined #ruby
ramortegui has joined #ruby
aegis3121 has joined #ruby
gingray has quit [Quit: leaving]
PlasmaStar has quit [Ping timeout: 252 seconds]
<unshadow> Hi guys, we started a new project (License MIT) for implamenting the RDP protocol (Client + server) in pure Ruby. If you guys wana join, follow, Fork etc.. all are invited: https://github.com/Safe-T/rdp-rb
Sashimi has joined #ruby
jhack_ has joined #ruby
jhack has quit []
jhack_ is now known as jhack
<rubirc> em
jhack has quit [Client Quit]
<rubirc> dont you want to do that in something more efficient than ruby?
Beams has joined #ruby
gingray has joined #ruby
edwinvdgraaf has quit [Ping timeout: 252 seconds]
tyang has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
platzhirsch has joined #ruby
<unshadow> rubirc: If you answered regarding my post, then , the whole point is having it in Ruby :) it's an interesting project + could be a very cool thing to have
El3k0n has joined #ruby
ekinmur has joined #ruby
jhack has joined #ruby
jphase has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
jphase has quit [Remote host closed the connection]
<da3mon> \´
da3mon has quit [Quit: cya...]
arnonhongklay has joined #ruby
jphase has joined #ruby
SnOooohwy has joined #ruby
cdg has joined #ruby
edwinvdgraaf has joined #ruby
da3mon has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
Pumukel has joined #ruby
Devalo has joined #ruby
mozzarel1 has joined #ruby
Es0teric has joined #ruby
s2013 has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
arnonhongklay has quit [Remote host closed the connection]
s2013 has quit [Max SendQ exceeded]
Devalo has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
ukk1 is now known as bsrd
CloCkWeRX1 has quit [Ping timeout: 250 seconds]
GodFather has joined #ruby
tref has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
bsrd has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
the_drow has joined #ruby
pawnbox has joined #ruby
El3k0n has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
MassDebates has joined #ruby
banisterfiend has joined #ruby
<flying> how can I get the index of an array?? array1.index ?
CloCkWeRX1 has joined #ruby
pawnbox has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 265 seconds]
<adaedra> what are you calling the "index" of an array?
griffindy has joined #ruby
CloCkWeRX has quit [Ping timeout: 240 seconds]
<Bish> >> [1,2,3].find_index(2)
<Bish> :(
<Bish> >> [1,2,3].find_index(2)
<ruby[bot]> Bish: # => 1 (https://eval.in/633293)
pawnbox has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tlaxkit has quit [Quit: tlaxkit]
banisterfiend has joined #ruby
ixti has quit [Ping timeout: 276 seconds]
jonadab has joined #ruby
swills has joined #ruby
tref has quit [Quit: tref]
pawnbox has quit [Ping timeout: 265 seconds]
s2013 has joined #ruby
arnonhongklay has joined #ruby
CloCkWeRX1 has left #ruby [#ruby]
RegulationD has joined #ruby
nikivi has quit [Quit: zzz]
dminuoso has quit [Ping timeout: 255 seconds]
arnonhongklay has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
VladGh has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SnOooohwy has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 252 seconds]
CloCkWeRX has left #ruby [#ruby]
VladGh has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexRussia has quit [Ping timeout: 240 seconds]
da3mon has quit [Quit: Zzzz...]
lightheaded has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
teclator has quit [Remote host closed the connection]
lightheaded has joined #ruby
nettoweb has joined #ruby
colegatron has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
zacts has quit [Quit: WeeChat 1.4]
ta_ has joined #ruby
jrafanie has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
dopamean_ has quit [Ping timeout: 265 seconds]
ta__ has joined #ruby
<lifted> WHATS GOOD FAMILY?! :D
ta_ has quit [Ping timeout: 244 seconds]
davedev24 has joined #ruby
dikaio has joined #ruby
lightheaded has quit [Remote host closed the connection]
ta has quit [Ping timeout: 250 seconds]
<MassDebates> okay so i went through some of the tutorials and stuff but i'm still kinda lost on ruby
BTRE has quit [Ping timeout: 260 seconds]
<mikecmpbll> MassDebates : lost how?
bsrd has quit [Quit: WeeChat 1.5]
aryaching has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
charliesome has joined #ruby
AndrewIsHere has joined #ruby
coolboy has joined #ruby
<MassDebates> Well, the syntax seems to be relatively easy and simple, which is nice, but I'm confused about the role ruby would play in a realistic example.
<MassDebates> Maybe I'm overcomplicating it or maybe I just haven't learned enough
AlexRussia has joined #ruby
aryaching has joined #ruby
jkhl has joined #ruby
mikecmpb_ has joined #ruby
<mikecmpb_> MassDebates : probably overcomplicating it.
<MassDebates> I did some digging and decided it would be best for me to make a native mobile app, as opposed to a webapp (which would be significantly easier)
edwinvdg_ has joined #ruby
<mikecmpb_> curious.
ChiefAlexander has joined #ruby
<MassDebates> After doing some research, I determined that ruby would be a good language to use to develop it. I found some services out there that can help me make it work for multiple devices (like iOS and android)
edwinvdgraaf has quit [Read error: Connection reset by peer]
<mikecmpb_> super.
<MassDebates> So I did some of the tutorials. really nice syntax. Love it, but I'm unsure how the work-flow is supposed to work.
mikecmpbll has quit [Ping timeout: 244 seconds]
mikecmpb_ is now known as mikecmpbll
gingray has quit [Quit: leaving]
l4v2 has joined #ruby
<mikecmpbll> elaborate
<MassDebates> And again, what role ruby would play. From my perspective, I'm familiar with HTML, CSS, PHP, JS, etc..
PlasmaStar has joined #ruby
gingray has joined #ruby
<MassDebates> Sorry, trying to type fast :P hard to articulate in english for this
<mikecmpbll> what role ... hm. the role of interpreted language to make stuff happen on a computer!
<MassDebates> So, using my familiar stuff as a reference point in example, I look at HTML as being primarily responsible (of course there's bleed along the edges between these technologies) for structure and content through markup
<aegis3121> Well, in a web application I feel like the obvious, first guess would be some web framework... Rails, Hanami, etc... for your server side logic
<MassDebates> I see CSS as being largely presentational and aesthetic
<aegis3121> offloading any business logic to your server rather than having it present on the client side.
<MassDebates> JS is (along with some HTML) mainly responsible for interaction and async stuff
da3mon has joined #ruby
etehtsea has joined #ruby
<MassDebates> But when I look at native apps (because I webapps can often be comparable to SAPs) I'm confused as to what does what. I know there's XML, Java, and Ruby
<MassDebates> but I think java and ruby are 'competitors' right?
tyang has quit [Ping timeout: 255 seconds]
<aegis3121> I would say no...
<MassDebates> Well, not 'competing' ... but ... 'replaceable' if you will?
<mikecmpbll> they're both programming languages.
<MassDebates> Do they serve the same functions/purposes in majority?
<MassDebates> I ask because I can make arrays, declare variables and objects in java, and I can do so in ruby.
<MassDebates> They're the same, then, right?
<mikecmpbll> yes, absolutely the same.
<aegis3121> That's true of any object oriented language. It comes down to: "How quickly can you create a thing? How MUCH does performance matter? How flexible do i want the language? How do I want my language to influence my design decisions?"
hs366 has quit [Quit: Leaving]
<MassDebates> okay, great, thanks guys!
<aegis3121> Tehre probably aren't a lot of things you can do in one you can't do in the other. It's just a matter of how you do them and if it's the right tool for the scenario
the_drow has quit [Quit: This computer has gone to sleep]
<MassDebates> I have a couple more questions, if that's alright?
<aegis3121> that's what the channel is for
<MassDebates> Would it make sense for me to say that I'll likely be using XML, Ruby, and (s)CSS/LESS/etc. for a native app?
<adaedra> You can but don't have to.
<adaedra> (I could argue on the 'native' bit, but let's put that aside.)
tdy has quit [Ping timeout: 260 seconds]
nikivi has joined #ruby
da3mon has quit [Quit: Zzzz...]
da3mon has joined #ruby
tyang has joined #ruby
BTRE has joined #ruby
dopamean_ has joined #ruby
<MassDebates> okay, awesome, I think I'll be doing that. I'm great with CSS and I think some of my ability with HTML will give me enough knowledge to extrapolate and easily pick up XML. Ruby seems like it's got really friendly syntax. Tried using java in the past, struggled.
<Nilium> How far 'native' goes mostly just depends on depth of knowledge per programmer. I don't really like trying to explain the differences there now.
dopamean_ has quit [Client Quit]
<MassDebates> That's fine.
CloCkWeRX has joined #ruby
tostr has quit [Ping timeout: 244 seconds]
<MassDebates> Okay, one last question (most likely last)
CloCkWeRX has left #ruby [#ruby]
<Nilium> Since to a generic web dev, native is kind of just like surface details.
Vivekananda has joined #ruby
<MassDebates> I don't feel that I can achieve the smoothness and performance I desire with a webapp
<MassDebates> Although I'd like the ease of development, running through something similar to a browser's rendering process will just hurt the experience of the user.
<Nilium> Well, HTML and CSS are web things.
<Nilium> And XML's just text.
<MassDebates> But before I start diving into learning random languages that might do what I need, I figured I'd get an analysis of what's there.
<Nilium> So, what's the question?
<adaedra> It's good to know a language, knowing when and where use it or use another is better.
<MassDebates> So what controls a native app's aesthetics, or the equivalent of what i familiarly refer to as a web page's 'styling'?
<Nilium> Depends on the OS.
mtkd has quit [Ping timeout: 244 seconds]
<MassDebates> Android
da3mon has quit [Client Quit]
etehtsea has quit [Quit: Computer has gone to sleep.]
tdy has joined #ruby
SteenJobs has joined #ruby
<Nilium> Layouts, styles/themes (not at all similar to CSS), and various other bits and pieces of the resource tree.
edgr has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
<MassDebates> okay, so let's say I learn the syntax and pick up a relatively acceptable working knowledge of these languages. Would I make an APP UI first, and then start 'connecting power cables' to have it work with a database system of sorts?
<MassDebates> er, wait, before i start going X Y problem on you folks, let me give you some info
<adaedra> “I think some of my ability with HTML will give me enough knowledge to extrapolate and easily pick up XML.” — Ouch
panpainter has joined #ruby
<Nilium> That really depends on a lot of 'what's.
AndrewIsHere has quit []
<MassDebates> adaedra: lol I feel it does. I've had to write XML before for several different HTML projects
tostr has joined #ruby
<Nilium> OK, ignoring the whole XML-and-HTML-aren't-programming thing...
hk238 has joined #ruby
<Nilium> (Because they aren't and we can just move on with life.)
<MassDebates> I'm not arguing with that :
<MassDebates> :P
<Nilium> So you're making an Android app.
tdy has quit [Client Quit]
<Nilium> How do you plan to use Ruby?
<Nilium> Ruboto? JRuby? RubyMotion?
saneax is now known as saneax-_-|AFK
<Nilium> Variant Ruby-like language such as Mirah?
<MassDebates> rubymotion got me sold on ruby, was torn between ruboto and rubymotion. Didn't see JRuby
synthroid has quit [Remote host closed the connection]
tdy has joined #ruby
<MassDebates> So I've come up with a series of diagrams. I know how each screen should look, what abilities the user is expected to have on there, everything. If I was making a webapp/similar, I'd be able to make it (and finish) it today.
<MassDebates> I also realize this is going to be a bitch of a task for me to complete.
<Nilium> So, on RubyMotion, it's statically compiled, so make sure to understand the limits of what it can do as an alternative implementation.
<unshadow> .quit
unshadow has quit [Quit: leaving]
<MassDebates> Right, I can't dynamically create the code, right?
<MassDebates> er
<adaedra> That was embarrassing.
<Nilium> And then you're going to have to know how to translate Java to RubyMotion.
Akuma has quit [Quit: So long sukkas!]
<Nilium> And vice versa, just because Android docs are all Java.
zeroDi has joined #ruby
eljimbo has joined #ruby
<Nilium> So, do you have questions about Ruby specifically or do you need to ask Android/RubyMotion folks questions?
PlasmaStar has quit [Ping timeout: 265 seconds]
<MassDebates> Determining that now lol
panpainter has quit [Ping timeout: 252 seconds]
vuoto has joined #ruby
tyang has quit [Ping timeout: 255 seconds]
pawnbox has joined #ruby
<MassDebates> Okay, I think I need to ask android/rubymotion questions
TomyWork has quit [Ping timeout: 276 seconds]
<MassDebates> or maybe just more general android dev questions
Vivekananda has quit [Quit: Leaving]
Vivekananda has joined #ruby
hutch34 has joined #ruby
craigp_ has quit [Ping timeout: 260 seconds]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gingray has quit [Quit: leaving]
the_drow has joined #ruby
<MassDebates> I'm trying to make an app that allows users to post posts on this app, related to a specific industry. Each post can have votes, replies (in a form similar to forum threads), and replies can have their own replies/comments. Replies and comments also have votes. Each post has meta data that may include pictures and multiple text values. Replies (and
<MassDebates> comments) can have meta-data with parallels to the post metadata, but typically won't have more than just its normal text content (not text metadata), and typically won't have a lot of metadata if it does (but can).
<MassDebates> I think it's best if I accurately determine what's the best language to use for this task, like someone said in here.
<Nilium> So, Stack Overflow but for an industry that has somehow avoided creating its own Stack Exchange site.
dminuoso has joined #ruby
<MassDebates> Well, it's not a Q&A and Stack Overflow is for dev. This is related to manfucturing stuff.
<MassDebates> It's more about content-sharing
edgr has joined #ruby
<Nilium> Yeah, but the model doesn't really require Q&A.
<MassDebates> There's no asking or answering at all
ta__ has quit [Ping timeout: 240 seconds]
ta has joined #ruby
<Nilium> Questions/posts, replies/answers, comments/comments, votes/votes.
<MassDebates> More like "Yo we did this shit, do this with it and rate it thing"
<Nilium> It's a generic model.
<MassDebates> Oh, yeah
<MassDebates> there's definitely going to be replies and comments
<MassDebates> and votes
mlehrer has quit [Ping timeout: 276 seconds]
<MassDebates> no questions or answers though. It's not an app that helps you.
<Nilium> The language doesn't matter all that much on Android because there's pretty much only one way of doing anything, and it's all going to be Java-compatible-ish and run off of Dalvik, unless you make it a website.
<MassDebates> So is there any benefit to using Ruby at all?
Guest69 has joined #ruby
vuoto has quit [Remote host closed the connection]
<Nilium> Choosing a non-Java will, however, make life more difficult by virtue of there always being a case where you need to transform knowledge from space A to space B.
<Nilium> For Android?
<MassDebates> Yes
<Nilium> Or in general?
vuoto has joined #ruby
<MassDebates> btw thanks for spending the time and helping me
<Nilium> I don't think there's much benefit to using Ruby on Android.
<MassDebates> hope im not too frustrating
banisterfiend has joined #ruby
<MassDebates> But if I don't use Ruby, it'll be more difficult and less transversible to iOS, right?
<MassDebates> Because swiftC scares the shit out of me.
<Nilium> That's going to be true regardless.
<Nilium> RubyMotion isn't going to let you write an app once.
<MassDebates> what does it do?
<Nilium> It's a compiler.
<adaedra> If you're doing Ruby for cross-platform aspect, you're going the wrong way.
<MassDebates> Perfect! I needed to hear that after seeing http://www.rubymotion.com/img/rubymotion-factory.gif
<MassDebates> lol
<Nilium> RubyMotion is literally just 1) statically compiled Ruby and 2) some additional things for helping with Android and iOS development, but not both at once.
shinnya has joined #ruby
<Nilium> And I guess it does OS X, but it was experimental when I was using it for that.
vuoto has quit [Remote host closed the connection]
Sashimi has joined #ruby
submitnine has quit []
Guest69 is now known as mikeym
mikeym has quit [Changing host]
mikeym has joined #ruby
vuoto has joined #ruby
<MassDebates> Okay, so I can't just simply (1) Write Ruby (2) Run compile from RubyMotion for Android (3) Run 2nd compile from RubyMotion for iOS
<MassDebates> right?
<MassDebates> And fork it before step 2 for step 3
<Nilium> So, it's a cool project, but I find it cool more because I liken it to Rubinius even if that's not an accurate comparison in goals.
sumobob has joined #ruby
<Nilium> You still have to write Android- and iOS-specific code.
mitt3ns has joined #ruby
<Nilium> You are still going to have to know the difference between a view and cell in iOS and a layout and view in Android.
<Nilium> Etc. for miles.
<MassDebates> Fuck
tyang has joined #ruby
<MassDebates> Well I was right when I assumed this is gonna suck
dionysus69 has quit [Ping timeout: 265 seconds]
_joes___ has joined #ruby
<chrisseaton> And knowing the frameworks has always been the hard bit - I can write Java fine but I can't get my head around Android's libraries
<Nilium> I can get by alright in Android but I feel like that's stockholme syndrome.
<chrisseaton> And I know Objective C but not UIKit
<mitt3ns> Mornin
mitt3ns is now known as agent_white
<Nilium> Obj-C is a very cool language and I wish more people would appreciate it.
lifted has quit [Ping timeout: 265 seconds]
TvL2386 has quit [Remote host closed the connection]
<Nilium> Maybe not so much the C bits because even if I like C, that scares the hell out of people.
ftj has joined #ruby
AlexRussia has quit [Ping timeout: 258 seconds]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
zacts has joined #ruby
Spami has joined #ruby
panpainter has joined #ruby
vuoto has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
vuoto has joined #ruby
etetz has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
<darix> Nilium: even apple thought it was time for a new language
<Nilium> It gets a little hard to bolt things onto a language bolted onto C and keep everything compatible.
<adaedra> tbf, it's not because they try to replace it that it makes the old one bad.
teclator has joined #ruby
<Nilium> Obj-C's still good, but it's harder to evolve it.
smathy has joined #ruby
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
rodfersou is now known as rodfersou|lunch
rippa has joined #ruby
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
moneylotion has joined #ruby
griffindy has joined #ruby
edwinvdg_ has quit [Ping timeout: 255 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ekinmur has joined #ruby
edwinvdgraaf has joined #ruby
dminuoso has quit [Remote host closed the connection]
aufi has quit [Ping timeout: 244 seconds]
mikeym has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
gizmore has joined #ruby
daivyk has joined #ruby
alfiemax has joined #ruby
gizless has quit [Ping timeout: 265 seconds]
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
conta has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
the_drow has quit [Quit: This computer has gone to sleep]
bascht1 has joined #ruby
SnOooohwy has joined #ruby
pandaant has quit [Remote host closed the connection]
m_antis has joined #ruby
Pupeno has quit [Remote host closed the connection]
lifted has joined #ruby
Pupeno has joined #ruby
lifted has quit [Read error: Connection reset by peer]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Remote host closed the connection]
djbkd has joined #ruby
etehtsea has joined #ruby
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
LastWhisper____ has joined #ruby
SnOooohwy is now known as Snowy
the_drow has joined #ruby
synthroid has joined #ruby
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
Devalo_ has joined #ruby
LoneHerm_ has joined #ruby
djbkd has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 276 seconds]
SteenJobs has quit [Quit: SteenJobs]
the_drow has quit [Quit: This computer has gone to sleep]
Devalo has quit [Ping timeout: 258 seconds]
Pupeno has quit [Remote host closed the connection]
dionysus69 has joined #ruby
Beams has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
Pupeno has joined #ruby
nankyokusei has joined #ruby
dviola has joined #ruby
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
aryaching has quit []
aryaching has joined #ruby
pawnbox has quit [Remote host closed the connection]
rgtk has quit [Quit: Lost terminal]
platzhirsch has quit [Quit: WeeChat 1.4]
pokalyis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
SteenJobs has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 244 seconds]
dionysus69 has quit [Quit: dionysus69]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
mark_66 has quit [Quit: Leaving.]
edwinvdgraaf has quit [Ping timeout: 252 seconds]
PlasmaStar has joined #ruby
BackEndCoder has quit [Excess Flood]
wldcordeiro has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BackEndCoder has joined #ruby
ta_ has joined #ruby
Pupeno has quit [Remote host closed the connection]
rsampaio_ has joined #ruby
nettoweb has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dikaio has joined #ruby
dikaio has quit [Max SendQ exceeded]
cibs has quit [Ping timeout: 240 seconds]
tjohnson has joined #ruby
Es0teric has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
mistermocha has joined #ruby
PlasmaStar has quit [Ping timeout: 244 seconds]
cibs has joined #ruby
sumobob has quit [Ping timeout: 260 seconds]
ta_ has quit [Ping timeout: 255 seconds]
txdv has quit [Quit: WeeChat 1.6-rc1]
[Butch] has joined #ruby
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
lifted has joined #ruby
rsampaio_ has quit [Ping timeout: 255 seconds]
lifted has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 250 seconds]
Pupeno has quit [Remote host closed the connection]
rodferso1|lunch has joined #ruby
AzureStigma has joined #ruby
hobodave has joined #ruby
Pupeno has joined #ruby
Devalo_ has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
Lucky_ABA has joined #ruby
Devalo has joined #ruby
dogweather has joined #ruby
jsrn_ has quit [Quit: Leaving]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rodfersou|lunch has quit [Ping timeout: 258 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amclain has joined #ruby
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
ekinmur has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
LoneHerm_ has joined #ruby
panpainter has quit [Read error: Connection reset by peer]
_panpainter has joined #ruby
RegulationD has quit [Remote host closed the connection]
gingray has joined #ruby
dogweather has quit [Ping timeout: 252 seconds]
Devalo has quit [Ping timeout: 276 seconds]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aegis3121 has quit [Ping timeout: 264 seconds]
Moeh has joined #ruby
lupine has quit [Ping timeout: 250 seconds]
araujo_ has joined #ruby
leea has joined #ruby
<adaedra> !unban wugy
LoneHerm_ has quit [Ping timeout: 255 seconds]
DaniG2k has quit [Quit: leaving]
lupine has joined #ruby
araujo has quit [Ping timeout: 276 seconds]
dopamean_ has joined #ruby
araujo__ has joined #ruby
da3mon has joined #ruby
araujo_ has quit [Ping timeout: 276 seconds]
jaruga_____ has quit [Quit: jaruga_____]
jrafanie has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
synthroid has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
AlexRussia has joined #ruby
leea has joined #ruby
araujo__ has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
claudiuinberlin has quit []
Pisuke has quit [Excess Flood]
devbug has joined #ruby
Pisuke has joined #ruby
claudiuinberlin has joined #ruby
wugy has joined #ruby
wldcordeiro has quit [Ping timeout: 240 seconds]
mhib has joined #ruby
claudiuinberlin has quit [Client Quit]
senayar has quit []
edwinvdgraaf has joined #ruby
AzureStigma has quit [Ping timeout: 265 seconds]
edwinvdg_ has joined #ruby
Sashimi has joined #ruby
rodferso1|lunch is now known as rodfersou
pawnbox has joined #ruby
conta has joined #ruby
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pokalyis has joined #ruby
Devalo has joined #ruby
edwinvdgraaf has quit [Ping timeout: 240 seconds]
pwnd_nsfw has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
Es0teric has joined #ruby
pwnd_nsfw has quit [Remote host closed the connection]
ixti has joined #ruby
tyang has quit [Ping timeout: 255 seconds]
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
pwnd_nsfw has joined #ruby
pokalyis has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
lifted has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Ping timeout: 244 seconds]
govg has joined #ruby
mtkd has joined #ruby
zacstewart has joined #ruby
pawnbox has joined #ruby
lifted has quit [Read error: Connection reset by peer]
dunpeal has quit [Ping timeout: 240 seconds]
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has quit [Ping timeout: 265 seconds]
nettoweb has joined #ruby
nettoweb has quit [Max SendQ exceeded]
Coldblackice has joined #ruby
einarj has quit [Ping timeout: 244 seconds]
sumobob has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
lizard2010 has quit [Ping timeout: 250 seconds]
lifted has joined #ruby
shinnya has quit [Ping timeout: 258 seconds]
mg^ has quit [Quit: Leaving]
Sashimi has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lucky_ABA has quit [Read error: Connection reset by peer]
_joes___ has quit [Quit: leaving]
vuoto has quit [Ping timeout: 252 seconds]
sepp2k has quit [Ping timeout: 250 seconds]
dogweather has joined #ruby
mistermocha has quit []
GodFather has quit [Ping timeout: 276 seconds]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dunpeal has joined #ruby
wldcordeiro has joined #ruby
tomchapin has joined #ruby
tomchapin has quit [Client Quit]
duderonomy has joined #ruby
SteenJobs has joined #ruby
Madplatypus has joined #ruby
lizard2010 has joined #ruby
Eiam has joined #ruby
dogweather has quit [Ping timeout: 252 seconds]
dogweath_ has joined #ruby
Couch has quit [Ping timeout: 255 seconds]
SteenJobs has quit [Client Quit]
edwinvdg_ has quit [Ping timeout: 240 seconds]
ngscheur1 has joined #ruby
hk238 has joined #ruby
Uranio has joined #ruby
Silthias has joined #ruby
RegulationD has joined #ruby
Silthias1 has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
Snickers has quit [Ping timeout: 244 seconds]
sepp2k has joined #ruby
mozzarel1 is now known as mozzarella
synthroid has joined #ruby
LastWhisper____ has joined #ruby
lifted has quit [Read error: Connection reset by peer]
nitric has joined #ruby
firstdayonthejob has joined #ruby
jmignault has quit [Ping timeout: 240 seconds]
agit0 has joined #ruby
aegis3121 has joined #ruby
alfiemax has quit [Ping timeout: 244 seconds]
BTRE has quit [Ping timeout: 276 seconds]
whathappens has joined #ruby
Uranio has quit [Ping timeout: 250 seconds]
edwinvdgraaf has joined #ruby
jmignault has joined #ruby
Sashimi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
claudiuinberlin has joined #ruby
mhenrixon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jt__ has joined #ruby
m_antis has quit [Ping timeout: 250 seconds]
sepp2k has quit [Quit: Leaving.]
SteenJobs has joined #ruby
dikaio has joined #ruby
redpants has joined #ruby
flying has quit []
the_drow has joined #ruby
<MassDebates> I came in here earlier today, asking about Ruby and native mobile apps (iOS was touched upon, but Android was the focus)
<jt__> how can I exit the loop and returning true ?
<MassDebates> I need to ask more stuff
SeepingN has joined #ruby
<Mon_Ouie> jt__: 'break true'
<Mon_Ouie> Also you would be better of just using file.each_line.any?
<jt__> Mon_Ouie: ok, I'll do that, thanks
yosafbridge has quit [Quit: Leaving]
<jt__> Mon_Ouie: ah but I need see if the line start with "/home"
Snowy has quit [Remote host closed the connection]
<Mon_Ouie> Yes, Enumerable#any? allows you to check whatever you want
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lifted has joined #ruby
Akuma has joined #ruby
mhib has quit [Quit: Leaving]
<jt__> Mon_Ouie: isn't any? will check just the existence of item, no matter if it's on the begin,middle,end. I wanted it only to be true if line starts with /home
govg has quit [Ping timeout: 240 seconds]
Moeh has quit [Quit: Textual IRC Client: www.textualapp.com]
<Mon_Ouie> No, that's not what any? does
<Mon_Ouie> &ri Enumerable#any?
AlphaAtom has joined #ruby
ta_ has joined #ruby
nankyokusei has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
DevastatingDave has joined #ruby
hahuang65 has joined #ruby
DevastatingDave is now known as RiPuk
dogweath_ has quit [Ping timeout: 276 seconds]
edwinvdgraaf has quit [Ping timeout: 276 seconds]
replay has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
pokalyis has joined #ruby
dogweather has joined #ruby
suchness has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
Spami has quit [Client Quit]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
govg has joined #ruby
AlexRussia has quit [Ping timeout: 276 seconds]
pokalyis has quit [Client Quit]
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
djbkd has quit [Quit: My people need me...]
<jt__> Mon_Ouie: I think I got it. I changed it into this - f.each_line.any? { |line| line.start_with?("/home") }
Spami has joined #ruby
miqlas-H has joined #ruby
kirun has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
moneylotion has joined #ruby
spudowiar has joined #ruby
djbkd has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
dikaio has quit [Quit: Textual IRC Client: www.textualapp.com]
Kyhz has joined #ruby
rcvalle has joined #ruby
stoodfarback has quit [Ping timeout: 244 seconds]
the_drow has quit [Read error: Connection reset by peer]
JoshS has joined #ruby
the_drow has joined #ruby
stoodfarback has joined #ruby
vuoto has joined #ruby
synthroid has quit [Remote host closed the connection]
the_drow has quit [Read error: Connection reset by peer]
matp has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
the_drow has joined #ruby
Devalo has joined #ruby
BTRE has joined #ruby
the_drow_ has joined #ruby
da3mon has quit [Read error: Connection reset by peer]
the_drow has quit [Read error: Connection reset by peer]
yosafbridge has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
ec0 has joined #ruby
tyang has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
blackwind_123 has quit [Ping timeout: 258 seconds]
ziprar has joined #ruby
blackwind_123 has joined #ruby
the_drow_ has quit [Read error: Connection reset by peer]
the_drow__ has joined #ruby
mikecmpbll has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
spider-mario has joined #ruby
mosez has quit [Ping timeout: 244 seconds]
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
mosez has joined #ruby
daffy_duck_2 has joined #ruby
sneakers has joined #ruby
sneakers has quit [Read error: Connection reset by peer]
AndyBotwin has joined #ruby
weaksauce has quit [Ping timeout: 240 seconds]
jonadab has quit [Quit: leaving]
aegis3121 has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
aegis3121 has joined #ruby
daffy_duck has quit [Ping timeout: 255 seconds]
araujo has joined #ruby
Akuma has quit [Quit: So long sukkas!]
iamb has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
waht has joined #ruby
Beast has quit [Quit: Leaving]
ramfjord has joined #ruby
jonadab has joined #ruby
conta has quit [Quit: conta]
govg has quit [Ping timeout: 250 seconds]
Silthias has quit [Quit: Leaving.]
m_antis has joined #ruby
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
the_drow__ has quit [Quit: This computer has gone to sleep]
the_drow__ has joined #ruby
tdy has joined #ruby
Pip has joined #ruby
<Pip> So when will Ruby 3 out?
jackjackdripper has quit [Quit: Leaving.]
aegis3121 has quit [Ping timeout: 276 seconds]
devbug has quit [Read error: Connection reset by peer]
<bougyman> Pip: when it's ready
BackEndCoder has quit [Excess Flood]
angrycat has joined #ruby
<Pip> bougyman, When will it be ready?
AlexRussia has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
<bougyman> Pip: impossible to give an exact or even estimated time for that.
whathappens has joined #ruby
<Pip> Okay
<angrycat> Hi, is there a compiler available for Ruby. Ruby to machine code?
BackEndCoder has joined #ruby
<baweaver> Look into Crystal. Different language, but based on Ruby. (jhass)
Karpuragauram has quit [Quit: Ex-Chat]
Guest69 has joined #ruby
lifted has quit [Ping timeout: 258 seconds]
<Pip> Matz talked about Crystal during the RubyConf 2016 keynote in India.
RiPuk has quit [Ping timeout: 258 seconds]
claudiuinberlin has quit [Remote host closed the connection]
spudowiar has quit [Quit: gtg]
RiPuk has joined #ruby
<angrycat> Ok thanks
the_drow__ is now known as the_drow
Guest69 has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 244 seconds]
Pip has quit [Quit: Leaving]
ngw has quit [Quit: Connection closed for inactivity]
machinewar has joined #ruby
RiPuk has quit [Ping timeout: 240 seconds]
m_antis has quit [Quit: Leaving]
<machinewar> has anyone used rspec expect(obj).to receive(:msg) where obj overrides method missing? The test fails since obj doens't implement the method, but I want to make sure it does get sent that message
m_antis has joined #ruby
RiPuk has joined #ruby
Jayson_Virissimo has joined #ruby
agent_white has quit [Quit: brb in a bit]
<Mon_Ouie> Have you properly implemented #respond_to_missing? in that object?
claudiuinberlin has joined #ruby
<machinewar> hmm its a Nokogiri::Builder instance so not sure haven't looked at the source
Jayson_Virissimo has quit [Client Quit]
elastix has joined #ruby
<machinewar> the problem is you don't know the methods being called until runtime
<Mon_Ouie> Ah. I'm not sure how RSpec implements mocks, but when an object implements some methods through #method_missing, #respond_to_missing? needs to be redefined for methods like #respond_to? and Object#method to work properly
aegis3121 has joined #ruby
[Butch]_ has joined #ruby
<machinewar> Mon_Ouie: ah makes sense thanks
angrycat has quit [Ping timeout: 264 seconds]
devbug has joined #ruby
dogweather has quit [Ping timeout: 252 seconds]
mosez has quit [Ping timeout: 252 seconds]
mosez has joined #ruby
[Butch] has quit [Ping timeout: 244 seconds]
[Butch]_ is now known as [Butch]
devbug_ has joined #ruby
govg has joined #ruby
AlexRussia has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
yardenbar has joined #ruby
cdg has quit [Remote host closed the connection]
pokalyis has joined #ruby
devbug__ has joined #ruby
devbug has quit [Ping timeout: 276 seconds]
nicoulaj has joined #ruby
m_antis has quit [Ping timeout: 255 seconds]
devbug_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
Harry_ has joined #ruby
m_antis has joined #ruby
nikivi has quit [Quit: irc]
<Harry_> I have a polymorphic table and I am not sure the best way to test it's model in rspec.
<Harry_> anyone have any ideas?
tdy has quit [Ping timeout: 244 seconds]
<Harry_> this is what I have so far
<Harry_> let(:user_x){FactoryGirl.create(:user)} let(:post_x){FactoryGirl.create(:post)} it "Create an image with valid attributes for a user" do user_x.image = Image.create(photo: File.new(Rails.root.join('spec', 'fixtures', "binaries", "dog_1.jpg"))) user_image = Image.find(user_x.image.id) expect(user_image).to be_valid expect(user_x.image.photo_file_name).to eq("dog_1.jpg") expect(user_x.image.photo_content_type).
ta has quit [Ping timeout: 250 seconds]
jt__ has quit [Ping timeout: 264 seconds]
dogweather has joined #ruby
elifoster has joined #ruby
alfiemax has joined #ruby
machinewar has quit [Remote host closed the connection]
dminuoso has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
nikivi has joined #ruby
vuoto has quit [Remote host closed the connection]
m_antis has quit [Quit: Leaving]
Dimik has joined #ruby
vuoto has joined #ruby
m_antis has joined #ruby
claudiuinberlin has joined #ruby
waht has quit [Quit: ircN 8.00 for mIRC (20100904) - www.ircN.org]
jaguarmagenta has joined #ruby
Evan- has quit [Quit: Oh shit the geek died!]
aryaching has quit [Remote host closed the connection]
symm- has joined #ruby
m_antis has quit [Client Quit]
m_antis has joined #ruby
tyang has quit [Ping timeout: 244 seconds]
Evan- has joined #ruby
m_antis has quit [Max SendQ exceeded]
jaguarmagenta has quit [Ping timeout: 264 seconds]
bob434 has joined #ruby
m_antis has joined #ruby
synthroid has joined #ruby
whathappens has quit [Remote host closed the connection]
tvw has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
suchness has quit [Read error: Connection reset by peer]
tvw has joined #ruby
the_drow_ has joined #ruby
the_drow has quit [Disconnected by services]
the_drow_ is now known as the_drow
marxarelli has joined #ruby
m_antis has quit [Remote host closed the connection]
m_antis has joined #ruby
dogweather has quit [Ping timeout: 258 seconds]
redpants has quit [Ping timeout: 276 seconds]
tdy has joined #ruby
last_staff has joined #ruby
shinnya has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
tyang has joined #ruby
flying has joined #ruby
dogweather has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
symm- has quit [Quit: Leaving...]
jackjackdripper1 has joined #ruby
LastWhisper____ has joined #ruby
coolboy has quit [Ping timeout: 264 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swills has quit [Ping timeout: 250 seconds]
waht has joined #ruby
lifted has joined #ruby
ta has joined #ruby
<flying> how can I print a elemtn of a array?
the_drow has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 240 seconds]
rodfersou is now known as rodfersou|afk
the_drow has joined #ruby
lifted has quit [Read error: Connection reset by peer]
<musl_> cd /home/mhix
<musl_> weechat-curses
<SeepingN> bzzz
<Papierkorb> inefficient! type `cd ~mhix` instead.
<Papierkorb> flying: print? where on for what purpose?
symm- has joined #ruby
yardenbar has quit [Ping timeout: 276 seconds]
<flying> I have to add the element of a array in a puppet template
<flying> array1[1] should select the second element of the array correct?
<Papierkorb> yes
<flying> why I have a strange number?
<Papierkorb> "strange number"?
<flying> if I try array1[2] it select the third element
<Papierkorb> so?
tyang has quit [Ping timeout: 244 seconds]
<flying> if I try array1[idx] where idx is an index of another array it prints a strange number
<flying> like 46
<matthewd> flying: The first element is array1[0]
<musl_> Papierkorb: Sorry for the mt. :/
musl_ has quit [Quit: WeeChat 1.4]
musl has joined #ruby
m_antis has quit [Ping timeout: 255 seconds]
<matthewd> flying: Either array1 doesn't contain what you think it does, or idx is not what you think it is
Spami has joined #ruby
Spami has quit [Client Quit]
<flying> can I know what is the type in an array?
<flying> int, char, etc etc
jonadab has quit [Read error: No route to host]
nankyokusei has joined #ruby
<Mon_Ouie> Each element can be an instance of a different class
replay has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
<matthewd> flying: `p array1` may tell you what you need to know
<matthewd> flying: Are you using a particularly ancient version of ruby?
redpants has joined #ruby
<flying> I'm using the template in puppet
<matthewd> ?puppet
<ruby[bot]> Please join #puppet for help with it.
Madplatypus has quit [Quit: Connection closed for inactivity]
nankyokusei has quit [Ping timeout: 264 seconds]
eljimbo has quit [Read error: Connection reset by peer]
byteflame has joined #ruby
shellie_ has quit [Remote host closed the connection]
<SeepingN> array1[idx].class
malconis has joined #ruby
redpants has quit [Ping timeout: 264 seconds]
claudiuinberlin has quit [Remote host closed the connection]
jenrzzz has joined #ruby
claudiuinberlin has joined #ruby
eljimbo has joined #ruby
wugy has quit []
claudiuinberlin has quit [Remote host closed the connection]
bascht1 has quit [Quit: WeeChat 1.5]
andersoldahl has joined #ruby
lifted has joined #ruby
lifted has quit [Read error: Connection reset by peer]
andersoldahl has quit [Client Quit]
magikid has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Vingador has quit [Ping timeout: 258 seconds]
Es0teric has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
ledestin has joined #ruby
Es0teric has joined #ruby
lifted has joined #ruby
dogweather has quit [Ping timeout: 250 seconds]
nitric has quit [Quit: quit]
Devalo has joined #ruby
pawnbox has quit [Remote host closed the connection]
tyang has joined #ruby
Puffball has quit [Remote host closed the connection]
pawnbox has joined #ruby
nitric has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
byteflame has quit [Ping timeout: 260 seconds]
rsampaio_ has joined #ruby
s2013 has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
ta has joined #ruby
pwnd_nsfw` has joined #ruby
ta_ has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
aegis3121 has joined #ruby
pwnd_nsfw has quit [Ping timeout: 255 seconds]
jmignault has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
byteflame has joined #ruby
nitric has quit [Quit: quit]
Snowy has joined #ruby
_whitelogger has joined #ruby
etetz has quit [Read error: Connection reset by peer]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
etetz has joined #ruby
coolboy has joined #ruby
etetz has quit [Read error: Connection reset by peer]
nitric has joined #ruby
etetz has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Coldblackice has quit [Ping timeout: 276 seconds]
dionysus69 has joined #ruby
nikivi has quit [Quit: irc]
synthroid has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
<flying> hi guys I'm using ruby 1.8 ... I have a String and I need to print only one element ... how can I do that?
<flying> string1[1] doesn't work
synthroid has quit [Client Quit]
pinky has joined #ruby
Devalo has joined #ruby
<dminuoso> flying: It works. just not as you expected.
mustmodify__ has joined #ruby
<flying> hum
<matthewd> Strings don't have elements; if you mean a character, you probably want string1[n, 1]
the_drow has joined #ruby
rodfersou|afk has quit [Quit: leaving]
<matthewd> (where `n` is the index of the character you want, and `1` is constant)
blackgoat has joined #ruby
unshadow has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
rodfersou has joined #ruby
<mustmodify__> I'm running into "no _dump_data is defined for class StringIO" ... I assume this is a new-version-of-ruby issue... I'm testing that theory out now. But can anyone give me a push?
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
<matthewd> flying: There aren't a lot of good reasons to be extracting characters from a string by index, though, so it might help if you explain what you really want to do
dionysus69 has quit [Ping timeout: 258 seconds]
<unshadow> Hi All, for those of you who didn't see the former message. We have began with a project to implement the RDP protocol in pure Ruby, the project is MIT, you can find it here: https://github.com/Safe-T/rdp-rb
<flying> yes I'm working on an old project where there is a string that contains few IPs... like xxx.xxx.xxx.xxx
<flying> each of this IP is an element of that string
<dminuoso> flying: look for String#unpack
<flying> and I need to print only one "element"
<dminuoso> flying: also String#split
<dminuoso> And Array#pack
Devalo has quit [Ping timeout: 264 seconds]
<matthewd> And IPAddr.ntop
jenrzzz_ has joined #ruby
<matthewd> well new_ntoh, I guess
replay has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
minimalism has joined #ruby
<matthewd> mustmodify__: You're trying to marshal a StringIO; don't do that
v0n is now known as vdl
vuoto has quit [Quit: Lost terminal]
jenrzzz has quit [Ping timeout: 244 seconds]
the_drow has joined #ruby
magikid has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
aries_liuxueyang has quit [Ping timeout: 250 seconds]
aries_liuxueyang has joined #ruby
Lucky_ABA has joined #ruby
redpants has joined #ruby
gizmore has quit [Remote host closed the connection]
last_staff has quit [Quit: goes moo moo]
wrkrcoop has joined #ruby
<wrkrcoop> anyone got any code that recursively reads all files in a directory?
<dminuoso> wrkrcoop: Yes. "ag stuff"
<dminuoso> (:
<wrkrcoop> dminuoso: can u send me alink
<wrkrcoop> i want to make a cool tool
<Papierkorb> wrkrcoop: google the_silver_searchr
MassDebates has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<Papierkorb> *searcher
<wrkrcoop> ok
WSO has quit [Quit: Connection closed for inactivity]
<wrkrcoop> interesting thanks
<Papierkorb> for `ag`. No idea if it helps you, but you'll probably enjoy it regardless :P
<wrkrcoop> i want to make a tool that creates a dependency tree of all methods and calsses in a repo
<wrkrcoop> no i want a ruby file
the_drow has quit [Read error: Connection reset by peer]
<Papierkorb> wrkrcoop: 1) Dir["lib/**/*.rb"] 2) `parser` gem 3) Something to draw a pretty graph out of that
<matthewd> wrkrcoop: Dir.glob('**/*').map {|f| File.read(f) if File.file?(f) }
<dminuoso> wrkrcoop: And note: silversearcher is absolutely ridiculously fast.
<wrkrcoop> Papierkorb: :d
Chris3y_RubyNewb has quit [Read error: Connection reset by peer]
<baweaver> I have a hard time believing someone else hasn't already done this.
<baweaver> have you looked into preexisting solutions?
the_drow has joined #ruby
<dminuoso> matthewd: there is something amusing about File.file?(f)
<Papierkorb> Too bad there's no Pathname.glob()
leea has joined #ruby
<dminuoso> wrkrcoop: %x{ag "^class"}
<dminuoso> Ruby done!
* dminuoso hides and goes to bed
* Papierkorb throws a pillow at dminuoso
Vivekananda has quit [Read error: Connection reset by peer]
<dminuoso> Papierkorb: thank you.
<dminuoso> needed that\
tyang has quit [Ping timeout: 244 seconds]
the_drow has quit [Read error: Connection reset by peer]
swills has joined #ruby
<wrkrcoop> matthewd: whats that
Spami has joined #ruby
the_drow has joined #ruby
Vivekananda has joined #ruby
<matthewd> wrkrcoop: Seriously?
claudiuinberlin has quit []
<matthewd> > i want to make a tool that creates a dependency tree of all methods and calsses in a repo
<wrkrcoop> that does it?
<wrkrcoop> so i can just feed it my repo?
<matthewd> > [link to something called `Parser#classes_in(filename)`]
<matthewd> > whats that?
Spami has quit [Client Quit]
<matthewd> It won't magic your problem away, but it's going to be a pretty reasonable starting point
_joes___ has joined #ruby
<matthewd> It's doing the "find all the classes" (but not methods) thing that you want.. it just has a slightly different goal once its extracted said data
_joes___ has quit [Client Quit]
_joes___ has joined #ruby
Coldblackice has joined #ruby
vdl has quit [Quit: WeeChat 1.5]
SeepingN has quit [Read error: Connection reset by peer]
<matthewd> wrkrcoop: Have fun with this part, though: "a list of which scopes it might be defined in [depending on runtime details]" :/
postmodern has joined #ruby
<wrkrcoop> thanks :}
_joes___ has quit [Client Quit]
SeepingN has joined #ruby
Spami has joined #ruby
Authenticator has joined #ruby
jaguarmagenta has joined #ruby
unshadow has quit [Ping timeout: 250 seconds]
<Authenticator> I'm using Mechanize and I can't get it to either use a custom ca bundle, OR not verify the self-signed cert.
leea has quit [Ping timeout: 244 seconds]
the_drow has quit [Read error: Connection reset by peer]
vdl has joined #ruby
unshadow has joined #ruby
_joes___ has joined #ruby
the_drow has joined #ruby
<toretore> ?code Authenticator
<ruby[bot]> Authenticator: We can't help you without your code, please post it to https://gist.github.com
_joes___ has quit [Client Quit]
tyang has joined #ruby
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
_joes___ has joined #ruby
AzureStigma has joined #ruby
antgel has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
dminuoso has quit [Ping timeout: 255 seconds]
mhenrixon has joined #ruby
Kyhz has quit [Ping timeout: 258 seconds]
jaguarmagenta has quit [Ping timeout: 264 seconds]
BackEndCoder has quit [Excess Flood]
wrkrcoop has left #ruby [#ruby]
BackEndCoder has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
eljimbo has joined #ruby
duncannz has quit [Max SendQ exceeded]
whathappens has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
duncannz has joined #ruby
rodfersou has quit [Quit: leaving]
SeepingN_ has quit [Ping timeout: 244 seconds]
_joes___ has quit [Client Quit]
whathappens has quit [Read error: Connection reset by peer]
the_drow has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
ShinobiSX has joined #ruby
redpants has quit [Ping timeout: 244 seconds]
whathappens has quit [Read error: Connection reset by peer]
antgel has quit [Ping timeout: 244 seconds]
auxbuss has joined #ruby
Kyhz has joined #ruby
<ShinobiSX> hello all
whathappens has joined #ruby
mustmodify__ has left #ruby [#ruby]
whathappens has quit [Read error: Connection reset by peer]
nicoulaj has quit [Remote host closed the connection]
<zenspider> manageiq? now you have 2 problems! :P
<Authenticator> toretore: Here's the gist. You can see what I've tried. https://gist.github.com/anonymous/ae720e3233faaf0d76cdbd7789883b0f
whathappens has joined #ruby
cdg has joined #ruby
xpitr has quit [Ping timeout: 276 seconds]
cdg has quit [Remote host closed the connection]
the_drow has joined #ruby
machinewar has joined #ruby
cdg has joined #ruby
<Authenticator> I can't even get it to not check the cert, let alone use the right CA bundle and verify it.
<Authenticator> That code works against a server with an externally signed CA though.
<Authenticator> s/CA/cert/
xpitr has joined #ruby
xpitr has quit [Changing host]
xpitr has joined #ruby
<zenspider> matthewd: I would rewrite that.
_joes_|2 has joined #ruby
flying has quit []
workmad3 has joined #ruby
djbkd has quit [Remote host closed the connection]
ta_ has joined #ruby
<matthewd> It was originally supposed to be a quick short-term hack.. but isn't that always the way.
auxbuss has quit [Quit: I'm gone.]
axl_ has joined #ruby
ShinobiSX has left #ruby [#ruby]
axl_ has quit [Client Quit]
the_drow has quit [Read error: Connection reset by peer]
<matthewd> zenspider: Do you mean because the code looks like ass (which it absolutely does), or because it's taking a fundamentally wrong/inadvisable/inferior approach?
ta_ has quit [Ping timeout: 250 seconds]
the_drow has joined #ruby
ldnunes has quit [Quit: Leaving]
Sashimi has joined #ruby
<zenspider> 3564.6: CollapsedInitialMigration#up ./db/migrate/20130923182042_collapsed_initial_migration.rb:6
_joes_|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<zenspider> damn... that's _amazing_
axl_ has joined #ruby
axl_ has quit [Client Quit]
machinewar has quit [Remote host closed the connection]
<zenspider> matthewd: fundamentally wrong approach. Much easier / cleaner to write using sexp_processor
Vile` has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
the_drow has quit [Read error: Connection reset by peer]
byteflame has quit [Ping timeout: 244 seconds]
<zenspider> 559414.6: flog total 15.7: flog/method average 303 lines long. absolutely an utter mess
<zenspider> wow
stoodfarback has quit [Quit: WeeChat 1.5]
bob434 has joined #ruby
<zenspider> oops. I mixed my infos: 1024.2: ApplicationController::Filter#exp_changed app/controllers/application_controller/filter.rb:149 is 303 lines long and _amazing_
<zenspider> I should finally do an analysis / showdown between manageiq and canvas' app
the_drow has joined #ruby
etetz has quit [Remote host closed the connection]
<matthewd> Yeah, all of ApplicationController is pretty.. intense
etetz has joined #ruby
etetz has quit [Read error: Connection reset by peer]
etetz has joined #ruby
troulouliou_div2 has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
matp has joined #ruby
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elifoster has quit [Quit: tienda]
RiPuk has quit [Ping timeout: 255 seconds]
yardenbar has joined #ruby
mhenrixon has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramortegui has quit [Quit: Ex-Chat]
the_drow has quit [Read error: Connection reset by peer]
Vile` has quit [Read error: Connection reset by peer]
slackbotgz has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
djbkd has joined #ruby
jackjackdripper has joined #ruby
nankyokusei has joined #ruby
mooru has joined #ruby
Guest43 has joined #ruby
Guest43 has quit [Changing host]
Guest43 has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
Pumukel has quit [Remote host closed the connection]
Guest43 is now known as Rufus
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
the_drow has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
jackjackdripper has quit [Quit: Leaving.]
RiPuk has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
yardenbar has quit [Ping timeout: 276 seconds]
xapak_ has joined #ruby
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
xapak_ is now known as KaOSoFt
KaOSoFt has quit [Changing host]
KaOSoFt has joined #ruby
KaOSoFt has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
Vivekananda has quit [Quit: Leaving]
meth has joined #ruby
kirun has quit [Quit: Konversation terminated!]
Vingador has joined #ruby
Vingador has quit [Remote host closed the connection]
whathappens has joined #ruby
WSO has joined #ruby
dopamean_ has quit [Quit: WeeChat 1.3]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
hahuang61 has quit [Ping timeout: 276 seconds]
dminuoso has joined #ruby
<zenspider> matthewd: you're being far too kind.
hahuang61 has joined #ruby
<matthewd> I'm kind because I know they know, and are slowly working on making it better -- though admittedly most of the work so far (e.g., stuff I was working on) was focused more on the model layer
SeepingN has joined #ruby
Devalo has joined #ruby
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
etetz has quit [Remote host closed the connection]
<matthewd> Now instead of legacy code in a modern Rails app, I have neat code in legacy Rails apps (and modern Rails apps)... and sweet sweet predictable callbacks everywhere :D
<SeepingN> sweet predictable callbacks, Batman. What was that?
<zenspider> they know... but they're (imho) not actually _that_ dedicated to make it better. I've been eyeballing that app for years now.
spudowiar has joined #ruby
<pinky> hmm i must be missing something, is there something just like values_at but i want the keys and values, to use along with each_pair
<zenspider> the amount you could clean up with quick and obvious refactorings is staggering... completely letting alone actually fixing the architecture
<zenspider> pinky: you have a list of keys and you want the values paired up?
unshadow has quit [Ping timeout: 276 seconds]
dminuoso has quit [Ping timeout: 250 seconds]
<pinky> yeah i have an array of keys
<zenspider> keys.map { |k| [k, h[k]] }
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Devalo has quit [Ping timeout: 260 seconds]
<pinky> ah ya that would work, i guess thats just as efficent as values_at :) thanks!
<pinky> i realized after writing this nice thing using values_at that i needed the key too for something else :(
<zenspider> keys.zip(hash.values_at(keys))
<zenspider> either one
<zenspider> or seattle-style: keys.zip hash.values_at keys
ramfjord_ has joined #ruby
gingray has quit [Ping timeout: 276 seconds]
<pinky> hmm actually not sure now.. i have: nid_hn.values_at(*nid_hn.keys.map(&:to_i).to_set.difference(nodeids.to_set).map(&:to_s)).each { |i| ... }
<pinky> so kinda crazy, i wanted to just convert that to where i have |k,v| rather than just |i|
<pinky> i am new to ruby, mainly done perl ... really enjoying ruby tho
slackbotgz has quit [Remote host closed the connection]
NetSage has joined #ruby
ReK2 has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 244 seconds]
ReK2 has joined #ruby
byteflame has joined #ruby
tyang has quit [Read error: Connection reset by peer]
<baweaver> >> [1,2,3] - [2,3]
<ruby[bot]> baweaver: # => [1] (https://eval.in/633576)
<baweaver> >> [1,2,3,1].uniq - [2,3]
<ruby[bot]> baweaver: # => [1] (https://eval.in/633578)
KaOSoFt has left #ruby [#ruby]
biberu has quit []
devbug__ has quit [Read error: Connection reset by peer]
smathy has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
ramfjord_ has quit [Ping timeout: 252 seconds]
magikid has joined #ruby
devbug has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
Dimik has quit [Ping timeout: 244 seconds]
chestnutpie has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
jphase has quit [Ping timeout: 260 seconds]
ChiefAlexander has quit [Quit: Leaving...]
firstdayonthejob has quit [Quit: WeeChat 1.5]
Lucky_ABA has quit [Read error: Connection reset by peer]
<toretore> Authenticator: sorry was afk. did you try just setting ca_file ?
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firstdayonthejob has joined #ruby
elastix has quit [Quit: elastix]
<zenspider> pinky: you might want to use local variables to make your code more readable / maintainable
troulouliou_div2 has quit [Ping timeout: 276 seconds]
SteenJobs has quit [Quit: SteenJobs]
Vivekananda has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
mtkd has joined #ruby
jgt2 has quit [Ping timeout: 276 seconds]
firstdayonthejob has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
ramfjord has quit [Ping timeout: 276 seconds]
SteenJobs has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
SteenJobs has quit [Client Quit]
twistedpixels has quit [Quit: ZNC - http://znc.in]
smathy has joined #ruby
twistedpixels has joined #ruby
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
ramfjord has joined #ruby
JoshS has quit [Ping timeout: 258 seconds]
troulouliou_div2 has joined #ruby
whathapp_ has joined #ruby
whathappens has quit [Ping timeout: 244 seconds]
LambdaSix has quit [Ping timeout: 255 seconds]
LiquidIn1ect has quit [Ping timeout: 265 seconds]
LambdaSix has joined #ruby
ta_ has joined #ruby
LiquidInsect has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
Vingador has joined #ruby
Pumukel has joined #ruby
ta has quit [Ping timeout: 244 seconds]
tvw has quit [Remote host closed the connection]
hobodave has quit [Ping timeout: 244 seconds]
colegatron_origi has joined #ruby
whathappens has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
whathapp_ has quit [Read error: Connection reset by peer]
Lucky_ABA has joined #ruby
colegatron has quit [Ping timeout: 240 seconds]
magikid has quit [Quit: Leaving]
mikecmpbll has joined #ruby
Pumukel has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Client Quit]
whathappens has quit [Read error: Connection reset by peer]
BackEndCoder has quit [Excess Flood]
BackEndCoder has joined #ruby
whathappens has joined #ruby
jphase has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
cdg has quit [Ping timeout: 276 seconds]
RegulationD has quit [Remote host closed the connection]
sand-bird has joined #ruby
jaguarmagenta has joined #ruby
blackwell has quit [Ping timeout: 252 seconds]
triangles has joined #ruby
blackwell has joined #ruby
ta has joined #ruby
mooru has quit [Remote host closed the connection]
nettoweb has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
byteflame has quit [Ping timeout: 258 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
ta has quit [Ping timeout: 255 seconds]
bob434 has joined #ruby
smathy has quit [Ping timeout: 240 seconds]
byteflame has joined #ruby
Vingador has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 244 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
yuki_is_bored has quit [Remote host closed the connection]
arnonhongklay has joined #ruby
smathy has joined #ruby
sand-bird has quit [Ping timeout: 252 seconds]
binaryplease1 has joined #ruby
arnonhongklay has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
monoprotic has quit [Read error: Connection reset by peer]
ta has joined #ruby
monoprotic has joined #ruby
binaryplease has quit [Ping timeout: 265 seconds]
smathy has quit [Client Quit]
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rcvalle has quit [Quit: rcvalle]
ta_ has quit [Ping timeout: 260 seconds]
Azure has joined #ruby
Snowy has quit [Remote host closed the connection]
smathy has joined #ruby
saneax-_-|AFK is now known as saneax
binaryplease1 is now known as binaryplease
rkazak has joined #ruby
Snowy has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
marr has quit [Ping timeout: 244 seconds]
tvon[laptop] has joined #ruby
blaxter has quit [Client Quit]
Snowy has quit [Remote host closed the connection]
whathappens has joined #ruby
nankyokusei has joined #ruby
bruce_lee has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
smathy has joined #ruby
agent_white has quit [Quit: brb]
whathappens has quit [Quit: Leaving...]
wldcordeiro has quit [Ping timeout: 265 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 240 seconds]
koooge has joined #ruby
ss_much has joined #ruby
aegis3121 has joined #ruby
Rufus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
ekinmur has joined #ruby
aries_liuxueyang has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
Snowy has joined #ruby
waht has quit [Ping timeout: 244 seconds]
jonadab has joined #ruby
Es0teric has joined #ruby
ekinmur has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
sumobob has quit [Remote host closed the connection]
przemoskPL has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
Pumukel has joined #ruby