havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
marcdel has joined #ruby
gusrub has joined #ruby
euphoriaa has quit [Quit: ZNC 1.6.4 - http://znc.in]
duckpupp1 has joined #ruby
Rodya_ has joined #ruby
JeanCarloMachado has joined #ruby
phoo1234567 has quit [Quit: Gotta go]
kith has quit [Read error: Connection reset by peer]
kith has joined #ruby
duckpupp1 has quit [Ping timeout: 260 seconds]
CloCkWeRX has joined #ruby
gusrub has quit [Remote host closed the connection]
charliesome has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
knight33 has joined #ruby
fmcgeough has joined #ruby
AndBobsYourUncle has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
Guest96 has quit [Remote host closed the connection]
binaryplease has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest96 has joined #ruby
minimalism has joined #ruby
PaulCapestany has quit [Quit: .]
binaryplease has quit [Quit: binaryplease]
LuckyABA has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
ctompkinson has joined #ruby
jgt1 has joined #ruby
ctompkinson has quit [Ping timeout: 240 seconds]
jgt has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
marr has quit [Ping timeout: 246 seconds]
rgtk has quit [Ping timeout: 240 seconds]
esObe_ has joined #ruby
agent_white has joined #ruby
boz_ has quit [Quit: This computer has gone to sleep]
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Betwack has joined #ruby
Pumukel has joined #ruby
PaulCapestany has joined #ruby
esObe_ has quit [Ping timeout: 246 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lethan has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
danielpclark has joined #ruby
juggler has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
skweek has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
jusa has joined #ruby
antoniobeyah has quit [Quit: Connection closed for inactivity]
raul782 has quit [Remote host closed the connection]
s1kx has quit [Quit: s1kx]
jusa has quit [Ping timeout: 260 seconds]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
jgt1 has quit [Ping timeout: 246 seconds]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
ptx0 has quit [Remote host closed the connection]
im314ous has quit [Ping timeout: 240 seconds]
juggler has quit [Ping timeout: 240 seconds]
ptx0 has joined #ruby
knight33 has joined #ruby
im314ous_ has joined #ruby
hndk has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
ule has joined #ruby
raul782 has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
ptx0 has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
Pumukel has joined #ruby
d^sh has joined #ruby
gusrub has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 260 seconds]
xall has joined #ruby
JoshS has quit [Ping timeout: 256 seconds]
Rodya_ has quit [Remote host closed the connection]
ule has quit [Quit: leaving]
<Verity> I bought "the ruby programming language" but now looking at the 1.8 on cover I fear its out of date
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
Rodya_ has joined #ruby
libastral has quit [Ping timeout: 264 seconds]
libastral has joined #ruby
duckpupp1 has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<baweaver> heavily. There's a 2.0 version
naprimer has quit [Ping timeout: 240 seconds]
hutch34_ has joined #ruby
<Verity> in print?
<Verity> It's actually 1.9
Channel6 has joined #ruby
dar123 has quit [Read error: Network is unreachable]
dar123 has joined #ruby
duckpupp1 has quit [Ping timeout: 240 seconds]
tercenya has quit [Remote host closed the connection]
<baweaver> Ah, was thinking pickaxe book
jeyraof^mbpr has joined #ruby
tercenya has joined #ruby
duderonomy has quit [Ping timeout: 246 seconds]
dar123 has quit [Read error: Connection reset by peer]
Jayson_Virissimo has joined #ruby
jameser has joined #ruby
hutch34_ has quit [Ping timeout: 240 seconds]
marxarelli is now known as marxarelli|afk
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
spicerack has joined #ruby
JoshS has joined #ruby
gusrub has joined #ruby
Rodya_ has joined #ruby
charliesome has joined #ruby
JoshS has quit [Max SendQ exceeded]
<Verity> .1 version different can't be too significant, hopefully
JoshS has joined #ruby
JoshS has quit [Max SendQ exceeded]
JoshS has joined #ruby
igniting has quit [Ping timeout: 246 seconds]
JoshS has quit [Max SendQ exceeded]
naprimer has joined #ruby
<t-recx> I've read it and found it useful when I was learning ruby not that long ago
__Yiota has joined #ruby
JoshS has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
xall has quit [Ping timeout: 264 seconds]
ctompkinson has joined #ruby
marxarelli|afk has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
naprimer has quit [Ping timeout: 264 seconds]
baweaver is now known as baweaver_away
ctompkinson has quit [Ping timeout: 240 seconds]
itsautomatisch has joined #ruby
cfec0b8d1 has joined #ruby
cfec0b8d has quit [Ping timeout: 240 seconds]
esObe_ has joined #ruby
dviola has quit [Quit: WeeChat 1.7]
esObe_ has quit [Ping timeout: 260 seconds]
cfec0b8d1 has quit [Ping timeout: 268 seconds]
cfec0b8d has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nadir has quit [Quit: Connection closed for inactivity]
baweaver_away is now known as baweaver
enterprisey has joined #ruby
gusrub has quit [Remote host closed the connection]
cfec0b8d has quit [Ping timeout: 246 seconds]
cfec0b8d has joined #ruby
naprimer has joined #ruby
hndk has quit [Quit: Leaving]
jeffreylevesque has quit [Ping timeout: 246 seconds]
jeffreylevesque has joined #ruby
ptx0 has joined #ruby
xall has joined #ruby
dar123 has joined #ruby
lethan has quit []
t-recx has quit [Quit: t-recx]
hutch34_ has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34_ has quit [Ping timeout: 240 seconds]
etehtsea has joined #ruby
spicerack has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 246 seconds]
JoshS has quit [Ping timeout: 256 seconds]
Betwack has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pifon has joined #ruby
raul782 has quit [Remote host closed the connection]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_tk421_ has joined #ruby
xall has joined #ruby
__Yiota has joined #ruby
etehtsea has quit [Ping timeout: 240 seconds]
claw has quit [Ping timeout: 264 seconds]
cpruitt has quit [Quit: cpruitt]
gix has quit [Ping timeout: 264 seconds]
claw has joined #ruby
gix has joined #ruby
statelesscode has joined #ruby
itsautomatisch has quit [Remote host closed the connection]
raul782 has joined #ruby
Pumukel has joined #ruby
gusrub has joined #ruby
axyjo has quit [Quit: Textual IRC Client: www.textualapp.com]
<allisio> Verity: 1.8 -> 1.9 was considerably bumpier than 1.9 -> 2.0, for your records.
Pumukel has quit [Ping timeout: 246 seconds]
__main__ has quit [Ping timeout: 240 seconds]
<allisio> You only said ".1", not words like "major" and "minor", but I trust you see the point I mean to make.
gusrub has quit [Ping timeout: 246 seconds]
Rodya_ has quit [Remote host closed the connection]
duckpupp1 has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
minimalism has quit [Quit: minimalism]
duckpupp1 has quit [Ping timeout: 240 seconds]
raul782 has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
minimalism has joined #ruby
HoierM has quit [Ping timeout: 264 seconds]
JeanCarloMachado has quit [Ping timeout: 246 seconds]
Channel6 has quit [Quit: Leaving]
hutch34_ has joined #ruby
Azure|dc has joined #ruby
Rodya_ has joined #ruby
JeanCarloMachado has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
astrobunny has joined #ruby
dar123 has quit [Ping timeout: 246 seconds]
hutch34_ has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Ping timeout: 246 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
yaewa has joined #ruby
jcao219 has joined #ruby
moei has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby
renchan has joined #ruby
zipace has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
Guest96 has quit [Remote host closed the connection]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest96 has joined #ruby
ctompkinson has joined #ruby
<Verity> allisio, I'm not sure I do. Is this book a good choice for me?
nofxxx has joined #ruby
cschneid_ has joined #ruby
ctompkinson has quit [Ping timeout: 264 seconds]
nofxxxx has quit [Ping timeout: 240 seconds]
Jayson_Virissimo has quit []
b3l914n has quit [Ping timeout: 256 seconds]
dhollinger has quit [Ping timeout: 260 seconds]
knight33 has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
esObe_ has joined #ruby
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
ovaltine has quit [Ping timeout: 240 seconds]
ovaltine has joined #ruby
jane_booty_doe has joined #ruby
esObe_ has quit [Ping timeout: 240 seconds]
Pumukel has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
milardovich has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
nadir has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
bweston92 has quit [Quit: Connection closed for inactivity]
meinside has quit [Quit: Connection closed for inactivity]
howdoi has joined #ruby
BabyMario has joined #ruby
Bock has joined #ruby
jcao219 has joined #ruby
dhollinger has joined #ruby
binarycodess has joined #ruby
jane_booty_doe has quit [Quit: Leaving]
im314ous_ has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
binarycodess has quit [Quit: Textual IRC Client: www.textualapp.com]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
binarycodess has joined #ruby
Rodya_ has quit [Ping timeout: 246 seconds]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
binarycodess has quit [Client Quit]
harfangk has joined #ruby
qba73 has joined #ruby
BabyMario has left #ruby ["bbl"]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
toretore has joined #ruby
jaequery has joined #ruby
bjfish2 has quit [Quit: bjfish2]
bjfish2 has joined #ruby
bjfish2 has quit [Client Quit]
jgt1 has joined #ruby
last_staff has joined #ruby
Burgestrand has joined #ruby
Burgestrand has quit [Client Quit]
anisha has joined #ruby
blackwind_123 has quit [Ping timeout: 260 seconds]
FastJack has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
duckpupp1 has joined #ruby
shinnya has quit [Ping timeout: 260 seconds]
_tk421_ has quit [Ping timeout: 240 seconds]
Beverage has joined #ruby
Rodya_ has quit [Ping timeout: 246 seconds]
duckpupp1 has quit [Ping timeout: 268 seconds]
biberu has joined #ruby
Wsewolod has quit [Ping timeout: 240 seconds]
binarycodess has joined #ruby
qba73 has quit [Read error: Connection reset by peer]
qba73 has joined #ruby
User458764 has joined #ruby
vali has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
JeanCarloMachado has quit [Ping timeout: 260 seconds]
binarycodess has quit [Quit: binarycodess]
binarycodess has joined #ruby
binarycodess has quit [Client Quit]
JeanCarloMachado has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
harfangk has joined #ruby
binarycodess has joined #ruby
binarycodess has left #ruby [#ruby]
binarycodess has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
def_jam has joined #ruby
eb0t_ has joined #ruby
gigetoo has quit [Ping timeout: 260 seconds]
eblip has quit [Ping timeout: 240 seconds]
eb0t has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: last_staff]
andikr has joined #ruby
gigetoo has joined #ruby
boz_ has joined #ruby
raul782 has joined #ruby
binarycodess has quit [Quit: binarycodess]
binarycodess has joined #ruby
jamesaxl has joined #ruby
last_staff has joined #ruby
ctompkinson has joined #ruby
qba73 has quit []
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
kernelPaniq has joined #ruby
binarycodess has quit [Quit: binarycodess]
ctompkinson has quit [Ping timeout: 260 seconds]
jusa has joined #ruby
flying has joined #ruby
charliesome has joined #ruby
InsaneSplash has joined #ruby
<InsaneSplash> morning, could someone tell me what this content looks like in Ruby, is this a hash? #<TEXT:0x815e32c0
esObe_ has joined #ruby
<havenwood> InsaneSplash: That looks like an instance of a TEXT, whatever that is. Where's it from?
enterprisey has quit [Remote host closed the connection]
<havenwood> InsaneSplash: Ask it its class?: #<TEXT:...>.class
<havenwood> InsaneSplash: Consider taking a look at it with Pry.
<havenwood> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
esObe_ has quit [Ping timeout: 240 seconds]
<InsaneSplash> cool, i tried pp, but that didnt help
<InsaneSplash> let me have a squiz
Silthias2 has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
BTRE has joined #ruby
raul782 has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
patarr has joined #ruby
brianpWins has joined #ruby
Xiti has quit [Quit: Xiti]
TomyWork has joined #ruby
skweek has joined #ruby
astrobunny has quit [Remote host closed the connection]
Burgestrand has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
astrobunny has joined #ruby
esObe_ has joined #ruby
solocshaw has joined #ruby
esObe_ has quit [Remote host closed the connection]
esObe_ has joined #ruby
aufi has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cfec0b8d has quit [Remote host closed the connection]
xall has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
hutch34_ has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
Arpanet69 has joined #ruby
cyphase has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
hutch34_ has quit [Ping timeout: 264 seconds]
cyphase has joined #ruby
mark_66 has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
vondruch has joined #ruby
griff has joined #ruby
Arpanet69 has quit [Quit: Leaving]
solocshaw has joined #ruby
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grh has joined #ruby
Burgestrand has joined #ruby
DaniG2k has joined #ruby
blackmesa has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duckpupp1 has joined #ruby
raul782 has joined #ruby
duckpupp1 has quit [Ping timeout: 240 seconds]
manjaro-kde5 has joined #ruby
__main__ has joined #ruby
jeyraof^mbpr has quit [Quit: This computer has gone to sleep]
ctompkinson has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
jeyraof^mbpr has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
dionysus69 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
grillon_ has joined #ruby
govg has quit [Ping timeout: 264 seconds]
mim1k has joined #ruby
grillon_ has quit [Client Quit]
xall has joined #ruby
rgtk has joined #ruby
marr has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
johnzorn has joined #ruby
jeyraof^mbpr has quit [Quit: This computer has gone to sleep]
jeyraof^mbpr has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
jsrn__ has joined #ruby
DaniG2k has quit [Quit: leaving]
nhhc has joined #ruby
xdqioh has joined #ruby
jlebrech has joined #ruby
<jlebrech> is there a way for a yield inside of a block to set variable outside of the block rather than need to create a nil value before the block?
<matthewd> jlebrech: No
govg has joined #ruby
<jlebrech> bummer :)
lxsameer has joined #ruby
sepp2k has joined #ruby
patarr has joined #ruby
boz_ has quit [Quit: Leaving]
nofxxx has quit [Ping timeout: 268 seconds]
skweek has quit [Ping timeout: 240 seconds]
pandaant has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
johnzorn has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
jcao219 has quit [Ping timeout: 260 seconds]
netmole has joined #ruby
<netmole> good day rubbists
patarr has quit [Ping timeout: 240 seconds]
<netmole> i have strange error with ransack gem can anyone take look on this http://stackoverflow.com/q/43271132/6925129
johnzorn has quit [Read error: Connection reset by peer]
johnzorn has joined #ruby
ledestin has joined #ruby
mim1k has joined #ruby
<dminuoso> netmole: What exactly is the problem you are experiencing?
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
<netmole> well
<dminuoso> Ohh nevermind I spotted it.
<netmole> i am have controller when i am search two tems
<dminuoso> netmole: the problem is with how you use modifier_unless
<dminuoso> Let me demonstrate
<dminuoso> >> a = "foo"; a = 1 if false; p a
<ruby[bot]> dminuoso: # => "foo" ...check link for more (https://eval.in/770087)
<dminuoso> Or..
tvw has joined #ruby
<netmole> well how to use code which executes when is no params [q ] or key in q datum_eq or sklad_id and recall controller with new search terms
Guest96 has quit [Remote host closed the connection]
<dminuoso> netmole: mm, Im not sure whether its a wise idea to modify the ransack objec directly
<netmole> well exist any other way
<centrx> There is no code
<dminuoso> Sure, you could do something like def defaultFilter; return { datum_eq: Date.current, cil_id_eq = Sklad.first.id }; end; and then inside your action you do: filters = params[:q] || defaultFilter(); @events = Event.search(filters).result
<dminuoso> netmole: ^- something along those lines.
Guest96 has joined #ruby
hutch34_ has joined #ruby
<dminuoso> Oh well, slight typo there in the Hash, but you get the idea.
<dminuoso> Or better yet to keep things more testable:
cfec0b8d has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
<netmole> ah ty
johnzorn has joined #ruby
<dminuoso> Or better yet!
hutch34_ has quit [Ping timeout: 240 seconds]
<dminuoso> Ah well lets not bikeshed.
<dminuoso> netmole: By the way you should be using .ransack instead of .search - .search will be deprecated.
<netmole> thanks a lot
<netmole> really
skweek has joined #ruby
rgr has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
pandaant has quit [Remote host closed the connection]
tvw has quit [Read error: Connection reset by peer]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
astrobunny has quit [Remote host closed the connection]
v1_ has joined #ruby
v1_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
mikecmpbll has joined #ruby
duckpupp1 has joined #ruby
Burgestrand has quit [Quit: Closing time!]
netmole has quit [Quit: Page closed]
mim1k has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
patarr has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
Beams has joined #ruby
duckpupp1 has quit [Ping timeout: 256 seconds]
raul782 has joined #ruby
howlinbash has joined #ruby
gsilva has joined #ruby
patarr has quit [Ping timeout: 268 seconds]
jeyraof^mbpr has quit [Quit: Leaving]
mim1k has joined #ruby
Lartza has joined #ruby
<Lartza> How do I force a program to use gems installed into vendor/bundle or similar
<Lartza> sudo bundle install sounds like the worst idea ever so that's not a solution
<matthewd> Lartza: bundle exec
<Lartza> Oh yeah, thanks :)
futilegames has joined #ruby
futilegames has quit [Client Quit]
milardovich has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
nowhereman has joined #ruby
BSAlb has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
kke has quit [Changing host]
kke has joined #ruby
dasher00 has quit [Ping timeout: 256 seconds]
AnoHito has joined #ruby
BSaboia has joined #ruby
fergal has joined #ruby
dasher00 has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
johnzorn has joined #ruby
IRCFrEAK has joined #ruby
IRCFrEAK has left #ruby [#ruby]
Burgestrand has joined #ruby
HoloIRCUser6 has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
Fernando-Basso has joined #ruby
milardovich has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
Ishido has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 256 seconds]
nadir has joined #ruby
mim1k has joined #ruby
raul782 has quit [Ping timeout: 268 seconds]
netmole has joined #ruby
Arpanet69 has joined #ruby
Beams has quit [Quit: .]
HoloIRCUser6 has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: Closing time!]
Beams has joined #ruby
Beams has quit [Client Quit]
Ishido has quit [Ping timeout: 246 seconds]
Beams has joined #ruby
netmole_ has joined #ruby
<netmole_> good day rubbists
duckpupp1 has joined #ruby
User458764 has joined #ruby
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
ctompkinson has quit [Ping timeout: 240 seconds]
centrx has quit []
<flips> o/
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
xdqioh has quit [Ping timeout: 240 seconds]
millerti has joined #ruby
Arpanet69 has quit [Read error: Connection reset by peer]
Arpanet69 has joined #ruby
uyptva has joined #ruby
Burgestrand has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hutch34_ has joined #ruby
blackmesa has joined #ruby
postmodern has quit [Quit: Leaving]
hutch34_ has quit [Ping timeout: 246 seconds]
<netmole_> i am thanked to dminuso for his help https://gist.github.com/dminuoso/34fb3d73b6dbd8e21bbe614e5db648fd but it has one drawback with this hack short_link ignores search fields because path wont change with changed search criteria
Arpanet69 has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 268 seconds]
conta has joined #ruby
ldnunes has joined #ruby
milardovich has joined #ruby
JeanCarloMachado has joined #ruby
gsilva has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 240 seconds]
rgtk has quit [Ping timeout: 240 seconds]
cfec0b8d has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 268 seconds]
Hekata has joined #ruby
rgtk has joined #ruby
<dminuoso> netmole_: You can fix this with the following modification:
<dminuoso> netmole_: @ransacked_object.sorts = "id DESC" if @ransacked_object.sorts.empty?
misthonk has quit [Quit: leaving]
<dminuoso> If you want some default sort order.
<dminuoso> netmole_: Or.. mm. I understand -> but you can still do the same thing. Just activate your brian.
<dminuoso> Either use a different object to transport sort information, or just check whether params[:q] has anything beyond sort links.
<dminuoso> netmole_: Keep in mind that I would be careful about default filters in the backend like this, as its opaque to the user.
<dminuoso> I.e. if you could just default the search fields in the frontend, then your controller gets easier because it will provide *exactly* what its asked of.
rgtk has quit [Ping timeout: 240 seconds]
<dminuoso> And you could immediately provide some visual clue to the user.
fergal has quit [Quit: fergal]
<dionysus69> um any ideas how I can run ruboto example app I downloaded from ruboto repo on android?
cfec0b8d has joined #ruby
<dionysus69> there's no documentation about that I could find
nhhc has quit [Quit: Leaving]
User458764 has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
AnoHito has quit [Read error: Connection reset by peer]
AnoHito has joined #ruby
knight33 has joined #ruby
knight33 has quit [Client Quit]
cfec0b8d has quit [Ping timeout: 240 seconds]
raul782 has joined #ruby
GodFather has quit [Quit: Ex-Chat]
GodFather_ has joined #ruby
HoierM has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
duckpupp1 has quit [Quit: WeeChat 1.7]
ayonkhan has joined #ruby
raspado has joined #ruby
ctompkinson has joined #ruby
moeSizlak has joined #ruby
rwb has quit [Ping timeout: 260 seconds]
<moeSizlak> any idea why installing filemagic gem wants to install 50 other gems, including rails, sinatra, etc?
<matthewd> moeSizlak: Because it depends on them?
<moeSizlak> why though
<moeSizlak> it didnt used to
<moeSizlak> and no, it cant possibly
<matthewd> https://rubygems.org/gems/filemagic shows two versions, with identical deps
<allisio> moeSizlak: I think you probably used a different Ruby wrapper around libmagic.
<allisio> There's a gem called ruby-filemagic that might be the one you used previously.
<mnemon> moeSizlak: there's also ruby-filemagic with less dependencies
<allisio> *fewer
<moeSizlak> hmmm
bonhoeffer has joined #ruby
danielpclark has quit [Remote host closed the connection]
charliesome has joined #ruby
<canton7> filemagic has a runtime dependency of rails, ruby-filemagic doesn't. I suspect you used ruby-filemagic before ;)
<allisio> Why on earth does filemagic have rails as a dependency, though?
<Burgestrand> Heh, because it provides a form builder helper.
cfec0b8d has joined #ruby
<Burgestrand> Looks like it also provides controllers for upload/deletion.
<Burgestrand> Quite simply it's a rails engine.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matthewd> It still shouldn't actually depend on rails, but rather railties -- though that wouldn't really solve the "why am I downloading half the internet" problem
<allisio> Brutal.
xall has quit [Ping timeout: 264 seconds]
<allisio> dminuoso: I really want to pass a Proc to Binding#eval. Please halp.
hutch34_ has joined #ruby
<allisio> InstructionSequence#to_s -> valid Ruby would be <3.
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has joined #ruby
bonhoeffer has quit [Ping timeout: 240 seconds]
shortCiruit__ has joined #ruby
<shortCiruit__> hey
<shortCiruit__> I had a question
<allisio> Do you still have it?
<shortCiruit__> lets say there is class A def abc puts "super" end end . and class B < A end .. now if I say B.new.abc .. is it possible to know inside abc who called the method
mim1k has joined #ruby
hutch34_ has quit [Ping timeout: 260 seconds]
<allisio> shortCiruit__: https://eval.in/770373
<shortCiruit__> the problem I am having is with the current setup of an application we have, the letter_opener is not working .. so we have a super class called template .. where I added a show_email method, which write the email to an html file in tmp/ . what I am facing problem is naming the output file .. so if its say EmailVerificationTemplate < EMailTemplate .. then EmailVerificationTemplate.new.show_email would create a file like email_ver
<shortCiruit__> damn
blackmesa has joined #ruby
<shortCiruit__> that was easy
<shortCiruit__> :D
<shortCiruit__> thanks
netmole has quit [Quit: Page closed]
mim1k has quit [Ping timeout: 246 seconds]
gsilva has joined #ruby
raul782 has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
cgibsonmm has joined #ruby
hutch34_ has joined #ruby
<moeSizlak> thank you mnemon that was my problem
moeSizlak has left #ruby ["Leaving"]
milardovich has joined #ruby
jeffreylevesque has quit [Ping timeout: 240 seconds]
fmcgeough has joined #ruby
pulkit4tech has joined #ruby
pupsicle has joined #ruby
haxrbyte has joined #ruby
hutch34_ has quit [Ping timeout: 268 seconds]
haxrbyte has quit [Client Quit]
mim1k has joined #ruby
aupadhye has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
Burgestrand has quit [Quit: Closing time!]
hutch34_ has joined #ruby
last_staff has quit [Quit: last_staff]
netmole_ has quit [Ping timeout: 260 seconds]
InsaneSplash has quit []
GodFather_ has quit [Ping timeout: 268 seconds]
GodFather_ has joined #ruby
am55 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rwb has joined #ruby
jeffreylevesque has joined #ruby
hahuang61 has quit [Ping timeout: 246 seconds]
shortCiruit__ has quit [Ping timeout: 260 seconds]
am55 has joined #ruby
hutch34_ has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
hutch34_ has joined #ruby
blackmesa has joined #ruby
Burgestrand has joined #ruby
griff has joined #ruby
govg has quit [Quit: leaving]
ayonkhan has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has joined #ruby
patarr has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
vali has quit [Ping timeout: 256 seconds]
haxrbyte has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 240 seconds]
zun has joined #ruby
haxrbyte has quit [Client Quit]
gregf_ has quit [Ping timeout: 260 seconds]
patarr has quit [Ping timeout: 240 seconds]
sifu has joined #ruby
User458764 has joined #ruby
gk_1wm_su has joined #ruby
gk_1wm_su has quit [K-Lined]
mrgrieves has joined #ruby
Ishido has joined #ruby
raul782 has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgtk has joined #ruby
Burgestrand has quit [Quit: Closing time!]
DLSteve has joined #ruby
Ishido has quit [Client Quit]
Ishido has joined #ruby
Ishido has quit [Remote host closed the connection]
charliesome has joined #ruby
Ishido has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
patarr has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
Burgestrand has joined #ruby
mim1k has joined #ruby
<soahccc> Do you guys prefer A: class MyException < ArgumentError; end or B: MyException = Class.new(ArgumentError)
<soahccc> I find B cleaner but with A it's easier to read what it inherits from since it's directly next to each other
<allisio> Semicolons are strictly verboten by some style guides.
<soahccc> yeah I don't really like the 2 line version as well :D
<allisio> The choice is clear.
<allisio> Class.new with an argument should read just as clearly to anybody who knows the rudiments of the language.
Pumukel has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
uyptva has quit [Remote host closed the connection]
<soahccc> allisio: that is true but I see A a lot in gems but Class.new I haven't seen in the wild so far
ctompkinson has quit [Ping timeout: 240 seconds]
<allisio> soahccc: Read more code, I guess?
renchan has quit [Quit: Leaving...]
Pumukel has joined #ruby
zipper is now known as not-zipper
not-zipper is now known as zipper
ctompkinson has joined #ruby
vuoto has joined #ruby
milardovich has joined #ruby
patarr has joined #ruby
<allisio> soahccc: Rake, RSpec, RuboCop, and Sequel all use `Class.new(StandardError)` all over the place.
raul782 has quit [Ping timeout: 240 seconds]
haylon has joined #ruby
<allisio> As do thousands of other gems, I'm sure.
mim1k has quit [Ping timeout: 264 seconds]
pupsicle has quit [Remote host closed the connection]
<soahccc> allisio: I will do that then I guess. I looked at the wrong gems it seems :) I just noticed that Sequel did it this way but with a weird ().name wrapper
mim1k has joined #ruby
b3l914n has joined #ruby
mello has quit [Remote host closed the connection]
bjfish2 has joined #ruby
<allisio> soahccc: Only in one place, and it appears to be some kind of stop-gap.
solocshaw has joined #ruby
<allisio> Oh, never mind. That is weird.
<allisio> Are they doing that to appease the documentation generator or some such?
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<jlebrech> how do gems perform something on the next line of a helper, say here for example? https://www.skylight.io/support/getting-more-from-skylight#method-instrumentation
max_v has joined #ruby
grh has quit [Ping timeout: 260 seconds]
<allisio> soahccc: Huh. Good find. I've always assumed assigning to a constant was sufficient.
<jlebrech> caller line number + 1 and monkey patch that method?
<allisio> jlebrech: It's not clear what you're asking.
yeticry_ has joined #ruby
<soahccc> allisio: so it's ruby cache? If I have to call name on them now I might as well just use the "old fashion" way?
<jlebrech> say i want to put "add_new_line_to_all_puts" before def a_method_that_outputs_stuff
<allisio> soahccc: Seems so. Feels like an unnecessary optimization to me.
<jlebrech> i see those helper methods that perform an action on the next code
rgtk has quit [Ping timeout: 268 seconds]
workmad3 has joined #ruby
dysfigured has quit [Quit: I hate quit messages.]
dysfigured has joined #ruby
yeticry has quit [Ping timeout: 268 seconds]
User458764 has joined #ruby
<soahccc> jlebrech: Do you really want this? I already hate the way private/protected works. I personally prefer blocks depending on the actual case
cfec0b8d has quit [Quit: Leaving.]
solocshaw has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 256 seconds]
cfec0b8d has joined #ruby
solocshaw has joined #ruby
<jlebrech> soahccc: not per se, just wanted to know how it works
skweek has joined #ruby
<jlebrech> soahccc: i'd rather have this type of code inside of what it wants to affect actually :)
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
<matthewd> jlebrech: Probably method_added. Just find the source for one of the examples you're looking at?
vuoto has quit [Remote host closed the connection]
dysfigured has quit [Client Quit]
dysfigured has joined #ruby
<jlebrech> matthewd: that would be nasty to code :)
JeanCarloMachado has quit [Ping timeout: 260 seconds]
<soahccc> jlebrech: in case of instrument_method in your example they use class variables (sorta class globals) to "remember" that the next method is going to be instrumented. How they actually hook into the method? Dirty (imho) metaprogramming... See here https://github.com/skylightio/skylight-ruby/blob/master/lib/skylight/helpers.rb#L81
<soahccc> And yes it's based on method_added as matthewd said
Bock has quit [Ping timeout: 260 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 260 seconds]
<jlebrech> ew, i'd rather use caller and do the magic from a method.
__Yiota has joined #ruby
BSaboia has quit [Quit: Leaving]
mephistophocles has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
__Yiota has quit [Client Quit]
RobertBirnie has joined #ruby
Toledo has joined #ruby
JeanCarloMachado has joined #ruby
synthroid has joined #ruby
narval has joined #ruby
Mon_Ouie has joined #ruby
cdg has joined #ruby
ldnunes has quit [Quit: Leaving]
ldnunes has joined #ruby
rakm has joined #ruby
patarr has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
gk_1wm_su has joined #ruby
gk_1wm_su has quit [K-Lined]
joelwallis has joined #ruby
ctompkinson has quit [Ping timeout: 240 seconds]
planigan has joined #ruby
manjaro-kde5 has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
Lord_of_Life has joined #ruby
[Butch] has joined #ruby
shinnya has joined #ruby
pulkit4tech has quit [Quit: Connection closed for inactivity]
bjfish2 has left #ruby [#ruby]
ledestin has joined #ruby
davix has quit [Ping timeout: 246 seconds]
jgpawletko has joined #ruby
cpruitt has joined #ruby
ledestin has quit [Ping timeout: 240 seconds]
jgpawletko has quit [Client Quit]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ctompkinson has joined #ruby
etehtsea has joined #ruby
hahuang61 has joined #ruby
anisha has quit [Quit: Leaving]
marr has quit [Ping timeout: 256 seconds]
jusa has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
howlinbash has quit [Ping timeout: 240 seconds]
synthroid has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 256 seconds]
cschneid_ has joined #ruby
JeanCarloMachado has quit [Ping timeout: 246 seconds]
kristofferR has joined #ruby
mark_66 has quit [Remote host closed the connection]
JeanCarloMachado has joined #ruby
dionysus69 has joined #ruby
etehtsea has quit [Ping timeout: 240 seconds]
minimalism has quit [Quit: minimalism]
etehtsea has joined #ruby
minimalism has joined #ruby
tqswkk has joined #ruby
rakm has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LuckyABA has joined #ruby
Bock has joined #ruby
Bock has quit [Max SendQ exceeded]
__Yiota has joined #ruby
cgibsonmm has quit [Ping timeout: 246 seconds]
howlinbash has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
Bock has joined #ruby
gizmore|2 has joined #ruby
rakm has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
jcao219 has joined #ruby
raul782 has joined #ruby
cyberRodent has quit [Ping timeout: 260 seconds]
Pumukel has quit [Remote host closed the connection]
mim1k has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
raul782 has quit [Remote host closed the connection]
synthroid has joined #ruby
raul782 has joined #ruby
TomyLobo has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
am55 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danguita has joined #ruby
blackwind_123 has joined #ruby
Toledo has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
Meow-J has joined #ruby
cfec0b8d has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 240 seconds]
Mon_Ouie has quit [Ping timeout: 260 seconds]
Hekata has quit [Quit: Leaving]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sifu has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby
aufi has quit [Quit: Leaving]
JeanCarloMachado has joined #ruby
<allisio> jlebrech: One slightly gross way to do it without #method_added is to take advantage of the fact that method definition resolves to a Symbol for the method name.
marcdel has quit [Ping timeout: 268 seconds]
<jlebrech> allisio: something like a hypothetical: `rainbowify_methods :method1, :method2`
<matthewd> allisio: That's not gross... that's *why* the method definition now returns the symbol
<allisio> matthewd: Well, sure, it's so that you can say `private def foo...`, but I think they should've gone whole-hog with it and made bespoke method "decoration" easy.
rakm has joined #ruby
<allisio> jlebrech: https://eval.in/770493
<jlebrech> allisio: beautiful :)
antoniobeyah has joined #ruby
* apeiros friday-hugs the channel
<apeiros> weeek-eeeeend! :D
agent_white has quit [Ping timeout: 246 seconds]
<allisio> matthewd: I once tried to make it look like how Python does it, but just mentioning an instance variable doesn't trigger anything in TracePoint.
<havenwood> apeiros: Happy Freyja's Day!
ResidentBiscuit has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<baweaver> Thankfully Thorsday is over
raul782 has quit [Remote host closed the connection]
Bish has quit [Quit: off i go]
ctompkinson has quit [Ping timeout: 240 seconds]
arne_ has quit [Remote host closed the connection]
amclain has joined #ruby
rwb has quit [Ping timeout: 256 seconds]
agent_white has joined #ruby
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
<matthewd> allisio: https://eval.in/770503
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
<allisio> matthewd: Brilliant.
mrgrieves has quit [Quit: Lost terminal]
johnmilton has joined #ruby
alxgsv has quit [Quit: https://fnordserver.eu]
Guest60045 has quit [Quit: https://fnordserver.eu]
flopsec has quit [Quit: https://fnordserver.eu]
Satyajit has quit [Quit: https://fnordserver.eu]
tdy has joined #ruby
gusrub has joined #ruby
jsrn__ has quit [Quit: Leaving]
mikecmpbll has quit [Ping timeout: 264 seconds]
johnmilton has quit [Remote host closed the connection]
__Yiota has joined #ruby
cdg_ has joined #ruby
rwb has joined #ruby
cdg has quit [Ping timeout: 246 seconds]
cyberRodent has joined #ruby
xenops has quit [Quit: Textual IRC Client: www.textualapp.com]
marr has joined #ruby
max_v has quit [Quit: Saliendo]
jlebrech has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
nersoh has joined #ruby
esObe_ has quit [Remote host closed the connection]
nchambers has joined #ruby
esObe_ has joined #ruby
nchambers is now known as Guest99703
raul782 has joined #ruby
<agent_white> Mornin' folks
Guest99703 is now known as dtscode
dtscode has left #ruby [#ruby]
Beams has quit [Quit: .]
esObe_ has quit [Ping timeout: 260 seconds]
cdg_ has quit [Remote host closed the connection]
nanoz has joined #ruby
mim1k_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
cyberRodent has quit [Ping timeout: 260 seconds]
cgibsonmm has joined #ruby
cyberRodent has joined #ruby
Ishido has quit [Ping timeout: 260 seconds]
FastJack has quit [Ping timeout: 260 seconds]
nitric has joined #ruby
FastJack has joined #ruby
outreachdan has joined #ruby
Lord_of_Life has quit [Excess Flood]
Ishido has joined #ruby
nowhereman has joined #ruby
gsilva has quit [Ping timeout: 246 seconds]
mim1k_ has quit [Ping timeout: 260 seconds]
Lord_of_Life has joined #ruby
kiltzman has quit [Ping timeout: 268 seconds]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
rippa has joined #ruby
max_v has joined #ruby
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
esObe_ has joined #ruby
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
beatdown has joined #ruby
joelwall_ has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
joelwallis has quit [Ping timeout: 260 seconds]
andikr has quit [Remote host closed the connection]
solocshaw has joined #ruby
<havenwood> agent_white: g'mornin'
esObe_ has quit [Ping timeout: 268 seconds]
joelwall_ has quit []
ldnunes has quit [Remote host closed the connection]
jgpawletko has joined #ruby
dionysus69 has joined #ruby
t-recx has joined #ruby
nofxx has joined #ruby
jgpawletko has quit [Client Quit]
danguita has quit [Remote host closed the connection]
rgr has quit [Remote host closed the connection]
rgr_ has joined #ruby
Ishido has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
gigetoo has quit [Read error: Connection reset by peer]
jusa has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
max_v has quit [Quit: Saliendo]
gusrub has quit [Remote host closed the connection]
SpComb^ is now known as SpComb
lxsameer has quit [Quit: WeeChat 1.5]
bigkevmcd has quit [Quit: Outta here...]
rwb has quit [Ping timeout: 246 seconds]
binarycodess has joined #ruby
hahuang61 has joined #ruby
naprimer has quit [Ping timeout: 264 seconds]
jcao219 has quit [Ping timeout: 240 seconds]
binarycodess has quit [Client Quit]
ResidentBiscuit has joined #ruby
Burgestrand has quit [Quit: Closing time!]
jusa has joined #ruby
AndBobsYourUncle has joined #ruby
naprimer has joined #ruby
hahuang61 has quit [Ping timeout: 240 seconds]
binarycodess has joined #ruby
rwb has joined #ruby
milardovich has quit []
mroth has quit [Quit: Updating details, brb]
mroth has joined #ruby
moufl has quit [Quit: fuck it.]
Ishido has joined #ruby
preyalone has joined #ruby
gusrub has joined #ruby
djbkd has joined #ruby
moufl has joined #ruby
duderonomy has quit [Ping timeout: 260 seconds]
Authenticator has joined #ruby
djbkd has quit [Client Quit]
last_staff has joined #ruby
<Authenticator> What's the difference between the builtin OpenSSL and the gem OpenSSL?
[Butch] has quit [Quit: I'm out . . .]
<matthewd> Authenticator: Nothing, beyond the fact the gem could be more up to date
ldnunes has joined #ruby
jaequery has joined #ruby
SteenJobs has joined #ruby
<Authenticator> matthewd: Thanks.
jcao219 has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
gusrub has quit [Remote host closed the connection]
[Butch] has joined #ruby
Renich has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
johnzorn has quit [Read error: Connection reset by peer]
last_staff has quit [Remote host closed the connection]
govg has joined #ruby
haylon has quit [Read error: Connection reset by peer]
johnzorn has joined #ruby
hutch34_ has quit [Read error: Connection reset by peer]
gusrub has joined #ruby
dionysus69 has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
BTRE has quit [Quit: Leaving]
BTRE has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
planigan has quit [Remote host closed the connection]
planigan has joined #ruby
pupsicle has joined #ruby
gusrub has quit [Remote host closed the connection]
esObe_ has joined #ruby
tax has joined #ruby
AndBobsYourUncle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
ldnunes has quit [Quit: Leaving]
ldnunes has joined #ruby
danguita has joined #ruby
haylon has joined #ruby
aviraldg has quit [Changing host]
aviraldg has joined #ruby
aviraldg has joined #ruby
tqswkk has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haylon_ has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
cfec0b8d has joined #ruby
tlaxkit has joined #ruby
johnzorn has joined #ruby
haylon has quit [Ping timeout: 240 seconds]
binarycodess has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hndk has joined #ruby
last_staff has quit [Remote host closed the connection]
last_staff has joined #ruby
mjolnird has joined #ruby
mjolnird has quit [Read error: Connection reset by peer]
last_staff has quit [Client Quit]
duderonomy has joined #ruby
binarycodess has joined #ruby
AndBobsYourUncle has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
Arpanet69 has joined #ruby
BTRE has joined #ruby
sparr has quit [Changing host]
sparr has joined #ruby
Arpanet69 has quit [Ping timeout: 240 seconds]
tercenya has quit [Remote host closed the connection]
toretore has quit [Ping timeout: 256 seconds]
tercenya has joined #ruby
gusrub has joined #ruby
hotpancakes has joined #ruby
hotpanca_ has joined #ruby
hotpancakes has quit [Remote host closed the connection]
Aloy has quit [Ping timeout: 240 seconds]
jonatasdaniel has joined #ruby
vali has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
danguita has quit [Quit: danguita]
BTRE has quit [Quit: Leaving]
<sonOfRa> Is there a good way to calculate the distance between the occurence of a certain string *within* a string?
SteenJobs_ has joined #ruby
<sonOfRa> I'm writing a vigenère cipher solver, and wondering what the best approach to find the period of a digraph is
vali has quit [Quit: vali]
<Verity> is <^'> or @--__~~ preferred
Ishido has quit [Ping timeout: 256 seconds]
<Verity> wrong room, sorry
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
SteenJobs has quit [Ping timeout: 240 seconds]
SteenJobs_ is now known as SteenJobs
synthroi_ has joined #ruby
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
hotpanca_ has quit [Remote host closed the connection]
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
synthroid has quit [Ping timeout: 246 seconds]
hotpancakes has joined #ruby
Aloy has joined #ruby
RobertBirnie has joined #ruby
cgibsonm_ has joined #ruby
User458764 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
dagda1 has joined #ruby
cgibsonmm has quit [Ping timeout: 246 seconds]
hotpancakes has joined #ruby
Authenticator has quit [Quit: leaving]
<patarr> Is there any way to explicitly set the "cause" of a Ruby Error?
<allisio> patarr: Define "cause".
<allisio> Verity: What was that?
<patarr> The method `.cause`
<allisio> Derp.
<patarr> Returns the cause. I would like to set the cause.
jonatasdaniel has quit [Ping timeout: 260 seconds]
<patarr> COme to think of it, I haven't tried .cause = something...
binarycodess has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<allisio> That won't do.
<allisio> It's stored in a hidden instance variable.
<allisio> You could write to it from a C extension.
<patarr> wooow...
* patarr exasperated sigh
<allisio> It's not something you're supposed to want to do, for what that's worth.
binarycodess has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
<allisio> >> 'lemonlemonle'[/(\w+)\1/].size / 2 # sonOfRa
<masterasia> How would I wrote a regex to capture something like
<ruby[bot]> allisio: # => 5 (https://eval.in/770630)
<allisio> What timing.
<masterasia> <img class="test">
<allisio> masterasia: No.
kristofferR has joined #ruby
<dminuoso> allisio: hidden instance variables are not hidden to me!
<allisio> dminuoso: Nor I. :)
esObe_ has quit [Remote host closed the connection]
ule has joined #ruby
d^sh has quit [Quit: ZNC 1.6.1 - http://znc.in]
<ule> o/
<dminuoso> allisio: There's nothing my Fiddle cant fiddle.
<dminuoso> :-)
impermanence has joined #ruby
<impermanence> Is there a channel for more chat-related questions, as opposed to strictly Ruby language-related questions? I have a question about Ruby and SysOps culture.
flying has quit []
hotpancakes has quit [Remote host closed the connection]
<allisio> baweaver's your man.
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
<havenwood> impermanence: ask away
<impermanence> havenwood: give me a second to type it out, please.
<impermanence> well, I guess I'll make it succint:
t-recx has quit [Quit: t-recx]
<sonOfRa> allisio: I don't quite understand that solution
aryaching has joined #ruby
<sonOfRa> Maybe my question wasn't well-formed
<allisio> No, perhaps not. I thought you wanted to know the period of the key for a Vigenère cipher.
<allisio> What is your input and expected output?
<impermanence> havenwood: I notice that a lot of senior level DevOps position I look at out of the Silicon Valley area prefer knowledge in Ruby, it seems for SysOps work beyond configuration management tools (i.e. Chef, Puppet). What I'm trying to understand is, for what? Are these companies actually doing SysOps work in Ruby? I know this is possible...but wha
<impermanence> t else could it be for? So I am a bit confused.
masterasia has quit [Quit: Leaving]
<sonOfRa> oooh, I see now
<sonOfRa> Question was well-formed, and the answer now makes sense
<allisio> Good deal.
<allisio> /(\w+)\1/ matches some sequence of "word" characters followed by itself; you can take half the length of that result to find the size of the word that's being repeated to form the key.
<havenwood> impermanence: They may have internal tooling and apis written in Ruby as well. It's a popular lang for such things.
cfec0b8d has quit [Ping timeout: 256 seconds]
blackmesa has joined #ruby
tdy has quit [Quit: tdy]
cfec0b8d has joined #ruby
ltem has joined #ruby
hotpancakes has quit [Remote host closed the connection]
cgibsonmm has joined #ruby
cgibsonm_ has quit [Ping timeout: 246 seconds]
Mon_Ouie has quit [Read error: No route to host]
Mon_Ouie has joined #ruby
<havenwood> impermanence: They may not be sticklers on it being Ruby if you're able to quickly make command line apps and apis in another lang. Depends.
<impermanence> havenwood: hm. I suppose the API thing is a good point. I was just trying to figure out if there is going to be a trend in SysOps of: Bash+Python (current state, typical) -> Ruby
<havenwood> impermanence: I'd think shell scripting as well as Python or Ruby makes perfect sense.
* dminuoso votes for a new if-syntax: puts foo not if havenwood.nil?
<havenwood> impermanence: More silicon valley shops might be already using Ruby for other things and just naturally lean in that direction.
johnzorn has quit [Read error: Connection reset by peer]
<allisio> dminuoso: Huh?
johnzorn has joined #ruby
<nofxx> ruby for *nix admin is perfect, just fun... as everything ruby
<nofxx> dminuoso, you can write yrself some coffeescript
<allisio> >> 42 if not nil
<ruby[bot]> allisio: # => 42 (https://eval.in/770642)
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
jgt1 has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
<dminuoso> allisio: But that's against Ruby's policy of making the language read well!
<impermanence> havenwood: Right. Hence my concern. I'm going to be applying for these jobs, but I'm worried if I dive headlong into Ruby I'll be pinning myself against a corner for all the less-than-bleeding-edge companies that are still a bit behind...
<allisio> dminuoso: Oh, I see now. Sticking a comma in your original made it make sense.
<allisio> What you're really saying is we need a `but` keyword.
<Mon_Ouie> >> 42 unless nil
<ruby[bot]> Mon_Ouie: # => 42 (https://eval.in/770643)
hotpancakes has joined #ruby
<dminuoso> Mon_Ouie: Which sane person uses "unless" in their day-to-day speech?
<lupine> everyone?
tildes has joined #ruby
jaequery has joined #ruby
<allisio> dminuoso: Did you know `if not` was so unoptimized?
hahuang61 has joined #ruby
my123 has joined #ruby
<my123> hi
<allisio> You made me run `kill -9 1` as root for shits and giggles.
<my123> on Windows, I get `require': cannot load such file -- rails/all even after doing gem install rails, what should I do?
<dminuoso> allisio: Actually I do. Mostly because I myself added some of those optimizations. :)
<dminuoso> Well one to be exact.
SteenJobs has quit [Quit: SteenJobs]
workmad3 has joined #ruby
<havenwood> impermanence: What would you prefer?
<nofxx> my123, remove windows, partition if you game, install linux, thank me later
<allisio> my123: You just say `require 'rails'`, but also consider ^.
<allisio> Well, no, I guess it depends on what you're doing, so just do the Linux thing.
blackmesa has joined #ruby
<my123> nofxx, I'm a Windows Server user
Xeago_ has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
grh has joined #ruby
<matthewd> my123: You have an existing rails app you're trying to start? You'll need to run it through 'bundle exec'
<nofxx> well, ignorance IS bliss ... cant help thinking in the red pill hehe
<allisio> dminuoso: Was it `unless` you optimized?
<dminuoso> allisio: Yeah.
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has joined #ruby
<matthewd> my123: (though we should probably head over to #rubyonrails if that doesn't get it going)
<allisio> dminuoso: Would it be harder to apply the same optimizations to `if not`?
<my123> matthewd, tried bundle exec... same behavior
<my123> It works on the Windows Subsystem for Linux, but with around 30-90 seconds *per request*, so...
<impermanence> havenwood: sorry for the late response. Ruby, of course.
<dminuoso> allisio: I'd have to look at it to be sure, but from what I remember it should be as trivial.
blackmesa has quit [Ping timeout: 240 seconds]
<matthewd> my123: Okay, let's continue in #rubyonrails
hotpanca_ has joined #ruby
<impermanence> havenwood: Let me ask another question. Does Ruby have the gems to be able to speak deeply to a Linux kernel/OS such as Bash and Python? And therefore actually be a viable scripting language?
<matthewd> Is anyone really going to write `if not`? :/
<matthewd> `if !`, sure.. but you can't optimize that
AlexRussia has joined #ruby
<allisio> Why not?
<allisio> Also, is this not a bug? https://eval.in/770656
<Mon_Ouie> No, 'unless' just doesn't implicitly call #!
<allisio> Shouldn't it?
hotpancakes has quit [Ping timeout: 246 seconds]
<matthewd> Oh, I didn't realise `not` did
<dminuoso> allisio: No it shouldn't.
<dminuoso> allisio: All "unless" does is insert an "if" but reverse the branch targets.
<Mon_Ouie> I don't really think it matters, the problem with defining #! is that the behavior of 'if x' can't be changed
<dminuoso> ^-
binarycodess has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd> +1.. "shouldn't unless call #!" heads down a path of "shouldn't if call #! twice", etc
<dminuoso> Besides, calling #! would have some serious performance impact.
youmu_ has quit [Quit: Connection closed for inactivity]
blackmesa has joined #ruby
hndk has quit [Remote host closed the connection]
binarycodess has joined #ruby
binarycodess has quit [Client Quit]
<dminuoso> allisio: Interesting yeah, I also was not aware of not calling !, this makes it impossible for the compiler to optimize it.
<dminuoso> I mean on a limb case could be made for optimizing the case of "if not nil/false" on the assumption that if someone modified NilClass#! they deserve to have their code break, but it still would have no value.
<matthewd> It does make sense... `and` and `or` aren't more boolean than `&&` / `||`.. so it follows that `not` is strictly a low-associativity spelling of `!`
<dminuoso> matthewd: Well it's still very interesting as "and/or" are commonly advertised as code flow mechanisms.
aete has joined #ruby
<dminuoso> At least in the resources that I read, which may not be very representative.
minimalism has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<matthewd> Yeah, I subscribe to that viewpoint. Which arguably makes `not` a bit weird just for existing, though I guess the argument would be that it's reasonable *inside* an and/or using expression -- though not on its own.
kirun has joined #ruby
skweek has joined #ruby
<dminuoso> matthewd: I suppose I finally found a good argument for !using "not" anymore. :)
aete has quit [Quit: leaving]
cgibsonm_ has joined #ruby
mikecmpbll has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SteenJobs has joined #ruby
cgibsonmm has quit [Ping timeout: 246 seconds]
preyalone has quit [Quit: Connection closed for inactivity]
Mon_Ouie has quit [Read error: No route to host]
esObe_ has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aete has joined #ruby
Arpanet69 has joined #ruby
cgibsonmm has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
esObe_ has quit [Ping timeout: 246 seconds]
cgibsonm_ has quit [Ping timeout: 246 seconds]
Mon_Ouie has joined #ruby
perlnecrohacker has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
jusa has quit [Ping timeout: 260 seconds]
stupidsenpai has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
raul782 has quit [Remote host closed the connection]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
raul782 has joined #ruby
BTRE has joined #ruby
mjolnird has joined #ruby
mjolnird has quit [Read error: Connection reset by peer]
raul782 has quit [Read error: Connection reset by peer]
raul782 has joined #ruby
Arpanet69 has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
Xeago_ has quit [Remote host closed the connection]
cgibsonmm has quit [Ping timeout: 246 seconds]
synthroi_ has quit []
jgt1 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
FastJack has quit [Ping timeout: 260 seconds]
jgt1 has quit [Ping timeout: 264 seconds]
stupidsenpai has quit [K-Lined]
tfitts has quit [Quit: Connection closed for inactivity]
stupidsenpai has joined #ruby
LambdaSix has quit [Ping timeout: 240 seconds]
stupidsenpai has quit [K-Lined]
ghoti has quit [Ping timeout: 240 seconds]
LambdaSix has joined #ruby
hotpancakes has quit [Remote host closed the connection]
enilsen16 has joined #ruby
enilsen16 has quit [Client Quit]
enilsen16 has joined #ruby
blackmesa has joined #ruby
enilsen16 has quit [Client Quit]
hotpancakes has joined #ruby
s1kx has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
ghoti has joined #ruby
jenrzzz has joined #ruby
jgt1 has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ruby
jgt1 has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
nowhereman has quit [Remote host closed the connection]
kristofferR has joined #ruby
nowhereman has joined #ruby
tildes has quit [Ping timeout: 268 seconds]
hotpancakes has joined #ruby
fp- has joined #ruby
hotpanca_ has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
hotpancakes has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
gdonald has quit [Read error: Connection reset by peer]
gdonald has joined #ruby
<baweaver> impermanence: I'm in SV and I work with primarily Ruby in a fairly large shop
haxrbyte has joined #ruby
<baweaver> Well, SF more accurately
<baweaver> Was off at lunch for a while
haxrbyte has quit [Client Quit]
<baweaver> Anyways, a lot of the same tools have bindings in Ruby / Python / Perl to the point where you'd be hard pressed to find something one of them _didn't_ do.
jgt1 has joined #ruby
<impermanence> baweaver: wow!
rwb has quit [Ping timeout: 268 seconds]
jeffreylevesque has quit [Ping timeout: 240 seconds]
<impermanence> I'm very curious to hear how baweaver: so you write Ruby to complete Ops work. File stuff, Storage Stuff, Linux admin stuff, other stuff...?
Xeago_ has joined #ruby
<baweaver> Yep.
<baweaver> To the point where I'd considered at one point writing a Ruby CloudOps book. We're primarily AWS.
<impermanence> baweaver: wow. So you don't use Bash for working with Linux?
<baweaver> AWS, Chef, Sensu (monitoring - Ruby), Grafana (charts - go/angularjs)
<baweaver> very rarely.
lxsameer has joined #ruby
<impermanence> Mmm. Yeah, the Chef thing. I can see why Ruby would be relevant.
<baweaver> though it depends on how big the task is
<baweaver> I may just use bash to do small oneliners
<impermanence> right. wow, that's great. good for you.
<baweaver> Though admittedly I may be switching to a pure JS frontend team soon to shake it up a bit.
<baweaver> I'll probably still write that book later for kicks and stick it on LeanPub.
<baweaver> http://rubyforadmins.com/preface - This was a pretty decent guide
<impermanence> So how accessible is a Linux OS via Ruby?
<baweaver> but I felt like there was a ton left unsaid
<impermanence> yes I have that in my browser right now :)
<baweaver> depends on what you mean by accessible. It has C bindings for most everything
<impermanence> ah, okay. I'm just trying to wrap my head around being able to admin Linux with Ruby.
Moosashi has joined #ruby
FastJack has joined #ruby
<baweaver> Pretty much if you can do it in Bash / Python / Perl you can do it in Ruby
esObe_ has joined #ruby
<impermanence> Is it possible to use Linux builtin's with Ruby like grep, tr, tree, strace, etc.? Or...how does that work?
<baweaver> finding exceptions to that are rare
Moosashi has quit [Client Quit]
fp- has quit [Quit: Lingo: www.lingoirc.com]
<allisio> impermanence: Open3 pretty much gives you all the foundation you need to do pipelines "natively".
<baweaver> either shell out to them: `command` or system("command") or stdout, stderr, status = Open3.capture3("command")
<allisio> Of course, you can always just shell out when quick-and-dirty'll do.
<baweaver> danged ninjas :P
<baweaver> &ri Open3
<allisio> Ninjae?
<allisio> (No.)
<baweaver> Dir, File, and some others have globbing options that'd do the same as grep and there are some other native extensions which do the same thing
<baweaver> there are a few other ways to exec commands, those just tend to be the big ones
<impermanence> hm. So...would you consider yourself at Ruby developer level now? Whatever that means...
<baweaver> I've worked full dev, full ops, and devops with Ruby so I suppose so.
esObe_ has quit [Ping timeout: 256 seconds]
<impermanence> when did you start writing Ruby?
* baweaver thinks back
<baweaver> professionally, ~2012.
<baweaver> screwing around, probably 2006-08 or so, I forget.
hotpancakes has joined #ruby
<baweaver> RPG Maker XP had Ruby "support" so I ended up learning it to make cool things in it
<allisio> Was that really your start?
<baweaver> so maybe even a few years before
<baweaver> for Ruby, yeah.
sepp2k has quit [Ping timeout: 240 seconds]
<allisio> Imagine that.
<baweaver> Think I learned from SephirothSpawn on the forums forever ago.
<impermanence> hm. So OG, essentially. Okay.
<baweaver> then I realized in my first job that Ruby was useful for other things and I had free reign to do whatever.
<baweaver> So I automated an entire network of Ubiquiti antennas
<baweaver> firmware upgrades, status pages, auto repair, interference mitigation, and a few other fun bits. I think I automated myself out of 3 jobs in a row as an intern and they made me full time after that
<baweaver> then it was free reign to do whatever was useful.
kiltzman has joined #ruby
<baweaver> but that involved a lot of SSH, SCP, JSON, and working with Busy Box (ASH) which is lightweight Linux running on wireless antennas
ohcibi has quit [Remote host closed the connection]
<baweaver> but dang did I have some dirty Ruby back then XD
<impermanence> I can image. Even as new as I am when I look at code from even a year ago I "smile"
<baweaver> I OSS'd some of the tools when I left (with permission) - https://github.com/baweaver/ubiquiti
<baweaver> don't use those as good examples of Ruby
<baweaver> they're not :P
ohcibi has joined #ruby
<impermanence> I appreciate the insight.
<impermanence> Is there a good consensus on a good starter Ruby OOP book?
<baweaver> Practical Object Oriented Design in Ruby
<baweaver> see the channel topic
<baweaver> I have a book list on there
<baweaver> explains quite a few of them and their uses
jeffreylevesque has joined #ruby
SteenJobs has joined #ruby
<baweaver> "Books: https://goo.gl/wpGhoQ "
<impermanence> nice. thx.
griff has joined #ruby
GodFather_ has quit [Remote host closed the connection]
bodgix has joined #ruby
GodFather has joined #ruby
haxrbyte has joined #ruby
haxrbyte has quit [Client Quit]
unreal has quit [Ping timeout: 260 seconds]
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SteenJobs has quit [Quit: SteenJobs]
outreachdan has joined #ruby
hahuang61 has joined #ruby
rgtk has joined #ruby
haylon_ has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 260 seconds]
howlinbash has quit [Ping timeout: 240 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.7]
t-recx has joined #ruby
ldnunes has quit [Quit: Leaving]
nersoh has quit [Quit: Page closed]
howlinbash has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
Sammichmaker has quit [Read error: Connection reset by peer]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bodgix has quit [Quit: Leaving.]
__Yiota has joined #ruby
hotpanca_ has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
aspiers has quit [Ping timeout: 260 seconds]
jenrzzz_ has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
b3l914n has quit [Remote host closed the connection]
mim1k has joined #ruby
johnzorn has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 268 seconds]
johnzorn has joined #ruby
outreachdan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz_ has quit [Ping timeout: 240 seconds]
outreachdan has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
bodgix has joined #ruby
jusa has joined #ruby
bkxd has joined #ruby
patarr has quit [Ping timeout: 264 seconds]
galtgendo has joined #ruby
nofxx has quit [Remote host closed the connection]
nofxx has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
<galtgendo> in Psych, how does init_with method accounts for yaml anchors ? I'm getting '`*': nil can't be coerced into Fixnum (TypeError)' in such cases with a method that works when no anchors
Xeago_ has quit [Remote host closed the connection]
grh has quit [Ping timeout: 260 seconds]
jamesaxl has quit [Ping timeout: 260 seconds]
[Butch] has quit [Quit: I'm out . . .]
[Butch] has joined #ruby
ltem has quit [Quit: Leaving]
zun has quit [Quit: Connection closed for inactivity]
mephistophocles has quit [Remote host closed the connection]
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
b3l914n has joined #ruby
planigan has quit [Remote host closed the connection]
rwb has joined #ruby
SeepingN has joined #ruby
aete has quit [Quit: Lost terminal]
jeffreylevesque has quit [Ping timeout: 268 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
GodFather has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
cseder has joined #ruby
brianpWins has quit [Quit: brianpWins]
tvw has quit [Remote host closed the connection]
hutch34 has joined #ruby
<cseder> Does anyone use TextMate 2? I purchased a license for it a while back, but now I hear that it's free (as in beer) and open sourced?
tvw has joined #ruby
<SeepingN> it's a disaster
<SeepingN> or, was
<SeepingN> "here's the code, everyone go do whatever" doesn't work out too cleanly
<baweaver> Most use Sublime
<cseder> I like TM2, but I also have a license for Sublime 3
<SeepingN> ^
<SeepingN> ST3 all the way
<baweaver> or Atom in some cases
<baweaver> Depending on what I'm doing I switch between Vim, Sublime 3, and Typora.
<baweaver> Though Typora is only really for long-form tech docs
<baweaver> (markdown editor)
<cseder> Yes, I don't see many reasons to keep using TM, as the time has passed, Sublime has gotten really good
<cseder> I was just wondering about TM because when I installed it it still asked for my license
<SeepingN> ah
<ytti> vim, vcs, atom, slt3, tm3
<cseder> But people says it's now free and Open Source
<ytti> seem to be the options toda
<ytti> +y
<SeepingN> well you can 1: ignore it, 2: buy it, or 3: edit a few bytes
<cseder> Ok, so it is still "license is optional" like Sublime?
jenrzzz has joined #ruby
cfec0b8d has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
<ytti> seems entirely unethical not to buy editor you use hours on end, day in, day out
<ytti> if it costs money
<SeepingN> oh TM? TM should be free. open source. if ijt isn't, ... are you sure you found a "current' version?
bonhoeffer has joined #ruby
<cseder> I purchased a license for Sublime a while back when it was rumoured that it was going into release, not beta, but that didn't happen. Still optional license for Sublime as it is still in beta (v3)
<ytti> i too have SL license, don't use it though
<ytti> and i don't imagine i will
<ytti> been trying to jump on vcs, but hard to move out from vim
<cseder> One thing I've noticed when using Sublime is that it doesn't work for writing git commit messages when I have it as my default text editor in zsh... Anybody experiencing the same?
cdg has quit [Remote host closed the connection]
<cseder> I mean if you do git commit -a -m "blabla"
<cseder> it works, but not if you don't use -m
<cseder> Sublime pops up, waiting for me to write a commit message, than, when I save the file and quit Sublime, the commit gets discarded
jcao219 has joined #ruby
<cseder> this is off topic, but I was just curious. Only thing that works for me is vim
ddffg has joined #ruby
aspiers has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
impermanence has joined #ruby
<impermanence> baweaver: what do you mean in your book list when you refer to "Programming Ruby" as the "pickaxe book"?
<baweaver> Look at the cover
pupsicle has quit [Quit: pupsicle]
griff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
postmodern has joined #ruby
<impermanence> baweaver: I thought it might be something like that, lol. Looking now...
<cseder> It has always been called the PickAxe
<cseder> I'm reading the latest edition as we type! Great book!
<havenwood> impermanence: Learn to Program is a Tree. The Ruby Programming Language is Sparrows. Programming Ruby is the Pickaxe.
<cseder> What is that second book? Have a link?
nankyokusei has joined #ruby
<baweaver> By and far my favorite "Learn Ruby" book is Eloquent Ruby.
<impermanence> I see. For a Ruby beginner, but not a beginning programmer what book is the best? I don't like terse, but I probably need something at least a little advanced. So like...spice == medium.
<baweaver> Eloquent
<impermanence> k
<baweaver> Its entire goal is to teach people to Ruby like Ruby people
<baweaver> The definitive tome book is The Ruby Way
<cseder> I really like the way the PickAxe is built. Good progression
esObe_ has joined #ruby
<cseder> The Ruby Programming Language by Oreilly isn't updated for Ruby 2.0?
<havenwood> cseder: Nope
<impermanence> baweaver: but eloquent seems to presume (as you stated in your git list) an already working knowledge of ruby...
charliesome has joined #ruby
<havenwood> cseder: The Well-Grounded Rubyist, Second Edition is.
<impermanence> that's another concern. I'd prefer to just start learning 2...wouldn't that be best?
<cseder> And not the Eloquent Ruby book either?
<havenwood> impermanence: Thing of Ruby 1.9 as 2.0 release candidate.
<havenwood> impermanence: As long as it's post 1.8, you should be fine.
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<impermanence> hm, good advice.
<havenwood> impermanence: 1.8- was the interpreter MRI. 1.9+ is the virtual machine YARV.
<cseder> Ok, I think I'll stick with the PickAxe and Ruby Cookbook
<impermanence> YARV?
<havenwood> impermanence: yet another Ruby vm
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<impermanence> heh. should've known.
<impermanence> looks like I may need to buy a couple books. I guess I need to get "Rubyist" for sure.
esObe_ has quit [Ping timeout: 268 seconds]
<havenwood> impermanence: The author has written a tool that precompiled the IR bytecode for Ruby then runs it directly in the VM. It reduces runtime by about 30%: https://github.com/ko1/yomikomu#readme
<havenwood> impermanence: It might be part of Ruby 3. We'll see!
<cseder> I've been programming on and off for over 20 years, and as a profession for the last 3 years, but I've never had much "fun" learning different languages, until I started learning Ruby. It sounds cliche, but it's true!
ludicocr has joined #ruby
<baweaver> Eloquent assumes that you know some programming
<baweaver> not necessarily Ruby
<baweaver> It assumes you tried a basic tutorial, maybe, but nothing past that
ludicocr has left #ruby [#ruby]
<impermanence> hm. okay.
<cseder> But I feel that the PickAxe also has a reasonable tempo, even if I've programmed in other languages
<cseder> And it is updated for Ruby 2.0
<cseder> And I have it both as pdf and dead tree version
<cseder> Trivia time: Did you know know that the keyword yield was chosen to echo the yield function in Liskov’s language CLU, a language that is more than thirty years old and yet contains features that still haven’t been widely exploited by the CLU-less
<perlnecrohacker> Hello, where I can read about mruby?
<havenwood> perlnecrohacker: Are you just getting into it, or looking for something in particular?
<havenwood> perlnecrohacker: The mruby gitter is one place to ask questions or review the log: https://gitter.im/mruby/mruby
nemesit|znc has quit [Ping timeout: 256 seconds]
SuperLag has quit [Ping timeout: 246 seconds]
<perlnecrohacker> I just into it) I find about mruby, have more info (onle japaness)
impermanence has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
impermanence has joined #ruby
impermanence has quit [Client Quit]
<cseder> My main goal with learning Ruby was to start developing in Rails after learning just enough Ruby to get by, but the more I learn about Ruby, the more I want to learn. It's scary.
rakm has joined #ruby
<galtgendo> in Psych, how does init_with method account for yaml anchors ? I'm getting '`*': nil can't be coerced into Fixnum (TypeError)' in such cases with a method that works when no anchors are present
<perlnecrohacker> havenwood, ok. 10q for links
nemesit|znc has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Suslov has joined #ruby
esObe_ has joined #ruby
unreal has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
esObe_ has quit [Ping timeout: 260 seconds]
cschneid_ has quit [Remote host closed the connection]
aupadhye has quit [Ping timeout: 268 seconds]
ludicocr has joined #ruby
hahuang61 has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
narval has quit [Ping timeout: 246 seconds]
kirun has quit [Quit: Konversation terminated!]
hahuang61 has quit [Ping timeout: 240 seconds]
chare has joined #ruby
cam27 has joined #ruby
ludicocr has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
<cseder> For those with some knowledge in C and interest in learning how Ruby really works under the hood, try the book "Ruby Under a Microscope"
hotpanca_ has quit [Remote host closed the connection]
hotpancakes has joined #ruby
Snickers has joined #ruby
nankyokusei has quit []
hutch34 has joined #ruby
Renich___ has joined #ruby
bkxd has joined #ruby
ThePortWhisperer has joined #ruby
chare has quit [Quit: Page closed]
<ThePortWhisperer> hello, if im having trouble with ruby's active_support gem, is this a place to ask
<ThePortWhisperer> it's part of setting up a jekyll page on github
hotpancakes has quit [Ping timeout: 246 seconds]
Renich has quit [Ping timeout: 240 seconds]
<ThePortWhisperer> this screen shows error: https://snag.gy/Ymx3bt.jpg
hutch34 has quit [Ping timeout: 260 seconds]
cam27 has quit [Quit: cam27]
bkxd has quit [Ping timeout: 260 seconds]
jgt1 has quit [Ping timeout: 260 seconds]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
am55 has joined #ruby
AlexRussia has joined #ruby
aryaching has quit [Ping timeout: 260 seconds]
Renich___ has quit [Quit: Renich___]
FastJack_ has joined #ruby
charliesome has joined #ruby
<havenwood> ThePortWhisperer: Put `gem 'active_support` in your Gemfile, run `bundle` then try `bundle exec jekylll build` again.
FastJack has quit [Ping timeout: 260 seconds]
FastJack_ is now known as FastJack
cseder has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ThePortWhisperer> havenwood, okay thanks. just uninstalled all gems so will try from scratch
electrostat has quit [Quit: uwotm8]
aryaching has joined #ruby
electrostat has joined #ruby
mim1k has joined #ruby
cschneid_ has joined #ruby
hotpancakes has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
bonhoeffer has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 240 seconds]
FastJack_ has joined #ruby
agent_white has quit [Quit: leaving]
<ThePortWhisperer> havenwood, so theres no gem name active_support, but there is one called activesupport
FastJack has quit [Ping timeout: 260 seconds]
FastJack_ is now known as FastJack
<ThePortWhisperer> wondering if active_support resolves to activesupport
CloCkWeRX has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gsilva has joined #ruby
tax has left #ruby ["Leaving"]
<ThePortWhisperer> strange i guess the activesupport folder has the underscore but the gem itself lacks one
nitric has quit [Ping timeout: 260 seconds]
<allisio> Very unfortunate.
planigan has joined #ruby
djbkd has joined #ruby
hotpanca_ has joined #ruby
ddffg has quit [Ping timeout: 268 seconds]
levifig has quit [Quit: Farewell]
<lupine> dat ruby
hotpancakes has quit [Ping timeout: 246 seconds]
levifig has joined #ruby
marr has quit [Ping timeout: 260 seconds]
<ThePortWhisperer> hello, can someone walk me through what the warn means https://snag.gy/mBEDdW.jpg
antoniobeyah has quit [Quit: Connection closed for inactivity]
impermanence has joined #ruby