apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
pandaant has joined #ruby
jmbrown412 has quit [Remote host closed the connection]
jmbrown412 has joined #ruby
zoo-zed has quit [Quit: Textual IRC Client: www.textualapp.com]
ursooperduper has joined #ruby
startupality has quit [Client Quit]
jonr22 has quit [Ping timeout: 264 seconds]
zcreative has joined #ruby
iamjarvo has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
mikepack has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has quit [Remote host closed the connection]
sylvanica has joined #ruby
terrellt has quit [Ping timeout: 240 seconds]
Photism has joined #ruby
dmyers has joined #ruby
jmbrown412 has quit [Ping timeout: 260 seconds]
lw has joined #ruby
pietr0 has quit [Quit: pietr0]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
InhalingPixels has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
danijoo has joined #ruby
x1337807x has joined #ruby
linojon has joined #ruby
weemsledeux is now known as weems|test
brandonshowers has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has quit []
FrankD has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
InhalingPixels has quit [Ping timeout: 240 seconds]
rodfersou has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<bricker`work> >> "{a123}".gsub(/([{}])/) { |m| "\\" + m }
<eval-in> bricker`work => "\\{a123\\}" (https://eval.in/181176)
<bricker`work> Man, that is confusing
<bricker`work> >> puts "{a123}".gsub(/([{}])/) { |m| "\\" + m }
<eval-in> bricker`work => \{a123\} ... (https://eval.in/181177)
mikecmpbll has quit [Quit: i've nodded off.]
<cy> bricker`work: looks complicated
<ari-_-e> bricker`work: what's confusing about it for you?
rodfersou has quit [Quit: Leaving]
Kricir has joined #ruby
<bricker`work> ari-_-e: it's confusing that you're trying to escape something, but then IRB is also escaping it, so it looks like your code isn't working
oso96_2000 is now known as oso|away
<ari-_-e> bricker`work: String#inspect adds the appropriate escaping
<ari-_-e> that shouldn't be surprising
<ari-_-e> "\{a123\}" wouldn't be correct, because that would imply that the braces are escaped
<ari-_-e> "\\{a123\\}" correctly shows that the backslashes are escapes
<bricker`work> indeed
<bricker`work> I understand it
<ari-_-e> *escaped
<bricker`work> it's just a little confusing
Kricir has quit [Ping timeout: 250 seconds]
maroloccio has quit [Quit: WeeChat 0.4.3]
<bzitzow> Are there any recommended courses I could take to dive right into TDD with RSpec?
<toertore> now try escaping \ in a string with a regex
aspiers has quit [Ping timeout: 245 seconds]
b00stfr3ak has quit [Ping timeout: 245 seconds]
sevvie has joined #ruby
zz_karupa is now known as karupa
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 240 seconds]
weems|test has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nerium has quit [Quit: nerium]
nanoyak has quit [Quit: Computer has gone to sleep.]
tkuchiki has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Takle has joined #ruby
oo_ has joined #ruby
tkuchiki has joined #ruby
beemo has joined #ruby
djbkd has quit [Remote host closed the connection]
joast has quit [Quit: Leaving.]
iamjarvo has joined #ruby
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
dawkirst has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
oo_ has quit [Remote host closed the connection]
djbkd has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
phutchin1 has quit [Ping timeout: 245 seconds]
Mon_Ouie has quit [Ping timeout: 255 seconds]
phutchins has joined #ruby
dawkirst has quit [Ping timeout: 250 seconds]
oo_ has joined #ruby
havenwood has joined #ruby
gkagan has joined #ruby
ramfjord has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
axsuul has joined #ruby
freerobby1 has quit [Quit: Leaving.]
fabrice31 has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
bearish has joined #ruby
oo_ has quit [Remote host closed the connection]
echooo has joined #ruby
ghostmoth has quit [Quit: ghostmoth]
sdwrage has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
dc_ has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
bearish has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Ping timeout: 246 seconds]
Kricir has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
bwilson has quit [Quit: bwilson]
Zenigor has joined #ruby
sparrovv has joined #ruby
SCHAAP137 has joined #ruby
philcrissman has joined #ruby
SCHAAP137 has quit [Client Quit]
SCHAAP137 has joined #ruby
oo_ has joined #ruby
sparrovv has quit [Ping timeout: 240 seconds]
gkagan has joined #ruby
xcv has quit [Remote host closed the connection]
SCHAAP137 has quit [Client Quit]
SCHAAP137 has joined #ruby
bricker`work has quit [Ping timeout: 240 seconds]
hellangel7 has joined #ruby
xcv has joined #ruby
philcrissman has quit [Ping timeout: 260 seconds]
bradleyprice has joined #ruby
MatthewsFace has quit [Quit: Leaving]
sevenseacat has joined #ruby
Zebroid has joined #ruby
oo_ has quit [Remote host closed the connection]
tylerkern has joined #ruby
oo_ has joined #ruby
RustyShackleford has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
oo__ has joined #ruby
xcv has quit [Remote host closed the connection]
nobitanobi has joined #ruby
darkness has joined #ruby
Zebroid has quit [Ping timeout: 244 seconds]
darkness is now known as Guest12011
IceDragon has joined #ruby
britneywright has joined #ruby
onso has joined #ruby
davispuh has quit [Ping timeout: 245 seconds]
hellangel7 has quit [Ping timeout: 260 seconds]
oo_ has quit [Ping timeout: 272 seconds]
kireevco has quit [Quit: Leaving.]
zeroNones has joined #ruby
jerius has joined #ruby
Cheezebox has quit [Remote host closed the connection]
RustyShackleford has quit [Ping timeout: 260 seconds]
<AlexRussia> hi folks!
Wolland has joined #ruby
onso has quit [Ping timeout: 240 seconds]
<nobitanobi> hihi
thams has joined #ruby
Wolland_ has joined #ruby
<AlexRussia> i found here doc's about JSON class.How i could make support my object in .to_json or JSON.generate?
Kricir has quit [Remote host closed the connection]
<ari-_-e> AlexRussia: add a #to_json method
onso has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
SCHAAP137 has quit [Remote host closed the connection]
freerobby has joined #ruby
geggam has quit [Ping timeout: 255 seconds]
yetanotherdave has quit [Ping timeout: 240 seconds]
coldkey has quit [Remote host closed the connection]
<ari-_-e> seems that JSON.generate does some really badly documented magic though
mikepack has joined #ruby
thams has quit [Quit: thams]
SCHAAP137 has joined #ruby
aspires has quit []
macclearich has quit [Quit: Lingo - http://www.lingoirc.com]
ramfjord has quit [Ping timeout: 245 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
threesixes has quit [Ping timeout: 240 seconds]
deric_skibotn has quit [Ping timeout: 245 seconds]
amclain has joined #ruby
threesixes has joined #ruby
Kricir has joined #ruby
ghr has joined #ruby
threesixes has quit [Client Quit]
toastynerd has joined #ruby
divi has joined #ruby
InhalingPixels has joined #ruby
DadoCe has joined #ruby
Guest12011 has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 264 seconds]
patrick99e99 has quit [Ping timeout: 240 seconds]
banister has joined #ruby
tokik has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
sevvie has quit [Quit: leaving]
tylerker1 has joined #ruby
melik has quit [Quit: Computer has gone to sleep.]
tylerker1 has quit [Client Quit]
tylerkern has quit [Quit: Textual IRC Client: www.textualapp.com]
tylerkern has joined #ruby
zcreative has quit [Quit: Computer has gone to sleep.]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_reset has joined #ruby
jottr_ has joined #ruby
zcreative has joined #ruby
nobitanobi has quit [Remote host closed the connection]
zeroNones has joined #ruby
alpha123 has joined #ruby
tokik_ has joined #ruby
tokik has quit [Ping timeout: 250 seconds]
malkomalko has quit []
chipotle has joined #ruby
reset has quit [Ping timeout: 255 seconds]
toastynerd has quit [Remote host closed the connection]
_reset has quit [Ping timeout: 244 seconds]
jottr_ has quit [Ping timeout: 245 seconds]
zcreative has quit [Ping timeout: 240 seconds]
axwheeler has joined #ruby
axwheeler is now known as jalbbss
freerobby has quit [Quit: Leaving.]
fold has quit [Ping timeout: 260 seconds]
joejoe_ has joined #ruby
PanPan has joined #ruby
goshdarnyou has quit []
goshdarnyou has joined #ruby
jayalb has joined #ruby
<joejoe_> hey jayalb
root3d has quit [Remote host closed the connection]
sylvanica has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
InhalingPixels has quit []
tenseiten has joined #ruby
Kricir has joined #ruby
earthquake has joined #ruby
crdprink2 has joined #ruby
jalbbss is now known as axwheeler
seitensei has quit [Ping timeout: 240 seconds]
crdpink has quit [Ping timeout: 250 seconds]
axwheeler has left #ruby [#ruby]
joejoe_ has quit [Quit: Page closed]
klmlfl has quit [Quit: klmlfl]
axsuul has quit [Read error: Connection reset by peer]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
skysploit has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
icole has quit [Ping timeout: 264 seconds]
onso has quit [Ping timeout: 264 seconds]
gkagan has joined #ruby
jamesfordummies has joined #ruby
wallerdev has quit [Quit: wallerdev]
Zebroid has joined #ruby
tokik_ has quit [Quit: leaving]
lw has quit [Quit: s]
saarinen has quit [Quit: saarinen]
gkagan has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby
tokik has joined #ruby
jayalb has quit [Remote host closed the connection]
iigihu has joined #ruby
<iigihu> helloall, i am having problems with string scrub: http://pastebin.com/pjFTZcDa
tylerkern has quit [Quit: leaving]
<iigihu> it says method not found
tylerkern has joined #ruby
rezzack has quit [Quit: Leaving.]
Zebroid has quit [Ping timeout: 260 seconds]
iteratorP has quit [Remote host closed the connection]
axsuul has joined #ruby
djbkd has quit [Quit: My people need me...]
iteratorP has joined #ruby
dorei has quit []
<jamesfordummies> iigihu: what version of ruby are you using
wallerdev has quit [Client Quit]
<iigihu> ruby 2.0.0p481
luckyruby has quit [Remote host closed the connection]
<jamesfordummies> try 2.1 :)
Aranshada|W has joined #ruby
<havenwood> iigihu: or the string-scrub gem
<iigihu> vi
luckyruby has joined #ruby
<iigihu> thanks
freerobby has joined #ruby
yfeldblu_ has joined #ruby
yfeldblu_ has quit [Read error: Connection reset by peer]
TorpedoSkyline has joined #ruby
yfeldblu_ has joined #ruby
<AlexRussia> ari-_-e: lol, badly documented magic....sounds fun :D
<AlexRussia> ari-_-e: ty
geggam has joined #ruby
<AlexRussia> ari-_-e: #to_json should return supported JSON object, yep
<AlexRussia> ari-_-e: ?
<AlexRussia> ari-_-e: like string, array, hash, number, nil....
<ari-_-e> AlexRussia: it should return a string json in it
<AlexRussia> ari-_-e: ou, lol
centrx has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<ari-_-e> I'd recommend constructing a ruby object that supports to_json and then just return the result of calling #to_json on that
<ari-_-e> AlexRussia: JSON is a serialization - ruby types that are like the types that can be encoded in json are not json objects
<ari-_-e> the same is true in javascript
<AlexRussia> ari-_-e: yep
goodenough has joined #ruby
fold has joined #ruby
Kricir has quit [Remote host closed the connection]
krz has joined #ruby
<AlexRussia> hm
<AlexRussia> somebody know what is rangel?
<benzrf> are there any payment services that do things like handle cancellation and switching cards on their end and just tell your app whether a particular id is paying or not
Kricir has joined #ruby
<benzrf> for recurring
<AlexRussia> hm
<AlexRussia> it seems like java-based language
<benzrf> AlexRussia: do u mean ragel
<AlexRussia> benzrf: yep
<benzrf> ragel is a dsl for declaring fsms
<AlexRussia> benzrf: can you make less abbreviations? @_@
<AlexRussia> benzrf: dsl - domain specefic language
<AlexRussia> benzrf: but what is fsms? @_@
luckyruby has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
luckyruby has joined #ruby
<benzrf> fsm = finite state machine
icole has joined #ruby
oo__ has quit [Remote host closed the connection]
oo_ has joined #ruby
<AlexRussia> ari-_-e: even https://github.com/flori/json/
<AlexRussia> benzrf: ah
oo_ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghr has joined #ruby
starless has joined #ruby
thomasxie has joined #ruby
phutchins has quit [Ping timeout: 240 seconds]
brothmars has quit [Ping timeout: 245 seconds]
bmurt has quit []
ghr has quit [Ping timeout: 240 seconds]
centrx has quit [Quit: Mead error: Connection reset by beer]
wallerdev has joined #ruby
emmesswhy has joined #ruby
sevenforty has joined #ruby
sevenseventy has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
luckyruby has quit [Remote host closed the connection]
kireevco has joined #ruby
charliesome has joined #ruby
luckyruby has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
bmurt has joined #ruby
moritzschaefer has joined #ruby
zcreative has joined #ruby
thomasxie has quit [Remote host closed the connection]
dawkirst has joined #ruby
jsodini has joined #ruby
zeroNones has joined #ruby
luckyruby has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 260 seconds]
nateberkopec has joined #ruby
StephenA1 has joined #ruby
philcrissman has joined #ruby
luckyruby has joined #ruby
zcreative has quit [Ping timeout: 260 seconds]
DadoCe has quit [Remote host closed the connection]
dawkirst has quit [Ping timeout: 246 seconds]
sevenseventy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
Vile` has quit [Remote host closed the connection]
philcrissman has quit [Ping timeout: 245 seconds]
tylerkern has quit [Ping timeout: 255 seconds]
InhalingPixels has joined #ruby
tectonic has joined #ruby
Vile` has joined #ruby
tectonic has quit [Client Quit]
ffranz has quit [Quit: Leaving]
sevenforty has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
moritzschaefer has quit [Ping timeout: 246 seconds]
kireevco has quit [Quit: Leaving.]
toastynerd has joined #ruby
blackoperat has joined #ruby
sparrovv has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
Grantlyk has joined #ruby
onso has joined #ruby
beef-wellington has joined #ruby
toastynerd has quit [Ping timeout: 255 seconds]
lw has joined #ruby
sparrovv has quit [Ping timeout: 255 seconds]
Zenigor has quit [Remote host closed the connection]
InhalingPixels has quit [Ping timeout: 260 seconds]
nopolitica has joined #ruby
gkagan has joined #ruby
nateberkopec has quit [Quit: Leaving...]
onso has quit [Ping timeout: 260 seconds]
jsodini has quit [Quit: Leaving...]
threesixes has joined #ruby
alpha123 has quit [Ping timeout: 272 seconds]
Zebroid has joined #ruby
earthquake has quit [Quit: earthquake]
gkagan has quit [Ping timeout: 250 seconds]
kireevco has joined #ruby
zcreative has joined #ruby
braincrash has quit [Quit: bye bye]
Zebroid has quit [Ping timeout: 244 seconds]
erts has joined #ruby
Norrin has quit [Ping timeout: 240 seconds]
Adran has quit [Ping timeout: 240 seconds]
bpgoldsb has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Remote host closed the connection]
starkhallo has joined #ruby
erts has quit [Quit: .]
yfeldblum has joined #ruby
mahlon has quit [Ping timeout: 240 seconds]
zcreative has quit [Ping timeout: 264 seconds]
skysploit has quit [Remote host closed the connection]
starkhalo has quit [Read error: Connection reset by peer]
nisstyre has quit [Ping timeout: 240 seconds]
mahlon has joined #ruby
Grantlyk has quit [Ping timeout: 245 seconds]
bpgoldsb has joined #ruby
braincrash has joined #ruby
erts has joined #ruby
Kuda_ has joined #ruby
Sgeo has joined #ruby
yfeldblu_ has joined #ruby
Rosa has quit []
Adran has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
oo_ has quit [Remote host closed the connection]
toastynerd has joined #ruby
Sgeo_ has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
iigihu has quit [Quit: Page closed]
jamesfordummies has quit []
nisstyre has joined #ruby
brothmars has joined #ruby
Grantlyk has joined #ruby
alekst has quit [Quit: Leaving...]
tylersmith has joined #ruby
blackoperat has quit []
charliesome has joined #ruby
StephenA1 has quit [Quit: StephenA1]
oo_ has quit [Ping timeout: 272 seconds]
erts has quit [Quit: .]
erts has joined #ruby
iteratorP has quit [Remote host closed the connection]
iteratorP has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
day has quit [Ping timeout: 260 seconds]
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
toastynerd has quit [Remote host closed the connection]
onso has joined #ruby
day has joined #ruby
ghr has joined #ruby
iteratorP has quit [Ping timeout: 244 seconds]
patrick99e99 has joined #ruby
flowerhack has joined #ruby
mary5030 has joined #ruby
Norrin has joined #ruby
earthquake has joined #ruby
koderok has joined #ruby
koderok has quit [Client Quit]
ghr has quit [Ping timeout: 244 seconds]
patrick99e99 has quit [Ping timeout: 246 seconds]
nobitanobi has joined #ruby
goodenough has quit []
luckyruby has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
cy has quit [Quit: brb]
Kricir has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
melik has joined #ruby
dawkirst has joined #ruby
cpruitt has joined #ruby
mercwithamouth has joined #ruby
mikepack has joined #ruby
icole has quit [Remote host closed the connection]
dawkirst has quit [Ping timeout: 240 seconds]
Grantlyk has quit [Remote host closed the connection]
alexju has joined #ruby
Cheezebox has joined #ruby
lw has quit [Quit: s]
alexju has quit [Remote host closed the connection]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
nobitanobi has joined #ruby
Cache_Money has joined #ruby
tylerkern has joined #ruby
Kricir has joined #ruby
<pontiki> nice tapas from avdi
Lewix has quit [Read error: Connection reset by peer]
tylerkern has quit [Client Quit]
Lewix has joined #ruby
cpruitt has quit [Quit: cpruitt]
<sevenseacat> which one
alexju has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
<pontiki> 230 Black Box
<sevenseacat> ah havent watched that one yet
tylerkern has joined #ruby
Cheezebox has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
<pontiki> it's kind of the counterpoint to the previous one
jerius has quit []
zeroNones has quit [Read error: Connection reset by peer]
InhalingPixels has joined #ruby
gkagan has joined #ruby
earthquake has quit [Quit: earthquake]
threesixes has quit [Remote host closed the connection]
Lewix_ has joined #ruby
alexju has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
alexju has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
Zebroid has joined #ruby
Lewix has quit [Ping timeout: 272 seconds]
InhalingPixels has quit [Ping timeout: 244 seconds]
alexju has joined #ruby
gkagan has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
zcreative has joined #ruby
alexju has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
Zebroid has quit [Ping timeout: 260 seconds]
yfeldblu_ has quit [Remote host closed the connection]
alexju has joined #ruby
yfeldblum has joined #ruby
alexju has quit [Remote host closed the connection]
zcreative has quit [Ping timeout: 272 seconds]
toastynerd has joined #ruby
alexju has joined #ruby
tlarevo has joined #ruby
Bumptious has joined #ruby
CaptainJet has quit []
yfeldblum has quit [Ping timeout: 250 seconds]
sdwrage has joined #ruby
nobitanobi has quit [Remote host closed the connection]
robbyoconnor has quit [Quit: Konversation terminated!]
r0bby_ has joined #ruby
juz88 has quit [Ping timeout: 260 seconds]
root3d has joined #ruby
juz88 has joined #ruby
bearish has joined #ruby
toastynerd has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 272 seconds]
r0bby_ has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
bearish has quit [Ping timeout: 260 seconds]
crdpink has joined #ruby
crdprink2 has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
InhalingPixels has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
jsodini has joined #ruby
CorySimmons has joined #ruby
chrishough has joined #ruby
relix has joined #ruby
Kricir has quit [Remote host closed the connection]
philcrissman has joined #ruby
lyuzashi has joined #ruby
threesixes has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
erts has quit [Quit: .]
oo_ has joined #ruby
InhalingPixels has quit [Ping timeout: 245 seconds]
hooper has joined #ruby
philcrissman has quit [Ping timeout: 245 seconds]
asdf has joined #ruby
beef-wellington has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
<asdf> hello, my console has weird colors when i run ruby
linojon has quit [Quit: linojon]
CorySimmons has quit [Quit: Bye!]
<asdf> when iterated throgh databank on sqlite3
Shidash has joined #ruby
freerobby has quit [Quit: Leaving.]
beemo has quit [Remote host closed the connection]
Kuda_ has quit [Quit: Sleep]
<asdf> i dump query to screen and some characters are turned different colors than the foreground
<benzrf> why cant ruby have
<benzrf> backcalls
<benzrf> theyre so cool/cool
<benzrf> er
<benzrf> good/cool
<asdf> what do you mean
<benzrf> ive complained about them here before
<benzrf> theyre just syntactic sugar for unnesting callbacks
<benzrf> u write `foo <- bar' and that translates to `bar do |foo|' plus an implicit extra end at the end of the current syntactic level
lw has joined #ruby
<benzrf> so then if you do heavily nested callbackin, instead of:
<benzrf> foo do |result1|
<benzrf> bar do |result2|
alexju has quit [Remote host closed the connection]
<benzrf> result1 + result2
<benzrf> end
<benzrf> end
<benzrf> you write:
<benzrf> result1 <- foo
<benzrf> result2 <- bar
<benzrf> result1 + result2
<tlarevo> benzrf: I guess ruby was not designed to implement such I do code both JS and ruby but I have experienced any need of that feature
<asdf> syntatic sugar alright
kp666 has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<asdf> yeah and whats up with the rails server?
segfalt has quit [Quit: Connection closed for inactivity]
<sevenseacat> ?
kp666 has joined #ruby
<asdf> its easier to make threaded socket listener, than to go through all of rails
yfeldblum has joined #ruby
<sevenseacat> what?
yfeldblum has quit [Remote host closed the connection]
luckyruby has joined #ruby
luckyruby has quit [Remote host closed the connection]
<asdf> instead of learning rails, just make your own http server
carraroj has joined #ruby
yfeldblum has joined #ruby
luckyruby has joined #ruby
threesixes has quit [Read error: Connection reset by peer]
<sevenseacat> ok not to be taken seriously
<asdf> it can be done in about 20 lines, and you can examine which controller to select with a switch case statement
<asdf> its all in the query line
nobitan__ has joined #ruby
<asdf> each mvc can be a module, and you do not need to learn all the ruby convention
<asdf> which is a huge waste of time
<sevenseacat> trollolololol
<asdf> u wish
onso has quit [Ping timeout: 244 seconds]
kp666 has quit [Ping timeout: 246 seconds]
dc_ has quit [Remote host closed the connection]
dseitz has joined #ruby
iteratorP has joined #ruby
whyy has joined #ruby
mercwithamouth has joined #ruby
iteratorP has quit [Ping timeout: 260 seconds]
bearish has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
gkagan has joined #ruby
toastynerd has joined #ruby
EvanR_ has quit [Read error: Connection reset by peer]
EvanR has joined #ruby
EvanR is now known as Guest75186
carraroj has quit [Ping timeout: 272 seconds]
Zebroid has joined #ruby
kireevco has left #ruby [#ruby]
gkagan has quit [Ping timeout: 260 seconds]
toastynerd has quit [Remote host closed the connection]
lemonsparrow has joined #ruby
zcreative has joined #ruby
<lemonsparrow> hi
r0bby_ has joined #ruby
r0bby_ has quit [Client Quit]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
jsodini has quit [Quit: Linkinus - http://linkinus.com]
x1337807x has joined #ruby
TieSoul has joined #ruby
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
Zebroid has quit [Ping timeout: 240 seconds]
beemo has joined #ruby
sinkensabe has joined #ruby
zcreative has quit [Ping timeout: 255 seconds]
<pontiki> it can be done in 6 lines, you hack
Sgeo_ has joined #ruby
geggam has quit [Ping timeout: 245 seconds]
beemo has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Sauvin has joined #ruby
Sgeo has quit [Ping timeout: 240 seconds]
echooo1 has joined #ruby
amclain has quit [Quit: Leaving]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
onso has joined #ruby
echooo has quit [Ping timeout: 260 seconds]
tobago has joined #ruby
x1337807x has joined #ruby
safdartp has joined #ruby
_tpavel has joined #ruby
<sevenseacat> sinatra was written in six lines. needing 20 for a server is just extraordinary
asdf has quit [Ping timeout: 246 seconds]
melik has quit [Quit: Computer has gone to sleep.]
tylerkern has quit [Quit: leaving]
onso has quit [Ping timeout: 244 seconds]
maletor_ has joined #ruby
beemo has joined #ruby
TieSoul has quit [Ping timeout: 255 seconds]
melik_ has joined #ruby
iteratorP has joined #ruby
ghr has joined #ruby
thams has joined #ruby
patrick99e99 has joined #ruby
Duikb00t has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
InhalingPixels has joined #ruby
x1337807x has joined #ruby
lemonsparrow has left #ruby ["Leaving"]
tkuchiki_ has joined #ruby
duncannz has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
patrick99e99 has quit [Ping timeout: 240 seconds]
Duikb00t has quit [Ping timeout: 245 seconds]
kyb3r_ has joined #ruby
barhum2013 has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
x1337807x has quit [Ping timeout: 246 seconds]
InhalingPixels has quit [Ping timeout: 250 seconds]
dopie has joined #ruby
<dopie> hey all
bearish has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 255 seconds]
<dopie> why isnt my who's_turn(dealer) running
<sevenseacat> hi dopie
bearish has joined #ruby
melik_ has quit [Quit: Computer has gone to sleep.]
<dopie> hey sevenseacat, im reading for a ruby bashing
<sevenseacat> i hope you have some kind of tests for this 200 lines of code
<dopie> thats next course
<sevenseacat> and you dont expect is to just magically interpret the whole thing
<dopie> what?
apxm has joined #ruby
<sevenseacat> so many bugs
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dopie> ???
<dopie> what bugs?
<pontiki> there can't be any bugs!
<dopie> yes there can be
bearish has quit [Ping timeout: 240 seconds]
<pontiki> :P
Cache_Money has quit [Quit: Cache_Money]
starless has quit [Quit: Leaving]
nobitan__ has quit [Remote host closed the connection]
<dopie> aha!
<dopie> i fixed it
<dopie> :P
Cache_Money has joined #ruby
<sevenseacat> :)
tagrudev has joined #ruby
<sevenseacat> next time, if you want us to help you, you have to tell us whats wrong.
Cache_Money has quit [Client Quit]
<dopie> #ruby is my ruby duck :P
<sevenseacat> lucky us.
nobitano_ has joined #ruby
<havenwood> anyone wanna sanity check a PR?: https://github.com/puma/puma/pull/570
apeiros has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
apeiros has joined #ruby
<havenwood> i think that's ^ right, but i swear when i try to add a unit test it shows the existing behavior works
<havenwood> but it doesn't!
nobitano_ has quit [Ping timeout: 240 seconds]
pramodns has joined #ruby
yekta has joined #ruby
krisquigley has joined #ruby
hephaest1s_rg has quit [Ping timeout: 260 seconds]
brothmars has quit [Ping timeout: 260 seconds]
<havenwood> i can't think why in test unit the exact same code example works, other than maybe due to overhead the job has a chance to decrement the counter
<havenwood> oh well, maybe some threading edge cases aren't worth testing but are still worth fixing? >.>
yekta has quit [Ping timeout: 260 seconds]
speakingcode has joined #ruby
speaking1ode has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
ValicekB has quit [Ping timeout: 245 seconds]
mikepack has quit [Remote host closed the connection]
dawkirst has joined #ruby
mary5030 has joined #ruby
thams has quit [Quit: thams]
onso has joined #ruby
dawkirst has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 272 seconds]
Shidash has quit [Ping timeout: 245 seconds]
ht__th has joined #ruby
rdark has joined #ruby
mary5030 has quit [Ping timeout: 260 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
gkagan has joined #ruby
craigbowen3 has joined #ruby
jonr22 has joined #ruby
echooo has joined #ruby
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
Zebroid has joined #ruby
ValicekB has joined #ruby
echooo1 has quit [Ping timeout: 255 seconds]
x1337807x has joined #ruby
gkagan has quit [Ping timeout: 245 seconds]
thomasxie has joined #ruby
zcreative has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
bal has joined #ruby
Zebroid has quit [Ping timeout: 255 seconds]
starkhallo has quit [Ping timeout: 264 seconds]
Aranshada|W has quit [Read error: Connection reset by peer]
x1337807x has quit [Ping timeout: 245 seconds]
fainder_ has joined #ruby
tlarevo_ has joined #ruby
sinkensabe has joined #ruby
bal has quit [Client Quit]
Aranshada|W has joined #ruby
fainder_ has quit [Client Quit]
LACP has joined #ruby
fainder_ has joined #ruby
bal has joined #ruby
zcreative has quit [Ping timeout: 250 seconds]
maletor_ has quit [Quit: Computer has gone to sleep.]
tlarevo has quit [Ping timeout: 260 seconds]
bal has quit [Read error: Connection reset by peer]
bal has joined #ruby
jonr22 has quit [Ping timeout: 255 seconds]
arya_ has joined #ruby
thams has joined #ruby
dawkirst has joined #ruby
toastynerd has joined #ruby
koderok has joined #ruby
krisquigley has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
krisquigley has joined #ruby
toastynerd has quit [Remote host closed the connection]
diegoviola has joined #ruby
bblloooomm has joined #ruby
mbuf has joined #ruby
anaeem1_ has joined #ruby
thams_ has joined #ruby
philcrissman has quit [Ping timeout: 264 seconds]
thams has quit [Ping timeout: 240 seconds]
thams_ is now known as thams
thams has quit [Client Quit]
thams has joined #ruby
axsuul has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
mijicd has joined #ruby
ghr has joined #ruby
juz88 has quit [Ping timeout: 272 seconds]
thams has quit [Client Quit]
bluOxigen has joined #ruby
juz88 has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Darkchaos has joined #ruby
onso has quit [Ping timeout: 250 seconds]
x1337807x has joined #ruby
InhalingPixels has joined #ruby
klaut has joined #ruby
Duikb00t has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
krisquigley has quit [Remote host closed the connection]
noop has joined #ruby
ghr has quit [Ping timeout: 260 seconds]
starless has joined #ruby
onso has joined #ruby
mkaesz has joined #ruby
bearish has joined #ruby
x1337807x has quit [Ping timeout: 240 seconds]
InhalingPixels has quit [Ping timeout: 255 seconds]
LangeOortjes has joined #ruby
melik_ has joined #ruby
koderok has quit [Quit: koderok]
sdwrage has quit [Quit: This computer has gone to sleep]
Morkel has joined #ruby
Xeago has joined #ruby
axsuul has joined #ruby
Macaveli has joined #ruby
safdartp has left #ruby [#ruby]
gaussblurinc1 has joined #ruby
Xeago has quit [Remote host closed the connection]
sdwrage has joined #ruby
Macaveli has quit [Ping timeout: 260 seconds]
kiri has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
aganov has joined #ruby
ohwhoa has joined #ruby
sdwrage has quit [Client Quit]
apxm has quit [Quit: Textual IRC Client: www.textualapp.com]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
SilkFox has quit [Read error: Connection reset by peer]
SilkFox has joined #ruby
krz has quit [Ping timeout: 260 seconds]
ringarin has joined #ruby
jprovazn has joined #ruby
wallerdev has quit [Quit: wallerdev]
thams has joined #ruby
jgrevich has quit [Quit: jgrevich]
krz has joined #ruby
mengu has joined #ruby
jottr_ has joined #ruby
krz has quit [Ping timeout: 250 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
ringarin has quit [Ping timeout: 260 seconds]
Takle has joined #ruby
fabrice31 has joined #ruby
gkagan has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
oo_ has quit [Ping timeout: 255 seconds]
pramodns has quit [Ping timeout: 240 seconds]
Zebroid has joined #ruby
oo_ has joined #ruby
gkagan has quit [Ping timeout: 244 seconds]
tylersmith has quit [Remote host closed the connection]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Eiam has quit [Ping timeout: 255 seconds]
zcreative has joined #ruby
thams has quit [Ping timeout: 245 seconds]
Zebroid has quit [Ping timeout: 250 seconds]
fainder_ is now known as fainder
fabrice31 has quit [Remote host closed the connection]
ta has joined #ruby
diegovio1 has joined #ruby
threesixes has joined #ruby
zcreative has quit [Ping timeout: 255 seconds]
diegoviola has quit [Ping timeout: 255 seconds]
fabrice31 has joined #ruby
Lightsword has joined #ruby
kireevco has joined #ruby
ta has quit [Client Quit]
kireevco has quit [Client Quit]
ta has joined #ruby
<Lightsword> how would I tunnel eventmachine http multi-request traffic through a net-ssh socks5 proxy?
<Lightsword> I’m trying proxy = Net::SSH::Proxy::SOCKS5.new(‘user@ip’, 22)
<Lightsword> and multi.add e, EventMachine::HttpRequest.new("http://" + e + "/", :connect_timeout => 1, :inactivity_timeout => 1, :proxy => proxy).get
kireevco has joined #ruby
gauke has joined #ruby
kireevco has quit [Client Quit]
<Lightsword> but I’m getting the error /em-http-request-1.1.2/lib/em-http/http_connection_options.rb:25:in `initialize': undefined method `[]' for #<Net::SSH::Proxy::SOCKS5:0x00000102a968e0> (NoMethodError)
divi has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
divi has joined #ruby
kireevco has quit [Client Quit]
diegovio1 has quit [Read error: Connection reset by peer]
diegoviola has joined #ruby
kireevco has joined #ruby
<Lightsword> I think I’m setting the proxy correctly in eventmachine but I’m not sure what I’m doing wrong
<Lightsword> I mean incorrectly
kireevco has quit [Client Quit]
krz has joined #ruby
lkba has joined #ruby
<Lightsword> is there a way to tunnel non-ssh traffic over this proxy? http://rubydoc.info/github/net-ssh/net-ssh/Net/SSH/Proxy/SOCKS5
noop has quit [Ping timeout: 260 seconds]
<sevenseacat> irc is possibly the worst medium for sharing code
noop has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
Takle has quit [Remote host closed the connection]
krz has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
divi has quit [Ping timeout: 240 seconds]
poulet_a has joined #ruby
divi has joined #ruby
ghr has joined #ruby
Ilyas has joined #ruby
x1337807x has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
Takle has quit [Ping timeout: 250 seconds]
havenwood has quit [Remote host closed the connection]
iteratorP has quit [Remote host closed the connection]
<ari-_-e> does anyone with experience with the mysql2 gem know if it's possible to access two columns from different tables with the same names without renaming them?
ghr has quit [Ping timeout: 240 seconds]
zcreative has joined #ruby
<sevenseacat> thats got nothing to do with the mysql gem
CpuID has joined #ruby
CpuID has joined #ruby
iteratorP has joined #ruby
<ari-_-e> yeah it does... I looked at the mysql wire protocol and it tells you which table each column is from
poulet_a has quit [Quit: Quitte]
poulet_a has joined #ruby
charliesome has quit [Quit: zzz]
<ari-_-e> I'm sure the C api gives you access to this information
Pumukel has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140715214327]]
x1337807x has quit [Ping timeout: 250 seconds]
yekta has joined #ruby
Jackneill has joined #ruby
ohwhoa has quit [Quit: woah!]
<ari-_-e> as it stands, if I make a query which returns two "id" columns from two tables, the hash only has pair
<ari-_-e> and results.fields -> ['id', 'id']
sk87 has joined #ruby
yfeldblum has joined #ruby
wjimenez5271 has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
timonv_ has joined #ruby
zcreative has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
chth0n has joined #ruby
rocknrollmarc has joined #ruby
sparrovv has joined #ruby
thomasxie has left #ruby [#ruby]
radic has quit [Disconnected by services]
thams has joined #ruby
iteratorP has quit [Remote host closed the connection]
radic_ has joined #ruby
gruz0[russia] has joined #ruby
sparrovv has quit [Remote host closed the connection]
sparrovv has joined #ruby
fainder has quit [Quit: Leaving...]
apeiros has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
thams has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
jhass|off is now known as jhass
iteratorP has joined #ruby
lukeholder has joined #ruby
dmyers has quit [Quit: dmyers]
lukeholder has quit [Max SendQ exceeded]
sparrovv has quit [Ping timeout: 244 seconds]
Skwallinux has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
iteratorP has quit [Remote host closed the connection]
bblloooomm has quit [Ping timeout: 260 seconds]
hanjianwei has joined #ruby
sparrovv has joined #ruby
iteratorP has joined #ruby
flowerhack has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
SilkFox has joined #ruby
<Lightsword> how would I open a socks5 tunnel over ssh using ruby?
aaronrl_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
krz has joined #ruby
danijoo has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
aaronrl has quit [Ping timeout: 260 seconds]
gkagan has joined #ruby
thomasxie has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
arya_ has quit [Ping timeout: 240 seconds]
andrewlio has joined #ruby
Xeago has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
Zebroid has joined #ruby
x1337807x has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
philcrissman has joined #ruby
robbyoconnor has quit [Client Quit]
robbyoconnor has joined #ruby
whyy has quit [Remote host closed the connection]
einarj has joined #ruby
Zebroid has quit [Ping timeout: 246 seconds]
ptrrr has joined #ruby
jxf_ has quit [Ping timeout: 245 seconds]
arya_ has joined #ruby
vifino has joined #ruby
decoponio has joined #ruby
x1337807x has quit [Ping timeout: 260 seconds]
qba73 has joined #ruby
philcrissman has quit [Ping timeout: 260 seconds]
divi has joined #ruby
banister has joined #ruby
IceDragon has quit [Quit: Space~~~]
lw has quit [Quit: s]
IceDragon has joined #ruby
IceDragon has quit [Client Quit]
Aranshada|W has quit [Ping timeout: 240 seconds]
starless has quit [Quit: Leaving]
agent_white has joined #ruby
sparrovv has quit [Remote host closed the connection]
starless has joined #ruby
krz has quit [Ping timeout: 240 seconds]
sparrovv has joined #ruby
CpuID has quit [Ping timeout: 240 seconds]
moritzs has joined #ruby
abuzze has joined #ruby
Takle has quit [Remote host closed the connection]
abuzze_ has quit [Ping timeout: 245 seconds]
marr has joined #ruby
diegoviola has quit [Quit: WeeChat 1.0]
Takle_ has joined #ruby
Morkel_ has joined #ruby
sparrovv has quit [Ping timeout: 250 seconds]
Morkel has quit [Ping timeout: 260 seconds]
Morkel_ is now known as Morkel
timonv_ has quit [Remote host closed the connection]
lyuzashi has quit [Ping timeout: 252 seconds]
Spami has joined #ruby
diegoviola has joined #ruby
Port3M5[Work] has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
chipotle has quit [Quit: cya]
ringarin has joined #ruby
krz has joined #ruby
Port3M5[Work] has joined #ruby
dumdedum has joined #ruby
ringarin has quit [Client Quit]
wjimenez5271 has quit [Ping timeout: 244 seconds]
jottr_ has joined #ruby
TupskinVonAlbert has joined #ruby
InhalingPixels has joined #ruby
joonty has joined #ruby
Wolland_ has quit [Remote host closed the connection]
zequix has joined #ruby
havenwood has joined #ruby
Wolland has joined #ruby
echooo has quit [Remote host closed the connection]
echooo has joined #ruby
Photism has quit [Quit: Leaving]
Macaveli has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
jottr_ has quit [Ping timeout: 244 seconds]
InhalingPixels has quit [Ping timeout: 245 seconds]
zcreative has joined #ruby
Wolland has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 264 seconds]
anarang has joined #ruby
mkaesz has quit [Ping timeout: 240 seconds]
krisquigley has joined #ruby
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
melik_ has quit [Quit: Computer has gone to sleep.]
xhoy_ is now known as xhoy
oo_ has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 246 seconds]
saarinen has quit [Quit: saarinen]
anaeem1_ has quit [Remote host closed the connection]
michael_lee has joined #ruby
zcreative has quit [Ping timeout: 272 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1 has joined #ruby
W0rmDr1nk has joined #ruby
thomasxie has quit [Read error: Connection reset by peer]
ivko has joined #ruby
ivko has quit [Client Quit]
GriffinHeart has joined #ruby
nopolitica has quit [Ping timeout: 260 seconds]
einarj has quit []
ivko has joined #ruby
einarj has joined #ruby
nopolitica has joined #ruby
mr_foobar_baz has joined #ruby
timonv_ has joined #ruby
iteratorP has quit [Remote host closed the connection]
ivko has quit [Client Quit]
iteratorP has joined #ruby
RTG` has quit [Disconnected by services]
RTG has joined #ruby
RTG is now known as Guest68555
sevenseacat has quit [Remote host closed the connection]
druznek has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ilyas_ has joined #ruby
oo_ has joined #ruby
vifino has quit [Quit: Ze Cat now leaves...]
Ilyas has quit [Ping timeout: 240 seconds]
nathankleyn has joined #ruby
Takle_ has quit [Remote host closed the connection]
nerium has joined #ruby
oo_ has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
chipotle has joined #ruby
SilkFox has joined #ruby
mengu has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
CpuID has joined #ruby
mr_foobar_baz has quit [Quit: WeeChat 0.4.3]
workmad3 has joined #ruby
chipotle has quit [Client Quit]
GriffinHeart has quit [Read error: Connection reset by peer]
GriffinH_ has joined #ruby
abuzze has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
chipotle has joined #ruby
AlSquire has joined #ruby
gkagan has joined #ruby
chipotle has quit [Client Quit]
SilkFox has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
Macaveli has quit [Ping timeout: 255 seconds]
onso has quit [Ping timeout: 272 seconds]
mr_foobar_baz has joined #ruby
Zebroid has joined #ruby
chipotle has quit [Client Quit]
oo_ has joined #ruby
CpuID has quit [Quit: Leaving]
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
x1337807x has joined #ruby
gkagan has quit [Ping timeout: 245 seconds]
thomasxie has joined #ruby
chipotle has quit [Client Quit]
thomasxie has left #ruby [#ruby]
Macaveli has joined #ruby
chipotle has joined #ruby
osvico has quit [Ping timeout: 264 seconds]
Zebroid has quit [Ping timeout: 245 seconds]
malcolmva has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
chipotle has quit [Client Quit]
mr_foobar_baz has quit [Quit: WeeChat 0.4.3]
x1337807x has quit [Ping timeout: 255 seconds]
Hobogrammer_ has quit [Ping timeout: 250 seconds]
djbkd has quit [Quit: My people need me...]
nathankleyn has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
Ilyas has joined #ruby
Ilyas_ has quit [Read error: Connection reset by peer]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
abuzze has joined #ruby
abuzze has quit [Remote host closed the connection]
hsps_ has joined #ruby
abuzze has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
Deele has joined #ruby
mr_foobar_baz has joined #ruby
wjimenez5271 has joined #ruby
oo_ has quit [Remote host closed the connection]
malcolmva has joined #ruby
georgesmith has joined #ruby
oo_ has joined #ruby
diegoviola has quit [Ping timeout: 272 seconds]
root3d has quit [Ping timeout: 272 seconds]
wjimenez5271 has quit [Ping timeout: 260 seconds]
diegoviola has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
Duikb00t_ has joined #ruby
InhalingPixels has joined #ruby
hiall has joined #ruby
FrankD has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
root3d has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
beemo has quit [Remote host closed the connection]
Duikb00t has quit [Ping timeout: 245 seconds]
crdprink2 has joined #ruby
crdpink has quit [Ping timeout: 246 seconds]
InhalingPixels has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
Duikb00t_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Duikb00t_ has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
oo__ has joined #ruby
Xeago has quit [Remote host closed the connection]
oo_ has quit [Read error: Connection reset by peer]
SCHAAP137 has quit [Remote host closed the connection]
zcreative has joined #ruby
agjacome has joined #ruby
SCHAAP137 has joined #ruby
agjacome has quit [Client Quit]
mr_foobar_baz has quit [Quit: WeeChat 0.4.3]
zcreative has quit [Ping timeout: 260 seconds]
agjacome has joined #ruby
arya_ has quit [Ping timeout: 264 seconds]
gnegno has joined #ruby
spider-mario has joined #ruby
zequix has quit [Remote host closed the connection]
zequix has joined #ruby
Lightsword has quit [Quit: Lightsword]
zequix has quit [Read error: Connection reset by peer]
zequix has joined #ruby
kaspertidemann has joined #ruby
karupa is now known as zz_karupa
adac has joined #ruby
philcrissman has joined #ruby
<adac> Is it advised to use single quotes or double ones by default?
whyy has joined #ruby
<cjk101010> doesn't matter, imho
<tlarevo_> if you need String interpolation use double quotes otherwise single quotes :)
<banister> adac use the one that makes you feel most at home
<tobiasvl> the jury is out on that. use what you want
<adac> I actually love single quotes :) so maybe I'll stick with that
<adac> :)
<tobiasvl> http://stackoverflow.com/a/20870770 lists some style guides and their recommendations (it's a tie)
<georgesmith> string interpolation is explained well here - http://stackoverflow.com/questions/6395288/ruby-double-vs-single-quotes
<tobiasvl> adac: but be sure you know the difference between them! I assume you mean which ones to use when interpolation and escaping don't matter.
zequix has quit [Remote host closed the connection]
<adac> tobiasvl, yes exactly I mean those. the other ones need double ones as you say
benlieb has quit [Quit: benlieb]
philcrissman has quit [Ping timeout: 255 seconds]
duncannz has quit [Remote host closed the connection]
SilkFox has joined #ruby
tlarevo_ is now known as tlarevo
oo__ has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
whyy has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
gnegno has quit [Ping timeout: 240 seconds]
<tlarevo> I'm not sure there could be advantages in using single quotes and double quotes rather than using all double quotes in terms or memory usage and management
zequix has joined #ruby
gkagan has joined #ruby
fold has quit [Ping timeout: 250 seconds]
SilkFox has quit [Ping timeout: 250 seconds]
bMalum has joined #ruby
Zebroid has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
thams has joined #ruby
x1337807x has joined #ruby
gkagan has quit [Ping timeout: 245 seconds]
mr_foobar_baz has joined #ruby
toertore has quit [Quit: Leaving]
<jhass> in theory single quotes are faster to parse since they don't need to be checked for interpolation. But that's probably hardly measurable
LangeOortjes has quit [Quit: WeeChat 1.0]
timonv_ has joined #ruby
LangeOortjes has joined #ruby
Zebroid has quit [Ping timeout: 264 seconds]
doodlehaus has joined #ruby
<tlarevo> But I guess when you have lots of strings used it matters isnt it ?
whyy has joined #ruby
<ptrrr> also, escaping is affected
<jhass> I wouldn't bother tbh.
<banister> tlarevo that's a micro optimization x 1 billion, forget about it
<jhass> choose them for their semantic differences as needed
x1337807x has quit [Ping timeout: 240 seconds]
<ptrrr> ‘\n’ != “\n"
Spami has quit [Quit: This computer has gone to sleep]
iteratorP has quit [Remote host closed the connection]
<tlarevo> banister: I see :)
mr_foobar_baz has quit [Quit: WeeChat 0.4.3]
Takle has quit [Remote host closed the connection]
mr_foobar_baz has joined #ruby
fabrice31 has quit [Remote host closed the connection]
michael_lee has quit [Ping timeout: 260 seconds]
mr_foobar_baz has quit [Client Quit]
Lightsword has joined #ruby
Takle has joined #ruby
timonv_ has quit [Remote host closed the connection]
starless has quit [Quit: Leaving]
zequix has quit [Remote host closed the connection]
<Mon_Ouie> Not to mention parsing speed only affects that: parse time, something which only happens when you load your code, not while it is running
thams has quit [Ping timeout: 250 seconds]
<Mon_Ouie> (unless you're constantly using eval :p)
<matti> Mon_Ouie: Ohai
<jhass> so eval makes my code faster? :o
<matti> Mon_Ouie: LTNS
<tlarevo> banister: :D
<matti> jhass: It makes everything faster!
<Mon_Ouie> 'alut matti :)
<matti> jhass: For moar power, try double-eval.
<matti> ;]
Xeago has joined #ruby
<jhass> >> eval("eval('eval(%[eval(?h?i)])')")
<eval-in> jhass => (eval):1: syntax error, unexpected ')', expecting ':' ... (https://eval.in/181309)
<jhass> :(
LangeOortjes has quit []
kyb3r_ has quit [Read error: Connection reset by peer]
klaut has quit []
barhum2013 has quit [Quit: barhum2013]
<banister> Mon_Ouie what's up
mr_foobar_baz has joined #ruby
<jhass> >> eval("eval('eval(%{eval([?h, ?i].join)})')")
<eval-in> jhass => undefined local variable or method `hi' for main:Object (NameError) ... (https://eval.in/181310)
<jhass> doesn't feel any faster matti
<Mon_Ouie> I still don't know what to answer to that
<shevy> 42
bearish has quit [Remote host closed the connection]
<Mon_Ouie> Good point
<shevy> those embedded evals are like those russiand dolls, matrushka or whatever the name was
<shevy> *russian
<matti> >> eval 'eval "p \'Hi\'"'
<eval-in> matti => "Hi" ... (https://eval.in/181311)
<matti> ;p
zequix has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
<matti> jhass: It was so fast, it shevy's sock off ;p
nerium has quit [Quit: nerium]
<matti> blew ...
<matti> :D
kp666 has joined #ruby
nerium has joined #ruby
<shevy> my poor sock
InhalingPixels has joined #ruby
luckyruby has quit [Quit: Leaving...]
blinkdesign has joined #ruby
fabrice31 has joined #ruby
havenwood has joined #ruby
timonv_ has joined #ruby
tlarevo is now known as tlarevo_
DEA7TH has quit [Ping timeout: 260 seconds]
beemo has joined #ruby
tlarevo_ has left #ruby [#ruby]
mengu has joined #ruby
mengu has joined #ruby
InhalingPixels has quit [Ping timeout: 264 seconds]
linojon has joined #ruby
xcv has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
tlarevo_ has joined #ruby
beemo has quit [Ping timeout: 264 seconds]
tlarevo_ is now known as tlarevo
Soda has joined #ruby
zcreative has joined #ruby
Lewix_ has quit [Remote host closed the connection]
Lewix has joined #ruby
tokik has quit [Ping timeout: 260 seconds]
iteratorP has joined #ruby
zcreative has quit [Ping timeout: 240 seconds]
doodlehaus has quit [Remote host closed the connection]
Lewix has quit [Ping timeout: 250 seconds]
Fire-Dragon-DoL has joined #ruby
camilasann has joined #ruby
maximski has joined #ruby
gccostabr has joined #ruby
maximski has quit [Max SendQ exceeded]
echooo has quit [Ping timeout: 250 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
camilasan has quit [Ping timeout: 250 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
nerium has quit [Quit: nerium]
maximski has quit [Max SendQ exceeded]
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has joined #ruby
nerium has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
nfk has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
iteratorP has quit [Read error: Connection reset by peer]
iteratorP has joined #ruby
iteratorP has quit [Remote host closed the connection]
claymore has joined #ruby
anaeem1 has quit [Remote host closed the connection]
anaeem1_ has joined #ruby
Takle has quit [Remote host closed the connection]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Logico has joined #ruby
bearish has joined #ruby
Takle has joined #ruby
SilkFox has joined #ruby
gnegno has joined #ruby
Takle_ has joined #ruby
Takle has quit [Read error: No route to host]
iteratorP has joined #ruby
fold has joined #ruby
gnegno has quit [Client Quit]
doodlehaus has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
gkagan has joined #ruby
nerium has quit [Quit: nerium]
oo_ has joined #ruby
mkaesz has joined #ruby
thams has joined #ruby
nerium has joined #ruby
SilkFox has quit [Ping timeout: 272 seconds]
gogiel has joined #ruby
Zebroid has joined #ruby
maroloccio has joined #ruby
crdpink has joined #ruby
gkagan has quit [Ping timeout: 260 seconds]
crdprink2 has quit [Ping timeout: 260 seconds]
dblessing has joined #ruby
thams has quit [Ping timeout: 240 seconds]
tkuchiki_ has joined #ruby
patrick99e99 has joined #ruby
<mikecmpbll> eh, can i access a class method from a method of an included module?
iteratorP has quit [Remote host closed the connection]
bearish has quit [Remote host closed the connection]
bearish has joined #ruby
<workmad3> mikecmpbll: self.class.method
Zebroid has quit [Ping timeout: 240 seconds]
<mikecmpbll> aw shite, what do you know
CodePulsar has joined #ruby
<mikecmpbll> thanks :d
lkba has joined #ruby
mr_foobar_baz has quit [Remote host closed the connection]
<workmad3> mikecmpbll: I assume you included the module as instance methods anyway ;)
<workmad3> mikecmpbll: so yeah... same as you'd do in a normal method :P
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mikecmpbll> yeah that was stupid.
tkuchiki has quit [Ping timeout: 240 seconds]
Sonny|3oy has joined #ruby
dpestilli has joined #ruby
<gaussblurinc1> simple question: is this true: files are equal <=> one.stat == two.stat? (in terms of linux general file)
relix has quit [Remote host closed the connection]
Sonny|3oy has quit [Max SendQ exceeded]
tkuchiki_ has quit [Ping timeout: 272 seconds]
patrick99e99 has quit [Ping timeout: 250 seconds]
relix has joined #ruby
Sonny|3oy has joined #ruby
nerium has quit [Quit: nerium]
moritzs has quit [Ping timeout: 272 seconds]
Dr3amc0d3r|away has quit [Ping timeout: 272 seconds]
<adac> Does someone know how to set the "referer" with mechnaize? I tried agent.referer = "http://example.com" but that doesn't seem to do the trick
Dr3amc0d3r|away has joined #ruby
nerium has joined #ruby
sysx1000 has joined #ruby
Ilyas_ has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
Lightsword has quit [Quit: Lightsword]
Ilyas has quit [Ping timeout: 255 seconds]
Fractional has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
timonv_ has quit [Remote host closed the connection]
lukeholder has joined #ruby
tlarevo_ has joined #ruby
wjimenez5271 has joined #ruby
timonv_ has joined #ruby
ibotexo has joined #ruby
<ibotexo> hi all. i have to add an argument (:rev_to) to a hash if my variable is not null. is there a special syntax for passing it? https://github.com/redmine/redmine/blob/master/app/helpers/application_helper.rb#L778
mattp___ has joined #ruby
mattp_ has quit [Read error: Connection reset by peer]
tlarevo has quit [Ping timeout: 245 seconds]
thomasxie has joined #ruby
mr_foobar_baz has joined #ruby
tlarevo_ has quit [Ping timeout: 250 seconds]
nerium has quit [Quit: nerium]
<Fractional> If I have a instance of a class called Foo within another class called Bar. How do I access Bar from Foo?
Takle_ has quit [Remote host closed the connection]
nerium has joined #ruby
<Fractional> Is there a way without passing a reference?
wjimenez5271 has quit [Ping timeout: 245 seconds]
TorpedoSkyline has joined #ruby
<gaussblurinc1> ibotexo: heh, you mean hash[:rev_ro] = val ? val : nil? but it creates a key, yes
ldnunes has joined #ruby
<gaussblurinc1> Fractional: yes, you could access to ram and with offset magic find a class…
<ibotexo> more like hash[rev_to] = val unless val.nil?
<jhass> Fractional: Bar.new ?
<ibotexo> but is there a syntax to do it inside these brackets {}?
<jhass> ibotexo: nope
<Fractional> gaussblurinc1: Do you have any resources which I could read about this?
<ibotexo> like {:arg1 => x, :rev_to => y unless y.nil?,:arg2 = y}
doev has joined #ruby
nopolitica has quit [Quit: WeeChat 0.4.2]
<jhass> Fractional: he was joking. You don't want to do this in a script that's longer than what it takes to do it (i.e. show that it might be possible and how dangerous it is)
<Fractional> jhass: I meant like: class Foo; def initialize; Bar.new; end; end; and then in Bar I want to do something like puts Foo.class without having to pass Foo as a argument.
<jhass> Fractional: not possible and a sign of broken OO design
Mon_Ouie has quit [Ping timeout: 240 seconds]
Grantlyk has joined #ruby
nuck has quit [Ping timeout: 245 seconds]
<Fractional> jhass: So the solution would be to pass it by reference?
<jhass> yes
joonty has quit [Ping timeout: 246 seconds]
InhalingPixels has joined #ruby
Takle has joined #ruby
bmurt has quit []
agjacome has quit [Quit: leaving]
havenwood has joined #ruby
<gaussblurinc1> Fractional: the good way to start is http://en.wikipedia.org/wiki/Software_design_pattern
nuck has joined #ruby
mr_foobar_baz has quit [Quit: WeeChat 0.4.3]
lxsameer has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Remote host closed the connection]
<gaussblurinc1> ibotexo: and what is the point of 'key' existence? you could check item by nil value: item[:rev_to] # nil
InhalingPixels has quit [Ping timeout: 260 seconds]
nerium has quit [Quit: nerium]
bearish has quit [Read error: Connection reset by peer]
nerium has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
relix has quit [Ping timeout: 255 seconds]
crdpink has quit [Ping timeout: 240 seconds]
crdprink2 has joined #ruby
bearish has joined #ruby
jonr22 has joined #ruby
relix has joined #ruby
MartinCleaver has joined #ruby
thomasxie has quit [Remote host closed the connection]
easier has joined #ruby
Grantlyk has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
philcris_ has joined #ruby
whyy has quit [Remote host closed the connection]
easier has quit [Read error: Connection reset by peer]
hellangel7 has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
jonr22 has quit [Quit: WeeChat 0.4.2]
Soda has quit [Remote host closed the connection]
Macaveli has joined #ruby
philcris_ has quit [Ping timeout: 260 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
osvico has joined #ruby
iteratorP has joined #ruby
easier has joined #ruby
threesixes has quit [Remote host closed the connection]
mijicd has quit [Quit: leaving]
TorpedoSkyline has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 245 seconds]
nerium has quit [Quit: nerium]
hsps_ has quit [Quit: Leaving]
lxsameer has joined #ruby
nerium has joined #ruby
phutchins has joined #ruby
TorpedoSkyline has quit [Client Quit]
osvico has quit [Ping timeout: 240 seconds]
banister has joined #ruby
Photism has joined #ruby
osvico has joined #ruby
phoo1234567 has joined #ruby
TorpedoSkyline has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
Cheezebox has joined #ruby
qba73_ has joined #ruby
qba73 has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
SilkFox has joined #ruby
shachar has joined #ruby
nerium has quit [Quit: nerium]
nerium has joined #ruby
krz has joined #ruby
Fractional has quit [Remote host closed the connection]
adac has quit [Ping timeout: 250 seconds]
<shachar> Hi Guys , a very small and simple question about ruby constructor. i have created a setter which validates date , how can i call this set method during object initialization? Please have a look here http://pastebin.com/yD6LUrzV THANKS
gkagan has joined #ruby
Sgeo_ has quit [Read error: Connection reset by peer]
SilkFox has quit [Ping timeout: 240 seconds]
<apeiros> shachar: that code is not valid
chipotle has quit [Client Quit]
jottr_ has joined #ruby
<apeiros> shachar: you'd call it via self.set_day = day_value
chipotle has joined #ruby
<shachar> apeiros , the setter is not valid?
<apeiros> your code is not valid
timonv_ has quit [Remote host closed the connection]
<apeiros> in your pastebin, line 10, `if day.between?(1,31) do` - there's no `do` after an if. either nothing, or a `then`
<apeiros> line 12 you terminate the if with an end, but line 13 you have an else. that doesn't work.
timonv_ has joined #ruby
<shachar> ok i understand
<apeiros> assuming day() is an attr_reader :day, then line 15 does nothing
Logico has quit [Quit: Saindo]
Zebroid has joined #ruby
<shachar> but if there is a way to pass the constuctor directly to the setter method?
<shachar> is
chipotle has quit [Client Quit]
<shachar> to validate during object initialization?
<apeiros> and last: note that 01 is octal literal. it works with 01, but if you had e.g. 08 or 09, it'd raise.
<apeiros> what do you mean, "pass the constructor"?
timonv^ has joined #ruby
<apeiros> brb
gkagan has quit [Ping timeout: 260 seconds]
<shachar> if i initialiaze an object with invalid date , i won't get over to the resetting_value method , it will be exeucted only if i`ll try to set an invalid date
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shachar> apeiros , can you please paste your version to this? i didn't quite understood all your comments
timonv_ has quit [Ping timeout: 245 seconds]
blinkdesign has quit [Remote host closed the connection]
Zebroid has quit [Ping timeout: 240 seconds]
TupskinVonAlbert has quit [Remote host closed the connection]
theharshest has quit [Ping timeout: 240 seconds]
JBreit has quit [Read error: Connection reset by peer]
Grantlyk has joined #ruby
Takle has quit [Remote host closed the connection]
sepp2k has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
georgelappies has joined #ruby
phutchins has quit [Ping timeout: 246 seconds]
<apeiros> back
<apeiros> shachar: what did you not understand?
Grantlyk has quit [Remote host closed the connection]
phutchins has joined #ruby
lolmaus has joined #ruby
failshell has joined #ruby
nateberkopec has joined #ruby
tlarevo has joined #ruby
Cheezebox has quit [Remote host closed the connection]
timonv^ has quit [Remote host closed the connection]
blinkdesign has joined #ruby
arup_r has joined #ruby
timonv_ has joined #ruby
Cheezebox has joined #ruby
DaniG2k has quit [Quit: leaving]
Skwallinux has quit [Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]]
JBreit has joined #ruby
timonv^ has joined #ruby
timonv^ has quit [Remote host closed the connection]
paulfm has joined #ruby
<arup_r> can any one help me , why my stub not working ? https://gist.github.com/aruprakshit/bb44165c3b40f4689fb9
stan_br has joined #ruby
<stan_br> hi all
arup_r has quit [Remote host closed the connection]
banister has joined #ruby
JBreit has left #ruby [#ruby]
TupskinVonAlbert has joined #ruby
jespada has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
<stan_br> I'm trying to make a rails 4 application that is as fallow: a recipe has_many tags. Many tags are _already_ in the database on its own table. When the user creates a new Recipe, it should be able to select many tags. I was trying to do that with nested attributes, but since I'm not creating new Tags, I guess thats not the right way to do it. Any tips?
blinkdesign has quit [Ping timeout: 244 seconds]
earthquake has joined #ruby
hanjianwei has quit [Ping timeout: 255 seconds]
failshel_ has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 240 seconds]
<apeiros> stan_br: #rubyonrails
davispuh has joined #ruby
<stan_br> nice tip ehe ;)
thomasxie has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blinkdesign has joined #ruby
blinkdesign has quit [Remote host closed the connection]
blinkdesign has joined #ruby
CodePulsar has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
adac has joined #ruby
xcv has joined #ruby
InhalingPixels has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
mercwithamouth has joined #ruby
havenwood has joined #ruby
Cheezebox has quit [Remote host closed the connection]
Morkel has quit [Quit: Morkel]
avalarion has joined #ruby
workmad3 has joined #ruby
mbuf has quit [Remote host closed the connection]
<bMalum> Hey Guys i try to write a Gem … i strated with bundle gem bMarmot and i have “require "bMarmot/version" in my /lib/bMarmot and in /lib/bMarmot/version.rb ther Version File … whats wrong?
<jhass> bMalum: nothing
InhalingPixels has quit [Ping timeout: 245 seconds]
<bMalum> jhass - so why do i get this line?
<bMalum> “/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bMarmot/version (LoadError)”
<jhass> what command are you running?
timonv_ has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
tlarevo_ has joined #ruby
<bMalum> ruby ./lib/bMarmot.rb -> told in the Turial from my School ...
tlarevo has quit [Ping timeout: 260 seconds]
havenwood has quit [Ping timeout: 264 seconds]
<bMalum> i think there is the problem right?
<jhass> try bundle exec ruby lib/bMarmot.rb
arup_r has joined #ruby
<jhass> we tend to use snake_case for filenames btw
whyy has joined #ruby
timonv_ has quit [Remote host closed the connection]
<bMalum> jhass - nice - worked! - you mean b_Marmot?
<jhass> b_marmot. Given that file includes a class or module named BMarmot
<jhass> s/includes/contains
timonv_ has joined #ruby
ptierno has quit [Read error: Connection reset by peer]
<bMalum> okey :) thank you very much!
georgelappies has quit [Remote host closed the connection]
<workmad3> bMalum: to run without the bundle exec, you need to do 'ruby -I lib lib/bMarmot.rb' btw
cocotton has joined #ruby
<workmad3> bMalum: as the problem is that your gem's lib/ directory isn't on the $LOAD_PATH in ruby, which is used to find relative files with 'require'
blinkdesign has quit []
<workmad3> bMalum: 'bundle exec' sorts that out, and rubygems also sorts it out for you when the gem is installed normally
britneywright has joined #ruby
<workmad3> bMalum: it's just the one case where you're outside of both those mechanisms that you hit :)
whyy has quit [Ping timeout: 250 seconds]
nathankleyn has joined #ruby
mary5030 has joined #ruby
earthquake has quit [Quit: earthquake]
cocotton has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
georgelappies has joined #ruby
mary5030 has joined #ruby
sk87 has joined #ruby
thams has joined #ruby
<bMalum> workmad3: oh now i get it why this happened - do you have a gem in you mind which i could use to look at for help? Just switched from Java and Ocaml to Ruby :D
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
cocotton_ has joined #ruby
ptierno has joined #ruby
claymore has quit [Quit: Leaving]
nathankleyn has quit [Client Quit]
mityaz has joined #ruby
nathankleyn has joined #ruby
stan has quit [Read error: Connection reset by peer]
xcv_ has joined #ruby
cocotton_ has quit [Remote host closed the connection]
cocotton has joined #ruby
xcv has quit [Ping timeout: 245 seconds]
matchaw has quit [Ping timeout: 245 seconds]
thams has quit [Ping timeout: 264 seconds]
Cheezebox has joined #ruby
michael_lee has joined #ruby
jerius has joined #ruby
timonv_ has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
timonv_ has joined #ruby
txdv_ has quit [Read error: Connection reset by peer]
kaspertidemann has quit []
pandaant has quit [Quit: Lost terminal]
larissa has joined #ruby
Takle has joined #ruby
txdv has joined #ruby
icebourg has joined #ruby
pandaant has joined #ruby
icebourg has quit [Read error: Connection reset by peer]
kedric has joined #ruby
icebourg has joined #ruby
webus has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
SilkFox has joined #ruby
cpruitt has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
hellangel7 has quit [Read error: Connection reset by peer]
thams has joined #ruby
gkagan has joined #ruby
Aranshada|W has joined #ruby
brothmars has joined #ruby
<jhass> don't worry about asking too many questions here ;)
SilkFox has quit [Ping timeout: 255 seconds]
Zebroid has joined #ruby
timonv_ has joined #ruby
bmurt has joined #ruby
livingstn has joined #ruby
thams has quit [Ping timeout: 255 seconds]
lxsameer has quit [Quit: Leaving]
DivineEn1ity has quit [Quit: Lost terminal]
MartinCleaver has quit [Quit: MartinCleaver]
spastorino has joined #ruby
iamjarvo has joined #ruby
itspots has joined #ruby
GriffinH_ has quit [Remote host closed the connection]
Zebroid has quit [Ping timeout: 260 seconds]
obscured has joined #ruby
qba73_ has quit [Remote host closed the connection]
bigboss has joined #ruby
freerobby has joined #ruby
bigboss has left #ruby [#ruby]
<arup_r> jhass: thank you :-)
ArchBeOS-work has joined #ruby
<arup_r> to allow us questions as many as possible here
qba73 has joined #ruby
gnephiak has joined #ruby
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
bigboss has joined #ruby
bigboss has left #ruby [#ruby]
qwyeth has joined #ruby
dawkirst has quit [Remote host closed the connection]
snath has quit [Ping timeout: 250 seconds]
alexju has joined #ruby
RandyT has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #ruby
aspiers has joined #ruby
root3d has quit [Quit: Leaving]
doodlehaus has joined #ruby
qwyeth has quit [Remote host closed the connection]
charliesome has joined #ruby
qwyeth has joined #ruby
banister has joined #ruby
yfeldblum has joined #ruby
joast has joined #ruby
chipotle has joined #ruby
momomomomo has joined #ruby
kiri has quit [Ping timeout: 245 seconds]
jxf_ has joined #ruby
philcrissman has joined #ruby
MartinCleaver has joined #ruby
ngn999 has joined #ruby
mengu has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 272 seconds]
livingstn has quit []
InhalingPixels has joined #ruby
jheg has joined #ruby
zequix has quit []
TupskinVonAlbert has quit [Ping timeout: 260 seconds]
mark_locklear has joined #ruby
philcrissman has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby
cy has joined #ruby
Dusty_ has quit [Ping timeout: 250 seconds]
Sonny|3oy has quit [Quit: Leaving]
Cheezebox has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 260 seconds]
InhalingPixels has quit [Ping timeout: 250 seconds]
oo_ has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.3]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djcp has joined #ruby
kiri has joined #ruby
ta has quit [Remote host closed the connection]
icebourg has quit []
cocotton_ has joined #ruby
ta has joined #ruby
MartinCleaver has quit [Quit: MartinCleaver]
Cheezebox has joined #ruby
livingstn has joined #ruby
cocotton_ has quit [Remote host closed the connection]
ngn999 has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
crdpink has joined #ruby
qmfnp has joined #ruby
crdprink2 has quit [Ping timeout: 245 seconds]
aspiers has joined #ruby
bearish has quit [Ping timeout: 260 seconds]
oo_ has quit [Ping timeout: 245 seconds]
peret has quit [Disconnected by services]
maximski has quit []
klmlfl has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
jheg has quit [Quit: jheg]
stan_br has quit [Quit: Page closed]
cocotton has quit [Ping timeout: 272 seconds]
TC` has quit [Ping timeout: 255 seconds]
ta has quit [Ping timeout: 244 seconds]
St_Marx has joined #ruby
nerium has quit [Quit: nerium]
thams has joined #ruby
dorei has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
cocotton has joined #ruby
nerium has joined #ruby
cocotton has quit [Remote host closed the connection]
diegoviola has joined #ruby
<gaussblurinc1> hm
cocotton has joined #ruby
oo_ has joined #ruby
x1337807x has joined #ruby
iteratorP has quit [Remote host closed the connection]
x1337807x has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
thams has quit [Ping timeout: 245 seconds]
banister has joined #ruby
oo_ has joined #ruby
banister has quit [Read error: Connection reset by peer]
dawkirst has joined #ruby
banister has joined #ruby
bearish has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MartinCleaver has joined #ruby
<gaussblurinc1> is this design good enough: https://gist.github.com/lolgear/116937f7925b514bfd7e
obscured has quit [Ping timeout: 260 seconds]
jottr_ has joined #ruby
sambao21 has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
voodoofish has quit [Ping timeout: 250 seconds]
voodoofish has joined #ruby
cy has quit [Ping timeout: 245 seconds]
obscured has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
TieSoul has joined #ruby
thams has joined #ruby
tylerkern has joined #ruby
dc_ has joined #ruby
dawkirst has quit [Ping timeout: 255 seconds]
jheg has joined #ruby
<jhass> gaussblurinc1: don't make that abstract, show your concrete usecase
aclearman037 has quit [Ping timeout: 255 seconds]
timonv_ has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 244 seconds]
timonv_ has joined #ruby
MartinCleaver has quit [Quit: MartinCleaver]
cocotton has quit [Remote host closed the connection]
aclearman037 has joined #ruby
SilkFox has joined #ruby
xenomorph is now known as {xenomorph}
paulfm has quit [Ping timeout: 240 seconds]
agent_white has quit [Read error: Connection reset by peer]
{xenomorph} is now known as xenomorph
anaeem1_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
sambao21 has quit [Ping timeout: 272 seconds]
paulfm has joined #ruby
<workmad3> gaussblurinc1: class methods aren't in the method lookup for instances
<workmad3> gaussblurinc1: so you need to call them explictly on the class, not implicitly
timonv_ has quit [Ping timeout: 260 seconds]
<jhass> ^ but seems fine if you really need that both ways
SilkFox has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
RandyT has joined #ruby
<workmad3> jhass: he wants to use the class method in the instance method implementation ;)
<gaussblurinc1> jhass: and what's wrong here? I don't want to duplicate code
agjacome has joined #ruby
shackleford has joined #ruby
shackleford has quit [Read error: Connection reset by peer]
<jhass> workmad3: he asked whether that's okay design. gaussblurinc1 I didn't say it's wrong, only that you need to be sure you need it both ways
hellangel7 has joined #ruby
shackleford has joined #ruby
<workmad3> ah, ok :)
Zebroid has joined #ruby
<gaussblurinc1> jhass: heh, thanks, it is clear now
<workmad3> jhass: ah, I was personally commenting on the fact that the (pseudo-)ruby there wouldn't work :)
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tlarevo_> Hi, what is the optimum length of a ruby method i read it should be like 10 lines but isn't that too extreme ?
jottr_ has quit [Ping timeout: 240 seconds]
<gaussblurinc1> workmad3: you are right, I miss self.class.relativePath in instance implementation
<Hanmac> tlarevo_: as long as she needed to be ,P
<workmad3> tlarevo_: as short as you can make it
nathankleyn has joined #ruby
<gaussblurinc1> tlarevo_: I prefer names that I could understand
<jhass> tlarevo_: shorter is better but not always possible. Make it something to stick to, not a dogma. A second stronger border is one screen size
timonv_ has joined #ruby
<Hanmac> for PHP and other languages are code style guides, but imo i do not trust them
mercwithamouth has quit [Ping timeout: 272 seconds]
agent_white has joined #ruby
dorei has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
<workmad3> jhass: I quite liked one anecdote I came across with a coder who used 'no larger than my head' as a metric
TorpedoSkyline has joined #ruby
<workmad3> jhass: by which he put his head against the screen, and the height could be no longer than his head :)
cocotton has joined #ruby
cocotton has quit [Remote host closed the connection]
<jhass> oh, that's awesome
<jhass> I should adopt that
<Hanmac> XDDDD
Zebroid has quit [Ping timeout: 245 seconds]
dorei has joined #ruby
cocotton has joined #ruby
<jhass> damn, my head is bigger than my laptop screen :(
<tlarevo_> I see thanks, so 15-20 lines would be cool right but if you use rubocop it tries to force you to have 10 lines
thams has quit [Ping timeout: 264 seconds]
<jhass> rubocop's default config is very... opinionated
<tlarevo_> jhass: ya :)
asteve has joined #ruby
<Hanmac> tlarevo_: like i said i do not trust such guides ... it might say that a class has to much methods .. (imo such things are bullshit)
cocotton has quit [Remote host closed the connection]
divi has joined #ruby
<jhass> tlarevo_: what that means is that you can have your own opinions, it doesn't define dogmatic rules, ymmw
beef-wellington has joined #ruby
<tlarevo_> Hanmac: I agree but still if you follow them to some extent you get clean and nice code isn't it ? i did some refactoring and new code looks nice
joonty has joined #ruby
livingstn has quit []
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Ankhers has joined #ruby
hellangel7 has quit [Ping timeout: 244 seconds]
jimms has joined #ruby
_tpavel has quit [Quit: Leaving]
cocotton_ has joined #ruby
<sonOfRa> https://gist.github.com/sonOfRa/b74537228b44820ebc01 I've got this piece of code, and it got a little convoluted. It does exactly what it should do (set ldap attributes, and stop setting any more attributes if setting any attribute failed)
<sonOfRa> I can't think of a way to make it look less convoluted, apart from if-blocks for every single statement
<sonOfRa> Which really isn't that much less convoluted
tylersmith has joined #ruby
CodePulsar has joined #ruby
iamjarvo has joined #ruby
dawkirst has joined #ruby
tobago has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
havenwood has quit [Remote host closed the connection]
cocotton_ has quit [Remote host closed the connection]
<jhass> sonOfRa: build a hash with attribute_name => value, so {:cn => user.cn, and so on. Then iterate over that }.each do |attribute, value| set; break/raise unless success
<jhass> btw we tend to use underscore_case for method names
agent_white has joined #ruby
<sonOfRa> old habits die hard :/ Most of my methods are underscore_case
agent_white has quit [Read error: Connection reset by peer]
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
yeticry has quit [Ping timeout: 240 seconds]
thomasxie has quit [Remote host closed the connection]
yfeldblum has joined #ruby
thomasxie has joined #ruby
hellangel7 has joined #ruby
MartinCleaver has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
ffranz has joined #ruby
agent_white has joined #ruby
MartinCleaver has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby
snath has joined #ruby
n1lo has joined #ruby
cocotton has joined #ruby
Aranshada|W has quit [Read error: Connection reset by peer]
failshel_ is now known as failshell
tagrudev has quit [Remote host closed the connection]
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradleyprice has quit [Remote host closed the connection]
brothmars has quit [Remote host closed the connection]
agent_white has joined #ruby
bradleyprice has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
brothmars has joined #ruby
Zebroid has joined #ruby
gkagan has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
W0rmDr1nk has quit [Ping timeout: 245 seconds]
thams has joined #ruby
voodoofish1 has joined #ruby
thams has quit [Client Quit]
voodoofish has quit [Ping timeout: 246 seconds]
<TieSoul> Hello
<jhass> sonOfRa: I think I'd do http://paste.mrzyx.de/p7c0b1283/
Zebroid has quit [Remote host closed the connection]
ryanleesipes has joined #ruby
cpruitt has quit [Quit: cpruitt]
InhalingPixels has joined #ruby
<sonOfRa> That looks far more readable indeed
<sonOfRa> Thank you!
cpruitt has joined #ruby
<TieSoul> How would I pick the first object out of an array that has a certain value in one of its variables? All elements in the array are the same class and have a non-nil value in the variable I'm looking for.
bradleyprice has quit [Ping timeout: 272 seconds]
RandyT has quit [Ping timeout: 240 seconds]
<DefV> TieSoul: detect
cpruitt has quit [Client Quit]
matchaw has joined #ruby
agent_white has joined #ruby
<jhass> or its quicker to type alias find
agent_white has quit [Read error: Connection reset by peer]
yekta has quit [Quit: yekta]
<DefV> >> [{a: 1}, {a: 2}, {a: 3}].detect {|hash| hash[:a] == 2 }
<eval-in> DefV => {:a=>2} (https://eval.in/181352)
<TieSoul> ahh
<TieSoul> thanks
<DefV> I like the detect / select / reject methods
<DefV> over find
<DefV> *ect
kaspertidemann has joined #ruby
RandyT has joined #ruby
Aranshada|W has joined #ruby
alekst has joined #ruby
Takle has quit [Remote host closed the connection]
icebourg has joined #ruby
InhalingPixels has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
<jhass> mmh, I categorize detect to the weird ones and have find, select, reject one group :P
larissa has quit [Quit: Leaving]
gkagan has joined #ruby
<Hanmac> DefV: or shorter ;P
<Hanmac> >> [{a: 1}, {a: 2}, {a: 3}].detect {|a:| a == 2 }
<eval-in> Hanmac => {:a=>2} (https://eval.in/181354)
anarang has quit [Quit: Leaving]
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Snowstormer is now known as ^42
agent_white has joined #ruby
fold has quit [Ping timeout: 250 seconds]
agent_white has quit [Read error: Connection reset by peer]
jxf_ has quit [Read error: No route to host]
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fold has joined #ruby
x1337807_ has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
x1337807_ has quit [Max SendQ exceeded]
obscured has quit [Read error: Connection reset by peer]
tlarevo_ has quit [Remote host closed the connection]
dawkirst has quit [Remote host closed the connection]
x1337807_ has joined #ruby
sk87 has joined #ruby
x1337807_ has quit [Max SendQ exceeded]
tlarevo has joined #ruby
qmfnp has joined #ruby
x1337807_ has joined #ruby
nathankleyn has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
divi has joined #ruby
revoohc has joined #ruby
ryanleesipes has quit [Ping timeout: 240 seconds]
Cheezebox has quit [Remote host closed the connection]
freerobby has quit [Read error: Connection reset by peer]
x1337807x has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
chth0n has quit [Quit: Ex-Chat]
freerobby has joined #ruby
L3mce has quit [Ping timeout: 244 seconds]
kaspertidemann has quit []
kaspertidemann has joined #ruby
TC` has joined #ruby
noop has quit [Quit: Leaving]
tlarevo has quit [Ping timeout: 245 seconds]
Cheezebox has joined #ruby
Neomex has joined #ruby
tylersmith has quit [Remote host closed the connection]
Takle has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
toastynerd has joined #ruby
cy has joined #ruby
Jackneill has quit [Ping timeout: 245 seconds]
nobitanobi has joined #ruby
maximski has joined #ruby
W0rmDr1nk has joined #ruby
tylerkern has quit [Ping timeout: 260 seconds]
dawkirst has joined #ruby
L3mce has joined #ruby
gr33n7007h has quit [Ping timeout: 264 seconds]
treehug88 has joined #ruby
tylerkern has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ivko has joined #ruby
CaptainJet has joined #ruby
TorpedoSkyline has joined #ruby
<cschneid> For anybody who uses ruby-install - is there an uninstall command?
bal has quit [Quit: bal]
jobewan has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
tylerkern has joined #ruby
<ivko> Hi all. I've got a segfault on 2.1.2 with rspec when wrote some strange code, so, Ruby told me to file a bugreport. So, I've got a huge pile of questions: Should I do so? And if I do, is segfault a possible security issue? So, should I mail it to security@, or they have more important things to do? =)
TorpedoSkyline has quit [Client Quit]
TorpedoSkyline has joined #ruby
jdguzman has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
nathankleyn has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SilkFox has joined #ruby
sdwrage has joined #ruby
paulfm_ has joined #ruby
cocotton has quit [Remote host closed the connection]
treehug88 has quit [Ping timeout: 260 seconds]
cocotton has joined #ruby
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> just file the bug report
<pontiki> include the core dump
thomasxie has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 260 seconds]
thomasxie has joined #ruby
<ivko> ok, thank you
nathankleyn has joined #ruby
dawkirst has quit [Remote host closed the connection]
paulfm has quit [Ping timeout: 260 seconds]
doev has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
starkhallo has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
qmfnp has quit [Ping timeout: 255 seconds]
shachar has quit [Ping timeout: 260 seconds]
SilkFox has quit [Ping timeout: 260 seconds]
jprovazn has quit [Quit: Leaving]
W0rmDr1nk has quit [Ping timeout: 255 seconds]
freerobby has quit [Quit: Leaving.]
davedev2_ has joined #ruby
Rosa has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
patrick99e99 has joined #ruby
livingstn has joined #ruby
treehug88 has joined #ruby
qmfnp has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
pocketprotector has quit [Quit: Leaving...]
ryanleesipes has joined #ruby
tylersmith has joined #ruby
Morkel has joined #ruby
RandyT has quit [Ping timeout: 250 seconds]
patrick99e99 has quit [Ping timeout: 255 seconds]
mikepack has joined #ruby
<dorei> let's say I want to return an array from a method but I want that array to have my custom #<< method. Should I create a new class that would encapsulate Array, define my custom #<< method there and return objects of that class or should I add on the fly that method to the array (using metaprogramming) ?
terrellt has joined #ruby
mikepack has quit [Remote host closed the connection]
davedev2_ has quit []
mikepack has joined #ruby
agent_white has joined #ruby
davedev24_ has joined #ruby
yfeldblum has joined #ruby
<speakingcode> dorei: either approach would work i believe.
agent_white has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
<apeiros> dorei: proper class IMO
<jhass> dorei: use a class
<apeiros> you're breaking expectations by redefining some methods
gauke has quit [Quit: gauke]
RandyT has joined #ruby
<dorei> magic always breaks expectations :)
arya_ has quit [Ping timeout: 240 seconds]
<speakingcode> the latter (dynamically adding the method) might cause unexpected issues tho by changing an already used methods meaning
<dorei> anyway, i'll use a class :)
<speakingcode> ^^ what they said
<apeiros> then you're using bad magic
philcrissman has joined #ruby
workmad3 has quit [Ping timeout: 260 seconds]
einarj has quit [Remote host closed the connection]
mikepack has joined #ruby
toastynerd has quit [Remote host closed the connection]
tylerkern has quit [Read error: Connection reset by peer]
zorak has quit [Ping timeout: 260 seconds]
fabrice31 has quit [Remote host closed the connection]
centrx has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
Zebroid has joined #ruby
agent_white has joined #ruby
tylerkern has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Guest68555 has quit [Quit: Leaving]
RTG` has joined #ruby
philcrissman has quit [Ping timeout: 250 seconds]
zorak has joined #ruby
zeroNones has joined #ruby
matchaw has quit [Ping timeout: 250 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
nathankleyn has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has joined #ruby
TC` has quit [Quit: Leaving]
beemo has joined #ruby
Dusty___ has joined #ruby
bearish has quit [Remote host closed the connection]
bearish has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
doev has joined #ruby
Macaveli has joined #ruby
Duikb00t_ has quit [Ping timeout: 245 seconds]
britneywright has joined #ruby
Xeago_ has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xeago_ has quit [Remote host closed the connection]
Macaveli has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
speakingcode has quit [Remote host closed the connection]
bearish has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
InhalingPixels has joined #ruby
Xeago has quit [Ping timeout: 255 seconds]
gccostabr has quit [Quit: ZZZzzz…]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
gccostabr has joined #ruby
gccostabr has quit [Client Quit]
apeiros has quit []
tlarevo has joined #ruby
maletor_ has joined #ruby
jheg has quit [Quit: jheg]
segfalt has joined #ruby
LangeOortjes has joined #ruby
tylersmith has quit [Remote host closed the connection]
gccostabr has joined #ruby
tylersmith has joined #ruby
InhalingPixels has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
aspires has joined #ruby
agent_white has joined #ruby
Zebroid has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 264 seconds]
kireevco has joined #ruby
charliesome has quit [Quit: zzz]
treehug88 has quit [Remote host closed the connection]
treehug88 has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
icarus has joined #ruby
emmesswhy has joined #ruby
agent_white has joined #ruby
thomasxie has quit [Ping timeout: 245 seconds]
agent_white has quit [Read error: Connection reset by peer]
hiall_ has joined #ruby
Zebroid has joined #ruby
hiall has quit [Ping timeout: 246 seconds]
hiall_ is now known as hiall
ht has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
speakingcode has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ht__th has quit [Ping timeout: 244 seconds]
Takle has quit [Remote host closed the connection]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
IceDragon has joined #ruby
C4rlosCardona has joined #ruby
mkaesz has quit [Ping timeout: 244 seconds]
tylerkern has joined #ruby
Xeago has joined #ruby
arup_r has joined #ruby
DrShoggoth has quit [Ping timeout: 240 seconds]
Takle_ has joined #ruby
cocotton has quit [Remote host closed the connection]
<sonOfRa> is it discouraged to use the value of another parameter as a default for an optional parameter?
<jhass> wouldn't say so, what's your usescase though? (gist the entire method)
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<sonOfRa> ldap thingy for mail aliases, by default, the mail-address of the alias should be the commonname of the alias
<jhass> I think in this case I'd do mag=nil and mag || name
krisquigley has quit [Remote host closed the connection]
<sonOfRa> any specific reason?
<jhass> just style
<jhass> can't really say why even
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cocotton has joined #ruby
pandaant has quit [Remote host closed the connection]
<jhass> I think it makes the intention clearer for me, it's not hidden in the defaults
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
zeroNones has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
zB0hs has joined #ruby
osvico has quit [Ping timeout: 245 seconds]
kireevco has left #ruby [#ruby]
shredding has quit [Quit: shredding]
aganov has quit [Quit: Leaving]
Aranshada|W has quit [Read error: Connection reset by peer]
xcv has joined #ruby
speakingcode has quit [Quit: Lost terminal]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
poulet_a has quit [Quit: Quitte]
Zebroid has quit [Remote host closed the connection]
Hanmac has joined #ruby
SilkFox has joined #ruby
geggam has joined #ruby
Kricir has joined #ruby
xcv_ has quit [Ping timeout: 244 seconds]
benzrf|offline is now known as benzrf
timonv_ has quit [Remote host closed the connection]
ta has joined #ruby
startupality has quit [Quit: startupality]
timonv_ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Shidash has joined #ruby
benzrf is now known as benzrf|offline
michaeldeol has joined #ruby
joonty has quit [Quit: Leaving]
havenwood has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
rippa has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
DrShoggoth has joined #ruby
charliesome has joined #ruby
deric_skibotn has joined #ruby
divi has joined #ruby
bricker`work has joined #ruby
SloggerKhan1 has quit [Quit: Leaving.]
bradleyprice has joined #ruby
timonv_ has quit [Ping timeout: 272 seconds]
IcyDragon has joined #ruby
SloggerKhan has joined #ruby
banister has joined #ruby
ghostmoth has joined #ruby
nszceta has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
gr33n7007h has joined #ruby
IcyDragon is now known as IceDragon
maestrojed has joined #ruby
toastynerd has joined #ruby
Morkel has quit [Quit: Morkel]
W0rmDr1nk has joined #ruby
lkba has joined #ruby
speakingcode has joined #ruby
Akagi201_ has quit [Remote host closed the connection]
Bouncer0 has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
cocotton has quit [Remote host closed the connection]
Bouncer0 has left #ruby [#ruby]
^42 is now known as Snowstormer
crdprink2 has joined #ruby
crdpink has quit [Ping timeout: 260 seconds]
jmbrown412 has joined #ruby
TieSoul has quit [Remote host closed the connection]
gccostabr has quit [Quit: ZZZzzz…]
jimms has quit []
gccostabr has joined #ruby
cocotton has joined #ruby
agent_white has joined #ruby
mattmcclure has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
lw has joined #ruby
sdouglas has joined #ruby
Eiam has joined #ruby
patrick99e99 has joined #ruby
IceDragon has quit [Ping timeout: 255 seconds]
sdouglas has quit [Client Quit]
IceDragon has joined #ruby
sdouglas has joined #ruby
bluenemo has joined #ruby
qba73 has quit []
Guest75186 has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
EvanR has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
EvanR is now known as Guest21618
Wolland has joined #ruby
starkhallo is now known as starkhalo
claymore has joined #ruby
sysx1000 has quit [Quit: sysx1000]
ivko has quit [Quit: Konversation terminated!]
bearish has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 244 seconds]
nerium has quit [Quit: nerium]
b00stfr3ak has joined #ruby
thams has joined #ruby
nerium has joined #ruby
cdime has joined #ruby
<bricker`work> So ruby 2.2 will GC symbols created at runtime... which symbols *won't* be GC'd, then?
omosoj has joined #ruby
<havenwood> bricker`work: system internal ones, i think
<havenwood> bricker`work: "Exclude a symbol which is translated ID in C-level from GC-able symbols"
<Hanmac> also symbols you created yourself with the C interface with rb_intern
workmad3 has quit [Ping timeout: 245 seconds]
InhalingPixels has joined #ruby
agent_white has joined #ruby
mkaesz has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<havenwood> bricker`work: check Static vs Dynamic symbol description: https://bugs.ruby-lang.org/issues/9634
<bricker`work> So what reason is there to use a string vs. symbol, or vice versa, when you have the option inside your program?
timonv_ has joined #ruby
Aranshada|W has joined #ruby
dumdedum has quit [Quit: foo]
<bricker`work> I guess it's still less work for the GC
kaspertidemann has quit []
<jhass> probably still guaranteed to be the same object if it has the same name and less memory consumption
<bricker`work> right
<bricker`work> unless it's been GC'd :)
<havenwood> bricker`work: there's still the `Array.new(100) { :hi.object_id }` versus `Array.new(100) { 'hi'.object_id }` distinction ^
<havenwood> listhpy symbols
InhalingPixels has quit [Ping timeout: 272 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mkaesz has quit [Ping timeout: 260 seconds]
jrhe_ has quit [Quit: Connection closed for inactivity]
wallerdev has quit [Quit: wallerdev]
<havenwood> static Symbol, dynamic pinned Symbol, dynamic Symbol, frozen String, String
<havenwood> would you like your internment walked through a warm room or burnt to a crisp?
<pipework> havenwood: what are
<pipework> havenwood: what are "... dynamic pinned Symbol, dynamic Symbol ..." ?
beemo has quit [Remote host closed the connection]
<Hanmac> havenwood: Strings could also be different that 2 String objects with different object ids have the same internal String pointer though sharing
<havenwood> pipework: dynamic symbols are the new GCable Ruby 2.2 ones
<pipework> havenwood: oh neat.
<pipework> havenwood: What's a dynamic pinned symbol then?
<havenwood> pipework: they don't get collected
agent_white has joined #ruby
<pipework> havenwood: How is that different from a symol?
<havenwood> pipework: kinda like converting a dynamic to a static type
<pipework> symbol*
agent_white has quit [Read error: Connection reset by peer]
<havenwood> converting a 2.2 sym to an oldschool one
<havenwood> SYM2ID or rb_intern
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
melik_ has joined #ruby
<pipework> Alright, so a dynamic symbol is one that can be GC'd, but is otherwise immutable, right?
Takle_ has quit [Remote host closed the connection]
oso|away is now known as oso96_2000
relix has joined #ruby
<havenwood> pipework: as far as i understand it, same old symbol, just GC considers the dynamic type sweepable
<pipework> havenwood: That's pretty neat.
Xeago has quit [Remote host closed the connection]
<havenwood> nice to prevent ooming with symbol spam!
Zebroid has joined #ruby
<havenwood> lets rails drop a bunch of symbol to string guards
mityaz has quit [Quit: Leaving]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> havenwood: Yeah, I bet this'll only be useful in practice for libraries. Oh, and the kind of people who turn user input into keys.
aspiers has joined #ruby
wjimenez5271 has joined #ruby
apeiros has joined #ruby
agent_white has joined #ruby
relix has quit [Client Quit]
agent_white has quit [Write error: Connection reset by peer]
<pipework> havenwood: Here's a cute picture as reward for edutating me. http://i.imgur.com/rSx651f.jpg
relix has joined #ruby
<shevy> is that how you look in reallife pipework
<shevy> when you don't shave
Soda has joined #ruby
hiall has quit [Quit: hiall]
AlSquire has quit [Quit: This computer has gone to sleep]
Lightsword has joined #ruby
michaeldeol has joined #ruby
Takle has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
matchaw has joined #ruby
dawkirst has joined #ruby
yeticry has quit [Quit: leaving]
yeticry has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
Squarepy has joined #ruby
dte has joined #ruby
agent_white has joined #ruby
mr_foobar_baz has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
aspires has quit []
mr_foobar_baz has quit [Client Quit]
yacks has joined #ruby
cocotton has quit [Remote host closed the connection]
aspires has joined #ruby
moritzs has joined #ruby
saarinen has joined #ruby
chrishough has quit [Quit: chrishough]
terrell_t has joined #ruby
dawkirst has quit [Ping timeout: 240 seconds]
<shevy> lol
<shevy> cursing
x1337807x has joined #ruby
<shevy> PHP leads the list
maximski has quit []
Kricir has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
kaspertidemann has quit [Client Quit]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jottr_ has joined #ruby
rdark has quit [Quit: leaving]
C4rlosCardona_ has joined #ruby
wallerdev has joined #ruby
cpruitt has joined #ruby
claymore has quit [Ping timeout: 246 seconds]
terrellt has quit [Ping timeout: 240 seconds]
C4rlosCardona has quit [Ping timeout: 240 seconds]
C4rlosCardona_ is now known as C4rlosCardona
SilkFox has joined #ruby
iamjarvo has joined #ruby
Jackneill has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
carraroj has joined #ruby
bwr has joined #ruby
mikecmpbll has joined #ruby
codecop has joined #ruby
Zebroid has quit [Remote host closed the connection]
rezzack has joined #ruby
tylersmith has joined #ruby
nobitanobi has quit [Remote host closed the connection]
philcrissman has joined #ruby
claymore has joined #ruby
nobitanobi has joined #ruby
agent_white has joined #ruby
Zebroid has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jottr_ has quit [Ping timeout: 272 seconds]
<waxjar> when a `gem build` fails because your certificate is no longer valid, what should you do?
<waxjar> just create a new certificate?
gaussblurinc1 has quit [Quit: Leaving.]
michaeldeol has joined #ruby
obs has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
_sillymarkets has joined #ruby
<_sillymarkets> d
SilkFox has joined #ruby
<_sillymarkets> Is anyone familiar with Viewpoint?
<_sillymarkets> Viewpoint gem
fabrice31 has joined #ruby
cocotton has joined #ruby
mattp___ has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
<apeiros> is that the ews client?
mahtennek has joined #ruby
philcrissman has quit [Ping timeout: 246 seconds]
<_sillymarkets> yeah, the ews client
bklane has joined #ruby
<_sillymarkets> I'm getting an error in /ews_soap_response.rb "envelope" : undefined method []
<apeiros> is it finally multi-tenant capable?
nobitanobi has quit [Ping timeout: 260 seconds]
<_sillymarkets> I think the latest version allows delegates to access
agent_white has joined #ruby
<apeiros> wrote our own ews client _sillymarkets. I only know it from evaluating others.
agent_white has quit [Read error: Connection reset by peer]
beef-wellington has quit [Ping timeout: 250 seconds]
twnaing has joined #ruby
mahtennek has quit [Client Quit]
havenwood has joined #ruby
timonv_ has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.3]
fabrice31 has quit [Ping timeout: 250 seconds]
twnaing has left #ruby [#ruby]
yetanotherdave has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_sillymarkets> apeiros , https://gist.github.com/sillymarketing/af21633212e350510684 | It fails at line 13, saying envelope is nil
<_sillymarkets> can you take a quick look?
<apeiros> I don't think I can help with that, sorry
wallerdev_ has joined #ruby
agent_white has joined #ruby
Xeago has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<_sillymarkets> ok, thanks though
wallerdev has quit [Ping timeout: 260 seconds]
wallerdev_ is now known as wallerdev
gr33n7007h has quit [Read error: Connection reset by peer]
sparrovv has joined #ruby
tlarevo_ has joined #ruby
cocotton has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
AlexBlom has joined #ruby
cocotton_ has joined #ruby
tlarevo has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
diegoviola has quit [Ping timeout: 255 seconds]
lw has quit [Quit: s]
krisquigley has joined #ruby
thams has quit [Quit: thams]
spyderman4g63 has joined #ruby
kedric has quit [Quit: kedric]
Dreamer3 has quit [Quit: Computer has gone to sleep.]
CuriousMind has joined #ruby
Zebroid has quit [Remote host closed the connection]
terrell_t has quit [Remote host closed the connection]
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt has joined #ruby
startupality has joined #ruby
aclearman037 has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
agent_white has joined #ruby
Spami has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
thams has joined #ruby
Lewix has joined #ruby
Lewix has quit [Read error: Connection reset by peer]
Spami has quit [Client Quit]
Akagi201 has joined #ruby
michaeldeol has joined #ruby
Lewix has joined #ruby
divi has joined #ruby
Spami has joined #ruby
gr33n7007h has joined #ruby
havenwood has quit [Remote host closed the connection]
divi has quit [Read error: Connection reset by peer]
divi has joined #ruby
michaeldeol has quit [Client Quit]
pandaant has joined #ruby
shinobi_one has joined #ruby
obs has quit [Ping timeout: 260 seconds]
dte has quit [Read error: No route to host]
<gr33n7007h> Is this a problem "unable to convert "\xDA" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_21/object_types, skipping"
adac has quit [Ping timeout: 245 seconds]
mattp___ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<apeiros> gr33n7007h: yes, because \xDA is not defined as a character in ascii
<apeiros> hm… then again - what exactly are you asking?
<gr33n7007h> It happened when I installed pry and pry-doc
Akagi201 has quit [Ping timeout: 260 seconds]
Xeago has quit [Remote host closed the connection]
<gr33n7007h> or is it something and nothing
<apeiros> not enough information
<apeiros> but I assume it happened during doc generation
<apeiros> and then it just means that at worst your docs are garbled/incomplete.
yacks has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby
<gr33n7007h> apeiros, how can I fix this?
TC` has joined #ruby
<apeiros> gr33n7007h: with that little information you gave - no idea.
djbkd has joined #ruby
<gr33n7007h> apeiros, what info would you need?
benzrf|offline is now known as benzrf
Rosa is now known as Jarboe
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frankle has joined #ruby
Takle has quit [Remote host closed the connection]
<TC`> How I should I modify RakeFile, to give it arguments 'rake run anyFile.filetype' ?
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
doev has quit [Ping timeout: 244 seconds]
wallerdev_ has joined #ruby
wallerdev has quit [Ping timeout: 272 seconds]
wallerdev_ is now known as wallerdev
zz_jrhorn424 is now known as jrhorn424
maestrojed has quit [Quit: Computer has gone to sleep.]
<gr33n7007h> I guess it's not that much of a biggie
kaspertidemann has joined #ruby
<CuriousMind> Hello everyone, I have completed my first independent project in Ruby.
Takle_ has joined #ruby
fschuindt has joined #ruby
<fschuindt> Guys, how can I use objects to interact with external methods? Something like this: https://gist.github.com/fschuindt/7a7f35aa62443e38852b
maximski has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<CuriousMind> I am 17 and I am a beginner in programming. I created a Blackjack game, please feel free to give me advice and comments.
sylvanica has joined #ruby
<apeiros> fschuindt: you pass the object as an argument
<jhass> fschuindt: push the end from the class definition behind the end form the method definition
<CuriousMind> Thank you. By the way, I am Noob101.
<apeiros> jhass: that somewhat beats the "outside method" part :)
<fschuindt> apeiros: thank you, I tough that was a way like this.
<jhass> apeiros: I go by code and he wants to call it on the object
icole has joined #ruby
workmad3 has joined #ruby
<TC`> fschuindt, in free time read and learn: https://github.com/bbatsov/ruby-style-guide
<TC`> oh so fschuindt , not for you
<TC`> sorry*
<TC`> CuriousMind, read in spare time https://github.com/bbatsov/ruby-style-guide
momomomomo has quit [Quit: momomomomo]
* CuriousMind gulps
andrewlio has quit [Read error: No route to host]
<CuriousMind> TC`, did I do something wrong? :(
<apeiros> CuriousMind: congrats, well done
adac has joined #ruby
Sonny|3oy has joined #ruby
<TC`> CuriousMind, good job! Ruby style guide lets you learn to write easy readable code.
agent_white has joined #ruby
<apeiros> CuriousMind: does slowText really work for you? I don't see synch or flush
<CuriousMind> apeiros: Thank you, that took be maybe two months or something. I don't remember but I took my laptop every with me, git a lot of git add, git commits.
qmfnp has quit [Read error: Connection reset by peer]
agent_white has quit [Read error: Connection reset by peer]
Soda has quit [Remote host closed the connection]
mark_locklear has quit [Ping timeout: 240 seconds]
<CuriousMind> I don't know a lot of methods, no one taught me that there are methods that do this or that so I created my own.
<apeiros> I think the style guide suggestions is a good one
<CuriousMind> TC`: Ah ok, the guide should teach me convention! THANKS!!!!!
<CuriousMind> apeiros: Thank you!!!!
<apeiros> I'd also try to migrate towards classes
fschuindt has quit [Quit: Page closed]
<shevy> CuriousMind you seem to intend the code when you don't need to intend
cocotton_ has quit [Remote host closed the connection]
<CuriousMind> shevy: What does that mean? Intend?
<shevy> CuriousMind also on Arrays, << is simpler than .push()
mijicd has joined #ruby
yetanotherdave has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 240 seconds]
<shevy> yeah I meant indent
<CuriousMind> I am going to write down everyone's ideas in a different file, keep em coming!!!
mijicd has quit [Client Quit]
<shevy> CuriousMind if you look at line 98 you have no indent there
maximski has quit []
<shevy> CuriousMind but at line 9 you have a big indent - both should be on the same level though
benzrf is now known as benzrf|offline
ntrophimov has joined #ruby
<ntrophimov> Hi all!
<apeiros> CuriousMind: line 445-533 can be condensed in probably ~15 lines
<jhass> ntrophimov: do not crosspost. If you do at least tell
<apeiros> CuriousMind: also use if/elseif instead of case; when
<ntrophimov> Ok, sorry
jherbst has joined #ruby
agent_white has joined #ruby
CorpusCallosum has joined #ruby
* apeiros wonders how long he should wait…
agent_white has quit [Read error: Connection reset by peer]
yetanotherdave has joined #ruby
<apeiros> I'll give him 3 minutes. that's IMO fair.
cocotton_ has joined #ruby
Sonny|3oy has quit [Remote host closed the connection]
mikepack has quit [Remote host closed the connection]
<ntrophimov> I have some other questions about curses in ruby too. Is there somebody who works with it?
<pipework> apeiros: Why use elsif over case with lambdas?
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dorei> curses are like a curse :p
<pipework> curses is impossible to write tests for.
chrishough has joined #ruby
W0rmDr1nk has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
<Mon_Ouie> >> 8.chr
<eval-in> Mon_Ouie => "\b" (https://eval.in/181414)
agent_white has quit [Read error: Connection reset by peer]
Takle_ has quit [Remote host closed the connection]
CorpusCallosum has quit [Ping timeout: 245 seconds]
<ntrophimov> Well, ok. Another help request -- can somebody please do a review for the following code
<Mon_Ouie> I don't know what the KEY_BACKSPACE is supposed to be but that seems normal
<apeiros> pipework: there are no lambdas involved. re why no case/when without case expression: style.
<pipework> apeiros: ah preference
mark_locklear has joined #ruby
terrell_t has joined #ruby
ntrophimov was kicked from #ruby by apeiros [so somebody even tells you to tell in all channels that you are cross-posting - I haven't seen you doing that…]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> pipework: yes
jheg has joined #ruby
Lewix has quit [Remote host closed the connection]
jprovazn has joined #ruby
ghr has joined #ruby
Lewix has joined #ruby
ntrophimov has joined #ruby
<ntrophimov> Guys, I'm NOT cross-posting. That happens only with ONE message
<ntrophimov> And I'm sorry about that
terrellt has quit [Ping timeout: 240 seconds]
<shevy> an unbeliever!
agent_white has joined #ruby
<shevy> kick him again!!!
agent_white has quit [Read error: Connection reset by peer]
m8 has joined #ruby
hellangel7 has quit [Read error: Connection reset by peer]
<apeiros> ntrophimov: yes, you did cross-post.
michaeldeol has joined #ruby
workmad3 has quit [Quit: Reconnecting]
<apeiros> ntrophimov: and you got told to say so in all channels. you did not.
workmad3 has joined #ruby
<dorei> when I forward a method to an ivar, should I use forwardable and def_delegators?
<ntrophimov> With one message only
Lewix has quit [Ping timeout: 246 seconds]
<apeiros> and "one" makes it magically not a crosspost?
<apeiros> sorry lad, that's not how it works.
<workmad3> dorei: depends on how much you're doing IMO
<dorei> a couple of methods max
<workmad3> dorei: if you're only forwarding one or two methods, pulling in the delegator is probably not worth the effort
ghr has quit [Ping timeout: 264 seconds]
isomorphismes is now known as humility
<ntrophimov> As you wish. You may kick me again
<workmad3> dorei: so I'd just hand-roll the methods
* workmad3 kicks ntrophimov
<workmad3> not gonna miss an opportunity like that :P
SilkFox_ has joined #ruby
<apeiros> ntrophimov: if you do it again, I will.
<shevy> ntrophimov please do it again
thousandwich has joined #ruby
thams has quit [Quit: thams]
amargherio has joined #ruby
thams has joined #ruby
humility is now known as isomorphismes
agent_white has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
kedric has joined #ruby
spyderman4g63 has joined #ruby
<ntrophimov> So, what about code review? Is everyone busy?
britneywright has joined #ruby
<shevy> that is not very convenient to browse
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<CuriousMind> apeiros: Why you say it like this, "~15 lines" o-o
<jhass> also cursed.. er curses code
SilkFox_ has quit [Ping timeout: 240 seconds]
<CuriousMind> I am looking at everyone's suggestions, I am analyzing everyone's information
Morkel has joined #ruby
<ntrophimov> This is my first Ruby project, so I need to hear the suggestions to make it better
<CuriousMind> By the way people, I use Ruby 1.9.3
<jhass> ntrophimov: let's talk about architecture. How do you guarantee anonymity?
<shevy> cool
<CuriousMind> Thank you TC` apeiros shevy for the advice
<shevy> first ruby project using curses
<ericwood> stay away from curses
<shevy> :D
<pipework> curses is hard
agent_white has joined #ruby
<ericwood> there was a CLI GUI lib posted the other day that works more like a web framework
Takle has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<ericwood> try that instead
<dorei> oracle forms used to be curses :p
reset has joined #ruby
DrShoggoth has quit [Quit: Leaving]
PsionTheory has joined #ruby
<ntrophimov> jhass: Other users can't see any nicknames or any additional info about user (IP addresses, etc)
<jhass> but the server still can
<jhass> so anyone with access to the server
SilkFox has quit [Ping timeout: 264 seconds]
<jhass> or the connections to the server
benzrf|offline is now known as benzrf
<ntrophimov> jhass: Yep, you're right, ofc
<pipework> It's not remotely anonymous, as jhass pointed out. Also, logging doesn't exactly instill confidence.
craigp has joined #ruby
<jhass> ntrophimov: so maybe strike that anonymous_ from the name for now
luksaur has joined #ruby
<ericwood> logging is responsible for a lot of deforrestation
<ericwood> save the trees :'(
chrishou_ has joined #ruby
<pipework> Neat curses stuff though.
<jhass> ntrophimov: code wise all your $globals want to be CONSTANTS
<jhass> ntrophimov: don't do open rescue's, always list the exceptions you expect and want to handle
<jhass> I see no reason for your wrapper around at_exit
benlieb has joined #ruby
agent_white has joined #ruby
Lightsword has quit [Quit: Lightsword]
agent_white has quit [Read error: Connection reset by peer]
<ntrophimov> pipework: Where can I find the better code for this?
aspires has quit []
chrishou_ has quit [Client Quit]
<pipework> ntrophimov: minitest has some
<jhass> I prefer to break out of loops instead of using throw/catch
InhalingPixels has joined #ruby
ddv has joined #ruby
chrishou_ has joined #ruby
<ntrophimov> jhass: Is there constants in Ruby unlike Python? Ok, I'll google it
Takle has quit [Remote host closed the connection]
<ntrophimov> jhass: Why? Because I can rescue some system exceptions like Ctrl-C?
<jhass> THIS_IS_A_CONSTANT = value
<jhass> simple as that
benzrf is now known as benzrf|offline
<ericwood> if it's all caps it's a constant
<CuriousMind> Hello everyone, I have a quesition
<jhass> ntrophimov: because you'll notice if you encounter exceptions you might not expect and need to handle differently
<ericwood> CuriousMind: do tell
<jhass> ericwood: ntrophimov actually if it starts with caps is sufficient, but we use CamlCase only for module and class names
<ntrophimov> jhass: Ah, RubyMIne tells me that it's non-Ruby way to name variables like this
<CuriousMind> ericwood: Is there a web application that allows me and another person to edit code in the editor instantaneously?
chrishough has quit [Quit: chrishough]
<ericwood> CuriousMind: there's things like typewith.me
<CuriousMind> ericwood: As I type code in the console, the other person can see.
chrishou_ has quit [Client Quit]
<CuriousMind> ericwood: It's an editor that does any programming language?
<ericwood> CuriousMind: probably best to address the whole channel and not just me
chrishough has joined #ruby
<CuriousMind> Ok
<ericwood> I'd google "collaborative code editors"
<CuriousMind> HELLO EVERYONE.
<CuriousMind> Ok.
<ntrophimov> Ok, is there smth else?
<ntrophimov> Thanks a lot btw :)
<pipework> CuriousMind: I use screenhero so that I can share a display with someone and we each get our own mousen on the screen.
agent_white has joined #ruby
craigbowen3 has quit [Ping timeout: 260 seconds]
agent_white has quit [Read error: Connection reset by peer]
nobitanobi has quit [Remote host closed the connection]
<jhass> ntrophimov: I'd probably try to have short methods, more classes and decouple the network stuff from the curses stuff, but that's inherently structural
havenwood has joined #ruby
<CuriousMind> pipework: I used screenhero before.
<CuriousMind> pipework: Thank you for the suggestion.
<ntrophimov> And why are u guys so wonder that I use curses for the first Ruby project? What's wrong with it?
<jhass> ntrophimov: if not / if ! -> unless
<ericwood> ntrophimov: curses has a really really archaic API and is confusing as hell
<jhass> curses API is just ugly ;P
<ntrophimov> jhass: Ok, I'll think about that too
<pipework> ntrophimov: Nothing, it's just a pain to do well because you either use the translated API or a crappy wrapper.
craigbowen3 has joined #ruby
<CuriousMind> http://collabedit.com/tc27n come join me
<CuriousMind> http://collabedit.com/tc27n this is where I am coding, come along. :) Welcome
<ericwood> you're basically writing C code, it's just a wrapper
<ericwood> ntrophimov: I saw this yesterday, maybe worth looking into! https://github.com/gavinlaking/vedeu
bMalum has quit [Ping timeout: 260 seconds]
<ntrophimov> Ok, thanks
Sauvin has quit [Remote host closed the connection]
SilkFox has joined #ruby
<ericwood> a year ago I tried writing pong in curses and it caused me physical pain :|
<ntrophimov> Can I ask one more question about curses, guys?
<ericwood> I'll allow it
nobitanobi has joined #ruby
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ntrophimov> How can I add the Unicode support in the script that uses curses in Windows? It seems that the standard curses module can't do it anyway...
<jhass> ntrophimov: sometimes you use casecmp and sometimes .downcase, be at least consistent
<ntrophimov> jhass: Where?
mikepack_ has joined #ruby
<jhass> the command parsing in the server
agent_white has joined #ruby
<pipework> The hardest part of curses is writing tests for it, imo.
Cheezebox has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
Cheezebox has joined #ruby
<CuriousMind> Feel free to join me :)
<ntrophimov> Ah, I see
divi has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<pipework> CuriousMind: Stop advertising repeatedly please.
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
mengu has joined #ruby
<CuriousMind> pipework: Ok sorrym I'm just a 17 year old rubyist that's trying to get IRC support
qmfnp has joined #ruby
Akagi201 has joined #ruby
TC` has quit [Ping timeout: 255 seconds]
<CuriousMind> I completed my first ruby project
sepp2k has quit [Quit: Konversation terminated!]
<tlarevo_> vedeu looks pretty kools thanks a lot :)
bjeanes_ is now known as bjeanes
tlarevo_ has quit [Remote host closed the connection]
terrell_t has quit [Remote host closed the connection]
mikepack_ has quit [Ping timeout: 246 seconds]
doodlehaus has joined #ruby
lkba has joined #ruby
terrellt has joined #ruby
tlarevo has joined #ruby
aspires has joined #ruby
RichardLitt has joined #ruby
Cheezebox has quit [Ping timeout: 244 seconds]
jobewan has quit [Quit: Leaving]
<ntrophimov> Ok, thanks a lot again, guys
agent_white has joined #ruby
jobewan has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Brolen has joined #ruby
yfeldblum has joined #ruby
Akagi201 has quit [Ping timeout: 246 seconds]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
obs has joined #ruby
yacks has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
benlieb has quit [Read error: Connection reset by peer]
Miron is now known as Miron_
Miron_ is now known as Miron
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
sdouglas has quit [Remote host closed the connection]
chrishough has joined #ruby
Cicloid has joined #ruby
charliesome has joined #ruby
thams has quit [Quit: thams]
benlieb has joined #ruby
x1337807x has joined #ruby
klmlfl_ has joined #ruby
starless has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klmlfl has quit [Ping timeout: 245 seconds]
klmlfl_ is now known as klmlfl
mengu has quit [Remote host closed the connection]
agent_white has joined #ruby
pkrnj has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
kirun has joined #ruby
ikawnoclast has left #ruby ["PART #go-nuts :PART #io :QUIT :Leaving."]
vt102 has joined #ruby
claymore has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
threesixes has joined #ruby
Cicloid is now known as aCicloid
agent_white has joined #ruby
claymore has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
aCicloid is now known as Cicloid
St_Marx has quit [Quit: Ex-Chat]
sparrovv has quit [Remote host closed the connection]
banister has joined #ruby
jay__ has joined #ruby
sparrovv has joined #ruby
tylerkern has joined #ruby
lkba has quit [Ping timeout: 245 seconds]
robustus has quit [Ping timeout: 255 seconds]
chrisja has joined #ruby
michaeldeol has joined #ruby
renderful has joined #ruby
Xeago has joined #ruby
robustus has joined #ruby
St_Marx has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
sparrovv has quit [Ping timeout: 260 seconds]
renderfu_ has quit [Ping timeout: 272 seconds]
yacks has quit [Ping timeout: 260 seconds]
philcrissman has joined #ruby
thams has joined #ruby
yacks has joined #ruby
lkba has joined #ruby
<_sillymarkets> Anyone online that is familiar with Viewpoint gem ? EWS?
momomomomo has joined #ruby
agent_white has joined #ruby
ptrrr has quit [Quit: ptrrr]
wallerdev has quit [Quit: wallerdev]
agent_white has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
Darkchaos2 has joined #ruby
fabrice31 has joined #ruby
philcrissman has quit [Ping timeout: 255 seconds]
chrishough has quit [Quit: chrishough]
tylerkern has quit [Quit: Textual IRC Client: www.textualapp.com]
Darkchaos has quit [Ping timeout: 240 seconds]
chrishough has joined #ruby
Xeago has joined #ruby
chrishough has quit [Client Quit]
dawkirst has joined #ruby
ghr has joined #ruby
Lewix has joined #ruby
yacks has quit [Remote host closed the connection]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
centrx has quit [Quit: Mead error: Connection reset by beer]
tylerkern has joined #ruby
alexju_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 255 seconds]
ghostmoth has quit [Quit: ghostmoth]
alexju has quit [Ping timeout: 260 seconds]
benzrf|offline is now known as benzrf
ghr has quit [Ping timeout: 240 seconds]
dawkirst has quit [Ping timeout: 244 seconds]
dte has joined #ruby
lw has joined #ruby
chrishough has joined #ruby
SilkFox_ has joined #ruby
agent_white has joined #ruby
<nobitanobi> If I write into a Tempfile, why do I need to close it before I try to access its contents?
agent_white has quit [Read error: Connection reset by peer]
MarcWeber has joined #ruby
aspires has quit []
<Hanmac> nobitanobi: because without close the file writing is not finished
yacks has joined #ruby
<MarcWeber> Are there existing tools for dumping/loading databases so that you can convert from mysql to firebird or postgres easily?
<nobitanobi> Hanmac: interesting
aspires has joined #ruby
<pipework> MarcWeber: What does that have to do with ruby?
<MarcWeber> eventually written in ruby :)
magic has quit [Quit: ZNC - http://znc.in]
Hamburglr has quit [Quit: Textual IRC Client: www.textualapp.com]
SilkFox_ has quit [Ping timeout: 264 seconds]
bluOxigen has quit [Ping timeout: 260 seconds]
magic has joined #ruby
magic is now known as Guest45773
<apeiros> MarcWeber: trivial with sequel
<apeiros> I think it even has an example
<apeiros> but probably far less performant than something like a csv dump+load
<MarcWeber> Its not that trivial if you want to keep foreign key constraints .. then loading/dumping of data depends on order to be valid. I'd be fine with adding constraints afterwards ..
Guest45773 is now known as magic
magic has quit [Changing host]
magic has joined #ruby
agent_white has joined #ruby
<apeiros> MarcWeber: only if you're so silly as not to deactivate the constraints during load
agent_white has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
<apeiros> you generally want to drop indices and constraints while loading large sets of data
<MarcWeber> Which is why I want to use an existing library so that I have to code this only once.
ptrrr has joined #ruby
<MarcWeber> Or write that librayr.
dawkirst has joined #ruby
icole has quit [Remote host closed the connection]
cy has quit [Ping timeout: 240 seconds]
claymore has quit [Read error: Connection reset by peer]
aspires has quit []
claymore has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
andrewjanssen has joined #ruby
chrishough has joined #ruby
andrewjanssen has quit [Client Quit]
andrewjanssen has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
doev has joined #ruby
Xeago has quit [Remote host closed the connection]
InhalingPixels has quit []
<dopie> user.name
<dopie> you are calling the name method on the user which is the receiver
<dopie> is that correct?
mikepack has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
<apeiros> dopie: yes
mikepack has joined #ruby
<apeiros> dopie: if you want to be pedantic, then the object referenced by user (or to which user evaluates, in case of it being a method) is the receiver
Photism has quit [Quit: Leaving]
sdouglas has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
startupality has quit [Ping timeout: 260 seconds]
crdpink has joined #ruby
crdprink2 has quit [Ping timeout: 244 seconds]
tenseiten is now known as seitensei
icole has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
TC` has joined #ruby
spyderma_ has joined #ruby
tylerker_ has joined #ruby
<dopie> user.name = "Joe"
ntrophimov has left #ruby [#ruby]
<dopie> #the object object user is calling the name setter instance method and changing the value of name to "Joe"
zB0hs has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
AlexBlom has quit [Quit: This computer has gone to sleep]
spyderman4g63 has quit [Ping timeout: 260 seconds]
toastynerd has quit [Remote host closed the connection]
Akagi201 has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
Ankhers has quit [Ping timeout: 264 seconds]
cocotton_ has quit [Remote host closed the connection]
jobewan has quit [Quit: Leaving]
AndChat| has joined #ruby
cocotton has joined #ruby
<shevy> two times object?
lkba has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
Unknown has joined #ruby
bluenemo has quit [Ping timeout: 245 seconds]
CoffeeDrivenC0de has joined #ruby
<dopie> errr
<CoffeeDrivenC0de> Anyone here that can answer a question on merging git branches?
agent_white has joined #ruby
<dopie> sorry
djcp has joined #ruby
<dopie> typo
djcp has left #ruby [#ruby]
agent_white has quit [Read error: Connection reset by peer]
<jhass> CoffeeDrivenC0de: #git doesn't answer?
jfutbol has joined #ruby
CoffeeDrivenC0de has left #ruby [#ruby]
doodlehaus has quit []
liang12 has joined #ruby
liang12 has left #ruby [#ruby]
djcp has joined #ruby
<Unknown> hello
Cicloid is now known as aCicloid
Akagi201 has quit [Ping timeout: 250 seconds]
benzrf is now known as benzrf|offline
Macaveli has joined #ruby
toastynerd has joined #ruby
Unknown has quit [Client Quit]
sparrovv has joined #ruby
sdwrage has joined #ruby
sinkensabe has joined #ruby
baroquebobcat has joined #ruby
jprovazn has quit [Quit: Odcházím]
AlexBlom has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
AlexBlom has quit [Remote host closed the connection]
bwr has quit [Ping timeout: 255 seconds]
djcp has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
kireevco has joined #ruby
yubrew has joined #ruby
britneywright has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
carraroj has quit [Quit: Konversation terminated!]
kireevco has left #ruby [#ruby]
jcrubino has joined #ruby
<jcrubino> I am trying out barebones sinatra on ec2 but cannot get an external connection to the listening port 4567
<jcrubino> ubuntu 14, ufw is dissabled, and all tcp ports on ec2 are open
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<jcrubino> anybody with some hints
<dorei> jcrubino: do you have shell access there?
<jcrubino> yes.. I wrote the helloWorld in vim on the instance
timonv_ has joined #ruby
<dorei> try a netstat -ntlp
<dorei> to see what listens on what ip/port
kaspertidemann has quit []
Macaveli has quit [Ping timeout: 244 seconds]
<jcrubino> it appears 4567 is being used by ruby
Hobogrammer has joined #ruby
aspires has joined #ruby
icole has quit [Remote host closed the connection]
<jcrubino> in golang if I set the port as "localhost:4567" there is no external access
<eam> "cannot get a connection" => what is the specific tcp error?
<jcrubino> could it be something similar
moritzs has quit [Ping timeout: 240 seconds]
dbasch has joined #ruby
<jcrubino> ?
<eam> jcrubino: yes the interface matters
<eam> you need to check the ip and the port
<jcrubino> eam: chrome says a webpage is not available
agent_white has joined #ruby
LangeOortjes has quit []
agent_white has quit [Read error: Connection reset by peer]
moritzs has joined #ruby
<eam> don't use chrome, what does netcat or telnet say?
<jcrubino> set :port 4567
<jcrubino> how do I set ip? :ip
CodePulsar has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
wallerdev has joined #ruby
lw has quit [Quit: s]
<shevy> what is that
baroquebobcat has quit [Quit: baroquebobcat]
mark_locklear has quit [Ping timeout: 240 seconds]
<eam> shevy: I heard you're working on a ruby linux distro
nerium has quit [Quit: nerium]
<dopie> 3. What's the difference between class variables and instance variables?
<noshi> dopie: an @
<noshi> ba dum psh.
<dopie> hol don
<dopie> Class variables are scoped to the class level and are identified with @@ and a instance variable is identified with @ and is not scoped to the class level and is used to pass variables through methods
<apeiros> instance variables are scoped to a single object
shredding has joined #ruby
dawkirst has quit [Remote host closed the connection]
<dopie> single object
<dopie> ok
<dopie> :)
<apeiros> class variables are scoped to a class/module, all its instances, all its descendants and all its descendants' instances
<shevy> eam not really, I only use ruby scripts to compile stuff and so on
<noshi> dopie: there are also class instance variables, mind
postmodern has joined #ruby
Dreamer3 has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<noshi> dopie: which are the same as instance variables, only bound to the class object
yfeldblum has quit [Remote host closed the connection]
doev has quit [Ping timeout: 246 seconds]
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
bwr has joined #ruby
arup_r has quit [Quit: Leaving.]
agent_white has joined #ruby
<jcrubino> set :bind, '0.0.0.0'
baroquebobcat has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<jcrubino> got it
nszceta has quit []
lw has joined #ruby
renderfu_ has joined #ruby
georgelappies has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
Butthurthead has joined #ruby
icole has joined #ruby
dbasch has quit [Quit: dbasch]
sepp2k has joined #ruby
decoponio has quit [Quit: Leaving...]
tylerker_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
renderful has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tylerker_ has joined #ruby
Brolen has quit []
amargherio has quit [Remote host closed the connection]
failshell has quit []
moritzs has quit [Ping timeout: 245 seconds]
krisquigley has quit [Remote host closed the connection]
ghostmoth has joined #ruby
kireevco has joined #ruby
aCicloid is now known as Cicloid
chrishough has quit [Ping timeout: 244 seconds]
_sillymarkets has quit [Ping timeout: 246 seconds]
icole has quit [Ping timeout: 244 seconds]
Cicloid is now known as aCicloid
amargherio has joined #ruby
ghr has joined #ruby
agent_white has joined #ruby
postmodern has quit [Ping timeout: 255 seconds]
agent_white has quit [Read error: Connection reset by peer]
claymore has quit [Quit: Leaving]
aCicloid is now known as Cicloid
bearish has quit [Remote host closed the connection]
weeb1e has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
bearish has joined #ruby
weeb1e_ has quit [Ping timeout: 250 seconds]
SilkFox_ has joined #ruby
Pulpie has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
<Pulpie> does anyone know a super easy way to clone an entire production environment and put it on my laptop
chrishough has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
<Pulpie> or does that sound completely insane
dawkirst has joined #ruby
agent_white has joined #ruby
<apeiros> Pulpie: go to the server room, pull the server out, get a diesel generator
<Pulpie> like I thought it did
<apeiros> very mobile
kaspertidemann has joined #ruby
<Pulpie> apeiros: ahh I said clone :)
<apeiros> pfff
<Pulpie> my boss comes over "yeah odd, the server is missing?" big generator running behind me "no clue where it went but I got my dev environment setup finally."
mengu has joined #ruby
sdwrage has joined #ruby
<jhass> Pulpie: pull out the model next to it and clone the DD. Then what apeiros said
sinkensabe has quit [Remote host closed the connection]
<jhass> *hdd
<apeiros> :D
yottanami has joined #ruby
nanoyak has joined #ruby
asdasdasdasss has joined #ruby
tylersmith has joined #ruby
<Pulpie> jhass: the server also has network settings that I need
glebm has joined #ruby
<jhass> get some long cables for the same network environment though
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
SouL has quit [Ping timeout: 255 seconds]
chipotle has quit [Quit: cya]
<Pulpie> but my boss is just like "why not just deploy your code to the production server under a test branch to see if it works?"
<yottanami> I have this data structure http://dpaste.com/3FT9JMW how can I access content of tag ?\
<Pulpie> Which is dumb because at that point it's like, k my code is on production servers, pulling production data, pushing into production databases and sending production emails.
<jhass> yottanami: hash["advertise"]["tag"]
tylerkern has quit []
<Pulpie> but instead of the script running in /github/prod/ its in /github/test
Lewix has quit [Remote host closed the connection]
<Pulpie> YUP TOTALLY NOT TESTING IN PRODUCTION HERE!
jarto has joined #ruby
<Pulpie> we didn't put the code into master
<Pulpie> its not production yet
Lewix has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
djcp has joined #ruby
Lewix has quit [Read error: Connection reset by peer]
Squarepy has quit [Quit: Leaving]
Lewix has joined #ruby
phi-sd has joined #ruby
kreisys has joined #ruby
<yottanami> jhass: I can not use has[:advertise] ?
kreisys has quit [Max SendQ exceeded]
cocotton has quit [Ping timeout: 244 seconds]
<jhass> yottanami: no, that's a different key
RyanV has joined #ruby
<jhass> yottanami: :advertise and "advertise" don't even have the same type
<phi-sd> I have ruby 1.8.6 and in irb i can do : require ‘net/ssh’ , but I cant do that in a script. It says `require': no such file to load -- net/ssh (LoadError)
<yottanami> tnx
<Pulpie> phi-sd: gem install net-ssh
jarto has quit [Client Quit]
<phi-sd> Pulpie: I’ve already done that. No errors
<jhass> phi-sd: ruby 1.8.6 completely out of support by anybody, we're at 2.1.2 now
<Pulpie> phi-sd: your environment your gem is installing into might differ from what you are running
<Pulpie> phi-sd: are you on windows?
<jhass> phi-sd: ruby 1.8.7 and 1.9.2 are out of support too by now
<apeiros> jhass: rails' HWIA uses the same inspect as a normal hash, though
<phi-sd> i am on osx
<phi-sd> 10.5
<Pulpie> oh thats a pain good luck
<Pulpie> might be easier to use get virtual box and get some linux on there
<phi-sd> It’s a build server, and I don’t want to change the environment too much
<Pulpie> ruby on windows sucks, ruby on OSX. going to be a huge issue.
r0bby_ has joined #ruby
postmodern has joined #ruby
<Pulpie> Ruby really needs a Linux environment to shine
Cheezebox has joined #ruby
Cicloid is now known as aCicloid
robbyoconnor has quit [Read error: No route to host]
<apeiros> Pulpie: huh?
<banister> Pulpie ruby works fine on osx, and i think osx ruby developers are on osx
<apeiros> I'm using ruby on both, osx and linux, and it's quite smooth on both
<Pulpie> ahh from my experience thats not been the case
<apeiros> phi-sd: there are plenty of options to get newer rubies on osx. use one of rvm, ruby-installer, rbenv or chruby
<apeiros> Pulpie: 1 line to install rvm. 1 line to install newest ruby. done.
<Pulpie> I'd say if your using rvm on a server, your going to have a bad time
<apeiros> we're doing just that for >5y now. no hickups at all so far.
<Pulpie> rvm with cron and things like that becomes a real pain
<apeiros> Pulpie: lulwat?
<apeiros> make a wrapper. the tool comes with rvm.
<apeiros> simpler than making pie.
<Pulpie> or just install ruby according to your OS.
jcrubino has left #ruby ["Leaving"]
<Pulpie> which places it in the correct place with the right path.
aCicloid is now known as Cicloid
beemo has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
tylersmith has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby
RyanV has quit [Quit: Computer has gone to sleep.]
RyanV has joined #ruby
beemo has quit [Ping timeout: 264 seconds]
tylerker_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bearish has quit [Remote host closed the connection]
bearish has joined #ruby
<phi-sd> my bash is not new enough for rvm :(
_lexjm has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
anaeem1_ has quit [Ping timeout: 260 seconds]
adac has quit [Ping timeout: 264 seconds]
virtualize has quit [Read error: Connection reset by peer]
tylerkern has joined #ruby
virtualize has joined #ruby
<phi-sd> Should i mangle my path to make net/ssh available?
andrewjanssen has quit [Quit: Leaving...]
bradleyp_ has joined #ruby
<apeiros> o0
<apeiros> no. install a modern ruby. install the net/ssh gem and it should "just work".
Cicloid is now known as aCicloid
aCicloid is now known as Cicloid
<jhass> I'd consider to accidentally the machine
shredding has quit [Quit: shredding]
doodlehaus has joined #ruby
kreisys has joined #ruby
comma8 has joined #ruby
Cheezebox has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
michaeldeol has joined #ruby
bearish has quit [Ping timeout: 255 seconds]
agent_white has quit [Read error: Connection reset by peer]
kreisys has quit [Read error: Connection reset by peer]
osvico has joined #ruby
bradleyprice has quit [Ping timeout: 244 seconds]
the8thbit|work has joined #ruby
theo_ has joined #ruby
poulet_a has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
PsionTheory has quit [Remote host closed the connection]
thams has quit [Quit: thams]
Jackneill has quit [Read error: Connection reset by peer]
yottanami has quit [Ping timeout: 272 seconds]
cy has joined #ruby
thams has joined #ruby
Xeago has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
agent_white has joined #ruby
thams has quit [Client Quit]
agent_white has quit [Read error: Connection reset by peer]
xcv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
philcrissman has joined #ruby
claw__ has joined #ruby
xcv_ has quit [Remote host closed the connection]
xcv has quit [Ping timeout: 245 seconds]
hiall has joined #ruby
ht has quit [Remote host closed the connection]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
jfutbol has quit [Remote host closed the connection]
choke has quit [Remote host closed the connection]
fabrice31 has joined #ruby
benzrf|offline is now known as benzrf
Beoran_ has quit [Ping timeout: 240 seconds]
philcrissman has quit [Ping timeout: 264 seconds]
Rollabunna has joined #ruby
krisquigley has joined #ruby
jherbst has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Xeago has quit [Ping timeout: 250 seconds]
tylerkern has quit [Read error: Connection reset by peer]
fabrice31 has quit [Ping timeout: 250 seconds]
jrhorn424 is now known as zz_jrhorn424
tylerkern has joined #ruby
djcp has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
agent_white has joined #ruby
DEA7TH has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
echevemaster has joined #ruby
choke has joined #ruby
tylerkern has quit [Read error: Connection reset by peer]
thams has joined #ruby
tylerkern has joined #ruby
paulfm_ has quit []
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
CorpusCallosum has joined #ruby
bmurt has quit []
nerium has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Cheezebox has joined #ruby
Squarepy has joined #ruby
Beoran_ has joined #ruby
segfalt has quit [Quit: Connection closed for inactivity]
danshultz has quit [Ping timeout: 272 seconds]
brothmars has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
InhalingPixels has joined #ruby
ghr has joined #ruby
sdouglas has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
dyreshark_ has quit [Ping timeout: 240 seconds]
danshultz has joined #ruby
<SloggerKhan> when I sudo ruby related things all disapear from my path
gwb3 has quit [Ping timeout: 260 seconds]
<apeiros> your sudo probably has different env
andrewjanssen has joined #ruby
gwb3 has joined #ruby
djcp has left #ruby ["WeeChat 0.4.3"]
agent_white has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]
sdouglas_ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<SloggerKhan> Is there a guide to get it working?
dyreshark has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
baroquebobcat has quit [Quit: baroquebobcat]
ghr has quit [Ping timeout: 255 seconds]
SilkFox_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
kireevco has quit [Remote host closed the connection]
aspires has quit []
bradleyp_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
mr-foobar has quit [Ping timeout: 245 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mburns has quit [Quit: ZNC - http://znc.sourceforge.net]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mr-foobar has joined #ruby
nerium has quit [Quit: nerium]
SilkFox_ has quit [Ping timeout: 260 seconds]
bradleyprice has quit [Client Quit]
bradleyprice has joined #ruby
ldnunes has quit [Quit: Leaving]
enebo has quit [Quit: enebo]
RandyT has quit [Read error: Connection reset by peer]
dawkirst has quit [Remote host closed the connection]
RandyT has joined #ruby
axsuul has quit [Ping timeout: 250 seconds]
revoohc has quit [Quit: revoohc]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tylersmith has quit [Ping timeout: 272 seconds]
Morkel_ has joined #ruby
CorpusCallosum has quit [Ping timeout: 272 seconds]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
gkagan has quit [Ping timeout: 245 seconds]
Morkel has quit [Ping timeout: 260 seconds]
Morkel_ is now known as Morkel
doodlehaus has quit [Remote host closed the connection]
kireevco has joined #ruby
tylerkern has joined #ruby
maximski has joined #ruby
aspires has joined #ruby
druznek has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
<havenwood> SloggerKhan: I don't know of a specific guide but maybe search for visudo, sudoers, and env_keep.
agent_white has quit [Read error: Connection reset by peer]
<havenwood> SloggerKhan: Checkout: man sudoers | grep -C4 env_keep
<SloggerKhan> thanks
tylersmith has joined #ruby
beemo has joined #ruby
britneywright has joined #ruby
enebo has joined #ruby
maximski has quit [Max SendQ exceeded]
Ilyas_ has quit [Ping timeout: 255 seconds]
<mozzarella> guys
maximski has joined #ruby
dorei has quit [Read error: Connection reset by peer]
Morkel has left #ruby [#ruby]
klmlfl_ has joined #ruby
maximski has quit [Max SendQ exceeded]
agjacome has quit [Quit: leaving]
maximski has joined #ruby
klmlfl has quit [Ping timeout: 240 seconds]
klmlfl_ is now known as klmlfl
agent_white has joined #ruby
<havenwood> SloggerKhan: Or avoid sudo. Make sure there's good reason to go there in the first place.
agent_white has quit [Read error: Connection reset by peer]
maximski has quit [Max SendQ exceeded]
mr-foobar has quit [Ping timeout: 240 seconds]
<SloggerKhan> havenwood: I ended up using IP tables instead, actually.
JoshGlzBrk has joined #ruby
beemo has quit [Ping timeout: 240 seconds]
maximski has joined #ruby
<havenwood> SloggerKhan: ;)
mr-foobar has joined #ruby
jerius has quit []
krisquigley has quit [Remote host closed the connection]
krisquigley has joined #ruby
livingstn has quit []
frankle has quit [Quit: Connection closed for inactivity]
adac has joined #ruby
agent_white has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has quit [Read error: Connection reset by peer]
RichardLitt_ has joined #ruby
RichardLitt has quit [Ping timeout: 240 seconds]
RichardLitt_ is now known as RichardLitt
mijicd has joined #ruby
poulet_a has quit [Quit: Quitte]
kaspertidemann has quit []
spyderma_ has quit []
dorei has joined #ruby
AlexBlom has joined #ruby
agent_white has joined #ruby
poulet_a has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
obs has quit [Remote host closed the connection]
poulet_a has quit [Client Quit]
ferr has joined #ruby
mary5030 has quit [Remote host closed the connection]
dte has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
alvaro_o_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
codecop has quit [Remote host closed the connection]
thousandwich has quit [Remote host closed the connection]
dte has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gkagan has joined #ruby
RyanV has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
agent_white has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
agent_white has quit [Read error: Connection reset by peer]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aspires has quit []
ARCADIVS has joined #ruby
chrishough has quit [Ping timeout: 272 seconds]
aspires has joined #ruby
gkagan has quit [Ping timeout: 264 seconds]
kedric has quit [Quit: kedric]
sylvanica has quit [Disconnected by services]
sylvanica1 has joined #ruby
agent_white has joined #ruby
asdasdasdasss has quit [Quit: Computer has gone to sleep.]
agent_white has quit [Read error: Connection reset by peer]
asdasdasdasss has joined #ruby
goleldar has joined #ruby
theo_ has quit []
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
CuriousMind has quit [Ping timeout: 246 seconds]
asdasdasdasss has quit [Ping timeout: 255 seconds]
ryanleesipes has quit [Quit: Leaving]
Spami has joined #ruby
thams has quit [Quit: thams]
jdj_dk has quit [Remote host closed the connection]
workmad3 has joined #ruby
qwyeth has quit [Quit: Leaving]
Zebroid has joined #ruby
dte has quit [Remote host closed the connection]
asdasdasdasss has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
treehug88 has quit []
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Soda has joined #ruby
dte has joined #ruby
pkrnj has joined #ruby
Shidash has joined #ruby
ghr has joined #ruby
icarus has quit [Remote host closed the connection]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
bklane has quit [Quit: Leaving...]
yubrew has quit [Remote host closed the connection]
wallerdev has quit [Ping timeout: 255 seconds]
SilkFox_ has joined #ruby
dte has quit [Remote host closed the connection]
maximski has quit [Ping timeout: 244 seconds]
n1lo has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
sparrovv has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
SilkFox_ has quit [Ping timeout: 250 seconds]
axsuul has joined #ruby
Sonny|3oy has joined #ruby
freerobby has quit [Quit: Leaving.]
InhalingPixels has quit [Remote host closed the connection]
gkagan has joined #ruby
InhalingPixels has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
krisquigley has quit [Remote host closed the connection]
maximski has quit [Ping timeout: 272 seconds]
centrx has joined #ruby
linojon has quit [Quit: linojon]
lw has quit [Quit: s]
riotjones has quit [Ping timeout: 240 seconds]
RichardLitt has quit [Quit: RichardLitt]
awheeler_ has joined #ruby
Pulpie has left #ruby [#ruby]
adac has quit [Ping timeout: 260 seconds]
Sgeo has joined #ruby
riotjones has joined #ruby
awheeler_ has left #ruby [#ruby]
awheeler_ has joined #ruby
klmlfl has quit [Quit: klmlfl]
pkrnj has quit [Quit: Computer has gone to sleep.]
gkagan has quit [Ping timeout: 240 seconds]
centrx has quit [Client Quit]
Shidash has joined #ruby
jalb has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
awheeler_ has left #ruby [#ruby]
Shidash1 has joined #ruby
axwheeler has joined #ruby
gruz0[russia] has joined #ruby
Shidash has quit [Read error: Connection reset by peer]
beemo has joined #ruby
axwheeler has left #ruby [#ruby]
Lightsword has joined #ruby
cpruitt has quit [Read error: Connection reset by peer]
threesixes has quit [Quit: SATAN!!!!!!!!]
yooooooooo has joined #ruby
jalb has quit [Ping timeout: 246 seconds]
cpruitt has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
amargherio has quit [Remote host closed the connection]
einarj has joined #ruby
yooooooooo has quit []
agent_white has joined #ruby
InhalingPixels has quit [Remote host closed the connection]
jalbsss has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<jalbsss> hi
chrishough has joined #ruby
Aranshada|W has quit [Ping timeout: 240 seconds]
samsonjs has joined #ruby
mikecmpbll has quit [Quit: ciao.]
beemo has quit [Ping timeout: 255 seconds]
<ericwood> hi
jalbsss has quit [Client Quit]
dblessing has quit [Quit: dblessing]
crdprink2 has joined #ruby
w09x has joined #ruby
jdj_dk has joined #ruby
crdpink has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
philcrissman has joined #ruby
Akagi201 has joined #ruby
phi-sd has quit [Quit: phi-sd]
geggam has quit [Ping timeout: 255 seconds]
JoshGlzB_ has joined #ruby
jayalb has joined #ruby
kirun has quit [Quit: Client exiting]
xcv has joined #ruby
linojon has joined #ruby
jdj_dk has quit [Ping timeout: 264 seconds]
<jayalb> helllllllllo iss anyone there
chipotle has joined #ruby
AlSquire has joined #ruby
Neomex has quit [Quit: Leaving]
<jayalb> fuck all of u
<jayalb> going back to javascript
jayalb has left #ruby [#ruby]
agent_white has joined #ruby
<ericwood> hi
<ericwood> please come back
<ericwood> <3
agent_white has quit [Read error: Connection reset by peer]
jottr has joined #ruby
philcrissman has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
Akagi201 has quit [Ping timeout: 255 seconds]
axl_ has left #ruby [#ruby]
JoshGlzBrk has quit [Ping timeout: 250 seconds]
divi has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
Azure has quit [Quit: Blue Sky Fish]
Shidash1 has quit [Ping timeout: 240 seconds]
<ericwood> :(
tylerkern has joined #ruby
agent_white has joined #ruby
Sonny|3oy has quit [Quit: Leaving]
fabrice31 has quit [Ping timeout: 260 seconds]
agent_white has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
Shidash has joined #ruby
bradleyp_ has joined #ruby
Aranshada|W has joined #ruby
sylvanica has joined #ruby
shackleford has quit [Remote host closed the connection]
Butthurthead_ has joined #ruby
sambao21 has joined #ruby
AlexBlom has quit [Quit: This computer has gone to sleep]
bwr has quit [Quit: :q]
ffranz has quit [Quit: Leaving]
Butthurthead has quit [Ping timeout: 240 seconds]
bradleyprice has quit [Ping timeout: 264 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mijicd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 255 seconds]
Shidash has quit [Ping timeout: 250 seconds]
<shevy> lol
sambao21 has quit [Ping timeout: 246 seconds]
Lightsword has quit [Quit: Lightsword]
<ericwood> ;_;
Zebroid has quit [Remote host closed the connection]
axsuul has quit [Ping timeout: 260 seconds]
jherbst has quit [Quit: Textual IRC Client: www.textualapp.com]
amh345 has joined #ruby
<amh345> evening. does anyone have any recommendations for query json? I'm using JsonPath right now.. but it's less than ideal.
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<amh345> basically I'm using redid to store a large (json) configuration file. and i really would like to be able to query this redid db.
<amh345> i've been using JsonPath for the last day- but it's been a nightmare, overall.
gregf has quit [Quit: WeeChat 0.4.3]
ptrrr has quit [Quit: ptrrr]
asdasdasdasss has quit [Quit: Computer has gone to sleep.]
asdasdasdasss has joined #ruby
bearish has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
InhalingPixels has joined #ruby
benlieb has quit [Quit: benlieb]
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylerkern has joined #ruby
aspiers has quit [Ping timeout: 250 seconds]
nobitanobi has quit [Remote host closed the connection]
asdasdasdasss has quit [Ping timeout: 245 seconds]
jdj_dk has joined #ruby
nobitanobi has joined #ruby
bearish has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
InhalingPixels has quit [Ping timeout: 260 seconds]
chrisja has quit [Quit: leaving]
mengu has quit []
cdime has quit [Remote host closed the connection]
thams has joined #ruby
icebourg has quit []
bradleyp_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
Rollabunna has quit [Quit: Leaving...]
bradleyprice has joined #ruby
agent_white has joined #ruby
SilkFox has quit [Ping timeout: 264 seconds]
agent_white has quit [Read error: Connection reset by peer]
Cheezebox has quit [Remote host closed the connection]
aspires has quit []
aspires has joined #ruby
maletor_ has quit [Quit: Computer has gone to sleep.]
thams has joined #ruby
aspires has quit [Client Quit]
SilkFox_ has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
krz has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
troyready has joined #ruby
Darkchaos2 has quit [Ping timeout: 245 seconds]
aspires has joined #ruby
SilkFox_ has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
gkagan has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
JoshGlzB_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jdj_dk has quit [Ping timeout: 250 seconds]
mrsolo has joined #ruby
aspires has quit []
sambao21 has quit [Ping timeout: 264 seconds]
gkagan has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
aspires has joined #ruby
brothmars has joined #ruby
axsuul has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
sonofflynn has joined #ruby
aspires has quit [Client Quit]
ferr has quit [Quit: Leaving]
<sonofflynn> quick question. I see in a gemfile you can specify the ruby version. Can you specify "at least" a ruby version? Like it needs 1.9.3 or higher?
aspires has joined #ruby
agent_white has joined #ruby
spider-mario has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
aspires has quit [Client Quit]
toastynerd has quit [Remote host closed the connection]
binaryhat has quit [Quit: Leaving]
EasyCo has joined #ruby
aspires has joined #ruby
gruz0[russia] has quit [Quit: Leaving]
apeiros has joined #ruby
samsonjs has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has quit [Ping timeout: 272 seconds]
jespada has quit [Quit: Leaving]
binaryhat has joined #ruby
britneywright has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
rimenes has joined #ruby
einarj has quit [Remote host closed the connection]
benlieb has joined #ruby
mikepack_ has joined #ruby
britneywright has joined #ruby
HoloIRCUser has joined #ruby
blackmesa has quit [Quit: WeeChat 1.0]
aspires has quit [Client Quit]
chrishough has joined #ruby
HoloIRCUser has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
aspires has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
axsuul has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 264 seconds]
Wolland has joined #ruby
yubrew has joined #ruby
agent_white has joined #ruby
mikepack_ has quit [Ping timeout: 240 seconds]
agent_white has quit [Read error: Connection reset by peer]
xcv has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 264 seconds]
sdouglas_ has quit [Remote host closed the connection]
sdouglas has joined #ruby
chrishough has quit [Remote host closed the connection]
chrishough has joined #ruby
phoo1234567 has quit [Quit: Leaving]
chrishough has quit [Client Quit]
zz_jrhorn424 is now known as jrhorn424
luksaur has quit [Quit: flw]
jottr has joined #ruby
Wolland has quit [Ping timeout: 260 seconds]
sylvanica has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
error_mess has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
tylerker_ has joined #ruby
snath has quit [Ping timeout: 260 seconds]
sdouglas has quit [Ping timeout: 245 seconds]
aspires has quit []
mozzarel1 has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
tylerkern has quit [Ping timeout: 244 seconds]
Caius has quit [Ping timeout: 244 seconds]
mgorbach has quit [Ping timeout: 244 seconds]
mozzarella has quit [Ping timeout: 244 seconds]
cnj has quit [Ping timeout: 244 seconds]
davzie has quit [Ping timeout: 244 seconds]
sylvanica has joined #ruby
mrsolo has quit [Quit: Leaving]
thams has quit [Quit: thams]
mozzarel1 has quit [Client Quit]
crazed has quit [Ping timeout: 244 seconds]
willgorm- has quit [Ping timeout: 244 seconds]
mozzarella has joined #ruby
yokel has quit [Remote host closed the connection]
chrishough has joined #ruby
Roa has quit [Ping timeout: 244 seconds]
ejnahc_ has quit [Ping timeout: 244 seconds]
yokel_ has joined #ruby
crazed has joined #ruby
mgorbach has joined #ruby
virtualize has quit [Ping timeout: 244 seconds]
Takle_ has joined #ruby
ahuman has quit [Ping timeout: 244 seconds]
yokel_ is now known as yokel
ejnahc has joined #ruby
cnj has joined #ruby
virtualize has joined #ruby
saarinen has quit [Quit: saarinen]
aspires has joined #ruby
willgorman has joined #ruby
Roa has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ahuman has joined #ruby
havenwood has quit [Remote host closed the connection]
krz has quit [Quit: WeeChat 0.4.3]
glebm has quit [Quit: Textual IRC Client: www.textualapp.com]
Takle has quit [Ping timeout: 240 seconds]
Akuma has quit [Ping timeout: 244 seconds]
magicien has quit [Remote host closed the connection]
marcel has quit [Ping timeout: 244 seconds]
kaichanvong has quit [Ping timeout: 244 seconds]
tekacs has quit [Ping timeout: 244 seconds]
magicien_ has joined #ruby
mary5030 has joined #ruby
jle` has quit [Ping timeout: 244 seconds]
sheepman has quit [Ping timeout: 244 seconds]
marcel has joined #ruby
qhartman has quit [Quit: Ex-Chat]
jamooo_ has quit [Ping timeout: 244 seconds]
lagweezl1 has joined #ruby
lagweezle has quit [Ping timeout: 244 seconds]
dvabr has quit [Ping timeout: 244 seconds]
dvabr_ has joined #ruby
sheepman has joined #ruby
wiscasss has joined #ruby
jamooo has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
Rydekull_ has joined #ruby
wiscas has quit [Ping timeout: 244 seconds]
Rydekull has quit [Ping timeout: 244 seconds]
musl has quit [Ping timeout: 244 seconds]
Kovensky has quit [Ping timeout: 244 seconds]
soulcake has quit [Ping timeout: 244 seconds]
wiscasss is now known as wiscas
tekacs has joined #ruby
Port3M5[Work] has quit [Ping timeout: 244 seconds]
bijumon_ has quit [Ping timeout: 244 seconds]
andrewjanssen has quit [Quit: Leaving...]
Rydekull_ is now known as Rydekull
agent_white has joined #ruby
bijumon has joined #ruby
Rydekull has quit [Changing host]
Rydekull has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
stopbit has quit [Ping timeout: 244 seconds]
billy_ran_away has quit [Ping timeout: 244 seconds]
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ltd has quit [Ping timeout: 244 seconds]
ltd has joined #ruby
soulcake has joined #ruby
soulcake has quit [Changing host]
soulcake has joined #ruby
Deele has joined #ruby
Kovensky has joined #ruby
<zenspider> sonofflynn: yup. it takes a version dep just like anything else
Akuma has joined #ruby
Caius has joined #ruby
chrishough has joined #ruby
<zenspider> doesn't make sense to say "this only works with 1.8.7" (unless it does)
kaichanvong has joined #ruby
monds has quit [Ping timeout: 244 seconds]
monds has joined #ruby
tkuchiki has joined #ruby
axsuul has joined #ruby
billy_ran_away has joined #ruby
Port3M5[Work] has joined #ruby
chrishough has quit [Client Quit]
<zenspider> what's your average time per test?
m8 has quit [Quit: Sto andando via]
<zenspider> (everyone)
chrishough has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
axsuul_ has joined #ruby
Channel6 has joined #ruby
<waxjar> no idea, fast enough :p
<zenspider> helpful
InhalingPixels has joined #ruby
<wallerdev> 0.0s
<wallerdev> no tests
<wallerdev> lol
InhalingPixels has quit [Read error: Connection reset by peer]
<zenspider> :P also helpful
chrishough has quit [Client Quit]
Kricir has joined #ruby
<zenspider> also sad