baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
<baweaver> Well if you're convinced that it costs money to be an amazing programmer, pay the money, but you'll find very quickly looking back that it's not at all the case.
cyphase has joined #ruby
unreal has joined #ruby
<wrkrcoop> im not i just feel like the info is not as available as stuff on quora
<toretore> all the information you need is available for free, you just have to take the time to read, understand and practice
<toretore> instead of "how do i do x with y?", ask "how exactly does y work?"
dminuoso has quit [Ping timeout: 252 seconds]
aries_liuxueyang has quit [Ping timeout: 244 seconds]
<Mon_Ouie> What are tuition fees like in the US for a computer science degree anyway? here, I get about 20 hours of lectures and practical sessions per week, 14 weeks per semester, plus the ability to contact professors/TAs outside of those, and that's much less expensive than 150$/hr
<toretore> then spend some time actually learning how y works, practicing and trying things out
AnarchyAo has quit [Ping timeout: 250 seconds]
<toretore> if your goal is to solve a particular problem, get paid or "be an excellent programmer", you will be less successful
surrounder has quit [Ping timeout: 240 seconds]
<baweaver> even then, MIT has OpenCourseWare, Coursera has various things on for free, and Khan academy covers a lot of the rest.
<eam> Mon_Ouie: ranges from $20k to $50k/yr
Puffball has joined #ruby
<baweaver> This ignoring the fact that being considered excellent is a nebulous term rife for differences in interpretation
Coldblackice has quit [Ping timeout: 276 seconds]
nando293921 has quit [Ping timeout: 240 seconds]
<eam> but those are prices to buy the diploma. You can generally attend for free
<eam> and/or consume the content
<eam> no one has ever kicked me out of a lecture, or even asked if I was a student
astrobun_ has joined #ruby
NetSage has quit [Remote host closed the connection]
<toretore> "possible" and "allowed" aren't the same thing :P
<eam> Mon_Ouie: the thing about cost is there's a 90/10 thing going on with what you buy with a degree program vs what you need in order to make money
coolboy has joined #ruby
<eam> such a crass goal, I know
codezomb has joined #ruby
aries_liuxueyang has joined #ruby
ziprar has quit [Ping timeout: 250 seconds]
hahuang65 has joined #ruby
rcvalle has quit [Quit: rcvalle]
NetSage has joined #ruby
RedNifre_ has joined #ruby
dhollinger has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
RedNifre has quit [Ping timeout: 265 seconds]
AnarchyAo has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
papercode has quit [Ping timeout: 265 seconds]
LoneHermit has joined #ruby
priodev has quit [Ping timeout: 265 seconds]
kenichi_ has quit [Ping timeout: 265 seconds]
majuscule has quit [Ping timeout: 265 seconds]
eam has quit [Ping timeout: 265 seconds]
eam has joined #ruby
mahlon has quit [Ping timeout: 265 seconds]
UserOO7 has quit [Remote host closed the connection]
mahlon has joined #ruby
majuscule has joined #ruby
nitric has quit [Ping timeout: 240 seconds]
LoneHermit has quit [Ping timeout: 250 seconds]
marr has quit [Read error: Connection reset by peer]
Asher has quit [Ping timeout: 265 seconds]
UserOO7 has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
mikeric has joined #ruby
priodev has joined #ruby
kenichi has joined #ruby
aupadhye has joined #ruby
UserOO7 has quit [Remote host closed the connection]
sleepee has joined #ruby
UserOO7 has joined #ruby
sumobob has quit [Remote host closed the connection]
SteenJobs has joined #ruby
Asher has joined #ruby
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
ruby_ has joined #ruby
cdg has quit [Remote host closed the connection]
karmatr0n has joined #ruby
papercode has joined #ruby
nankyokusei has joined #ruby
stamina has joined #ruby
l4v2 has quit [Quit: l4v2]
SteenJobs has quit [Ping timeout: 252 seconds]
SteenJobs has joined #ruby
solocshaw has quit [Remote host closed the connection]
SteenJobs has quit [Client Quit]
bkxd has joined #ruby
solocshaw has joined #ruby
LuckyABA has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
jackjackdripper has quit [Quit: Leaving.]
nankyokusei has quit [Ping timeout: 265 seconds]
deadprez has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 276 seconds]
tdy has quit [Ping timeout: 276 seconds]
quiller has quit [Max SendQ exceeded]
cyphase has joined #ruby
alanquillin has joined #ruby
charliesome has joined #ruby
grill has joined #ruby
ruby_ has quit [Remote host closed the connection]
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deadprez has joined #ruby
gnufied has quit [Quit: Leaving]
deadprez has quit [Remote host closed the connection]
deadprez_ has joined #ruby
solocshaw has quit [Remote host closed the connection]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
UserOO7 has quit []
moei has joined #ruby
shinnya has quit [Ping timeout: 264 seconds]
mikeric has quit []
amclain has quit [Quit: Leaving]
dminuoso has joined #ruby
devbug has quit [Quit: ZZZzzz…]
cyphase has quit [Ping timeout: 264 seconds]
Ropeney has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
volk__ has quit [Quit: volk__]
stamina has quit [Ping timeout: 265 seconds]
dminuoso has quit [Ping timeout: 276 seconds]
solocshaw has joined #ruby
cyphase has joined #ruby
bmurt has joined #ruby
solocshaw has quit [Remote host closed the connection]
tlaxkit has quit [Quit: tlaxkit]
sarbs has quit [Ping timeout: 255 seconds]
ruby_ has joined #ruby
NetSage has quit [Remote host closed the connection]
NetSage has joined #ruby
shmuli has joined #ruby
LuckyABA has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
NetSage has quit [Remote host closed the connection]
mieko has quit []
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
A0X1887 has quit [Ping timeout: 260 seconds]
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
NetSage has joined #ruby
ghostlight has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
shmuli has quit [Remote host closed the connection]
ruby_ has quit [Remote host closed the connection]
ghostlight has joined #ruby
ajsharma has joined #ruby
binaryplease1 has joined #ruby
solocshaw has quit [Remote host closed the connection]
binaryplease has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 244 seconds]
solocshaw has joined #ruby
ruby_ has joined #ruby
blackwind_123 has joined #ruby
cyphase has quit [Ping timeout: 265 seconds]
A0X1887 has joined #ruby
binaryplease1 is now known as binaryplease
Bellthoven has joined #ruby
duderonomy has joined #ruby
cyphase has joined #ruby
ur5us has quit [Remote host closed the connection]
tmtwd has joined #ruby
ruby_ has quit [Remote host closed the connection]
Silthias has joined #ruby
bkxd has joined #ruby
NetSage has quit [Remote host closed the connection]
ngscheur1 has joined #ruby
NetSage has joined #ruby
solocshaw has quit [Remote host closed the connection]
Silthias1 has quit [Ping timeout: 250 seconds]
solocshaw has joined #ruby
nando293921 has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
deadprez_ has quit [Remote host closed the connection]
deadprez has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
nando293921 has quit [Read error: Connection reset by peer]
Bellthoven has quit []
inukshuk has joined #ruby
tdy has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
NetSage has quit [Remote host closed the connection]
deadprez_ has joined #ruby
deadprez has quit [Read error: Connection reset by peer]
NetSage has joined #ruby
nando293921 has joined #ruby
cyphase has joined #ruby
Immune has quit [Ping timeout: 252 seconds]
dminuoso has joined #ruby
TheMoonMaster has quit [Quit: Later!]
BlkDynmt has quit [Quit: BlkDynmt]
BlkDynmt has joined #ruby
A5101 has joined #ruby
tomchapin has joined #ruby
Coldblackice has joined #ruby
tomchapin has quit [Read error: Connection reset by peer]
hutch34 has joined #ruby
tomchapin has joined #ruby
tomchapi_ has quit [Ping timeout: 240 seconds]
cyphase has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
dminuoso has quit [Ping timeout: 250 seconds]
_djbkd has quit [Quit: My people need me...]
hutch34 has quit [Ping timeout: 265 seconds]
sleepee has quit [Ping timeout: 244 seconds]
cyphase has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang65 has joined #ruby
hopsoft has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
ThereIsNoYeti has joined #ruby
hahuang65 has quit [Ping timeout: 265 seconds]
cyphase has quit [Ping timeout: 244 seconds]
Vile` has quit [Ping timeout: 240 seconds]
cyphase has joined #ruby
Contigi has joined #ruby
aBound has joined #ruby
<aBound> Anyone in here recommend a good beginners book for someone who wants to learn Ruby?!?
<NetSage> aBound: Learn to Program by Chris Pine
karmatr0n has quit [Ping timeout: 240 seconds]
<aBound> Checking Amazon.
pwnd_nsfw` has joined #ruby
<aBound> NetSage, Seems a bit dated says it's from 2009 is it still relevant?
<NetSage> The second edition is for 2.0 and it's a beginners book. The basics don't change much
<aBound> No problem, thanks a lot NetSage I'll check it out.
<aBound> :)
mitt3ns has joined #ruby
arescorpio has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
<aBound> Oops, forgot to mention what's a good beginners book for Rails after Ruby is learned.
JeanCarloMachado has joined #ruby
coolboy has quit [Remote host closed the connection]
<aBound> Have a nice day all. :)
aBound has quit [Quit: Leaving]
cyphase has quit [Ping timeout: 255 seconds]
A_Drone has joined #ruby
Regulati_ has quit [Remote host closed the connection]
cyphase has joined #ruby
getxsick has joined #ruby
nankyokusei has joined #ruby
swills has quit [Quit: Leaving]
swills has joined #ruby
LiquidInsect has quit [Ping timeout: 265 seconds]
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
<getxsick> maybe im doing something wrong but..i defined a class method and i can call it by refering to the class itself (MyClass.class_method) however I was expecting to have a possibility to call it from the instance of the class too (obj=MyClass.new; obj.class_method) but seems like Ruby doesn't allow it. why?
hutch34 has joined #ruby
pawnbox has joined #ruby
ellistaa has joined #ruby
<getxsick> aand then if it's not allowed, why Ruby doesn't raise exception when i use @instance_var inside definition of the class method?
A_Drone has quit []
<ellistaa> im trying to build an image uploading site, right now im having the front end convert the image to base64 … send it to me … then i send it to s3 …
<ellistaa> is there a better way to do this?
jhack has joined #ruby
nankyokusei has quit [Ping timeout: 255 seconds]
swills has quit [Client Quit]
hutch34 has quit [Ping timeout: 255 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
LiquidInsect has joined #ruby
TheMoonMaster has joined #ruby
ruby_ has joined #ruby
Es0teric has joined #ruby
meinside has quit [Quit: Connection closed for inactivity]
swills has joined #ruby
ur5us has joined #ruby
benlieb has quit [Ping timeout: 244 seconds]
ruby_ has quit [Remote host closed the connection]
devbug has joined #ruby
NetSage has quit [Remote host closed the connection]
rideh has quit [Remote host closed the connection]
hostess has quit [Remote host closed the connection]
cout has quit [Remote host closed the connection]
myndzi has quit [Quit: .]
dminuoso has joined #ruby
benlieb has joined #ruby
<aeruder>
ellistaa has quit [Quit: ellistaa]
lowbrow has joined #ruby
ajsharma has joined #ruby
theery has quit []
braincrash has quit [Quit: bye bye]
dminuoso has quit [Ping timeout: 244 seconds]
gix has quit [Ping timeout: 255 seconds]
ngscheur1 has quit [Ping timeout: 260 seconds]
lowbrow has left #ruby ["Leaving"]
astrobun_ has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gix has joined #ruby
ellistaa has joined #ruby
cyphase has quit [Ping timeout: 265 seconds]
CloCkWeRX has joined #ruby
pawnbox has joined #ruby
Vile` has joined #ruby
ThereIsNoYeti has quit [Ping timeout: 244 seconds]
lessless has joined #ruby
lessless has left #ruby [#ruby]
Bl4ckpajamas has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
ruby_ has joined #ruby
tmtwd has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
k3rn31 has joined #ruby
byteflame has quit [Ping timeout: 240 seconds]
rideh has joined #ruby
RegulationD has joined #ruby
_djbkd has joined #ruby
calmchaos has joined #ruby
dviola has quit [Quit: WeeChat 1.5]
JeanCarloMachado has quit [Ping timeout: 265 seconds]
colegatron_origi has quit [Ping timeout: 264 seconds]
getxsick has quit [Quit: Lost terminal]
nando293921 has quit [Ping timeout: 240 seconds]
tmtwd has joined #ruby
cyphase has joined #ruby
Vile` has quit [Ping timeout: 264 seconds]
patronus_ has quit [Remote host closed the connection]
Bl4ckpajamas has quit [Quit: Ciao!]
solocshaw has quit [Ping timeout: 250 seconds]
Bl4ckpajamas has joined #ruby
ponga has joined #ruby
hostess has joined #ruby
ThereIsNoYeti has joined #ruby
karmatr0n has joined #ruby
craigp has quit [Ping timeout: 265 seconds]
bkxd has joined #ruby
jenrzzz has joined #ruby
bkxd has quit [Ping timeout: 250 seconds]
ur5us_ has joined #ruby
Dispatch has joined #ruby
ngscheur1 has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
ur5us has quit [Ping timeout: 244 seconds]
ellistaa has quit [Quit: ellistaa]
Dispatch has quit [Ping timeout: 244 seconds]
CloCkWeRX has quit [Ping timeout: 244 seconds]
mikeric has joined #ruby
ngscheur1 has quit [Ping timeout: 264 seconds]
mikeric has quit [Max SendQ exceeded]
enterprisey has joined #ruby
cyphase has quit [Ping timeout: 244 seconds]
craigp has joined #ruby
dminuoso has joined #ruby
LoneHermit has joined #ruby
Bl4ckpajamas has quit [Quit: Ciao!]
craigp has quit [Ping timeout: 244 seconds]
fly5566 has quit [Ping timeout: 265 seconds]
cyphase has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
dminuoso has quit [Ping timeout: 276 seconds]
csaunders has quit [Quit: later tater]
Pyrodactyl has quit [Quit: Connection closed for inactivity]
rsampaio_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
arescorpio has quit [Ping timeout: 244 seconds]
devbug has quit [Quit: ZZZzzz…]
hahuang65 has joined #ruby
A_Drone has joined #ruby
Bl4ckpajamas has joined #ruby
Rufus has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobun_ has quit [Read error: Connection reset by peer]
cyphase has quit [Ping timeout: 264 seconds]
jackjackdripper has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
astrobun_ has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
ruby_ has quit [Remote host closed the connection]
A_Drone has quit [Remote host closed the connection]
ellistaa has joined #ruby
cyphase has joined #ruby
ellistaa has quit [Client Quit]
astrobun_ has quit [Remote host closed the connection]
Guest42381 has quit [Ping timeout: 252 seconds]
Guest43 has joined #ruby
Guest43 has quit [Client Quit]
Guest94274 has joined #ruby
patronus has joined #ruby
pawnbox has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
codezomb has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 250 seconds]
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pyrodactyl has joined #ruby
calmchaos has quit [Remote host closed the connection]
devbug has joined #ruby
ThereIsNoYeti has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 240 seconds]
cyphase has joined #ruby
pawnbox has joined #ruby
devbug has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
elifoster has joined #ruby
enterprisey has quit [Remote host closed the connection]
Devalo has joined #ruby
nankyokusei has joined #ruby
tmtwd has quit [Ping timeout: 252 seconds]
benlieb has quit [Quit: benlieb]
RegulationD has quit [Ping timeout: 244 seconds]
ajaiswal has joined #ruby
conta has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
pokalyis has quit [Quit: Textual IRC Client: www.textualapp.com]
jphase has quit [Remote host closed the connection]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
jphase has joined #ruby
conta has quit [Ping timeout: 244 seconds]
pwnd_nsfw has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
dminuoso has joined #ruby
ruby_ has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
yfeldblum has joined #ruby
cyphase has joined #ruby
Bl4ckpajamas has quit [Quit: ZZZzzz…]
rvaldes has quit [Quit: Leaving]
bkxd has joined #ruby
rvaldes has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
rsampaio_ has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
lightheaded has joined #ruby
csaunders has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
ellistaa has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
k3rn31 has joined #ruby
cyphase has joined #ruby
astrobun_ has joined #ruby
craigp has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
_djbkd has quit [Quit: My people need me...]
hahuang65 has joined #ruby
capitainIsh has joined #ruby
LoneHermit has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
LoneHermit has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 250 seconds]
ellistaa has left #ruby [#ruby]
ruby_ has quit [Remote host closed the connection]
djbkd_ has joined #ruby
rvaldes has quit [Quit: Leaving]
domgetter has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
colegatron_origi has joined #ruby
karmatr0n has joined #ruby
zipace has joined #ruby
A_Drone has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
zipace has quit [Disconnected by services]
ziprar has joined #ruby
bocaneri has joined #ruby
ruby_ has joined #ruby
djbkd_ has quit []
tenderlove has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Changing host]
cyphase has quit [Ping timeout: 240 seconds]
olistik has quit [Remote host closed the connection]
elifoster has quit [Quit: sleep]
dminuoso has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deadprez_ has quit [Remote host closed the connection]
deadprez has joined #ruby
dminuoso has quit [Client Quit]
dminuoso_ has joined #ruby
cyphase has joined #ruby
deadprez has quit [Ping timeout: 240 seconds]
ziprar is now known as zipace
Vile` has joined #ruby
segmond has quit [Quit: l8r]
dminuoso has joined #ruby
uranellus has quit [Quit: ZNC 1.6.1 - http://znc.in]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
AnarchyAo has quit [Read error: Connection reset by peer]
dminuoso_ has quit [Ping timeout: 240 seconds]
lightheaded has quit [Ping timeout: 255 seconds]
Guest43 has joined #ruby
monoprotic has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
Immune has joined #ruby
Macaveli has joined #ruby
bkxd has joined #ruby
Rodya_ has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 255 seconds]
Rodya_ has joined #ruby
firstdayonthejob has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
ziyadb has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
dminuoso has joined #ruby
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Excess Flood]
wugy has joined #ruby
wugy has quit [Client Quit]
bascht1 has quit [Quit: WeeChat 1.5]
wugy has joined #ruby
lightheaded has joined #ruby
last_staff has joined #ruby
pandaant has joined #ruby
astrobun_ has quit [Remote host closed the connection]
raeoks has joined #ruby
karmatr0n has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
mark_66 has joined #ruby
lxsameer has joined #ruby
craigp has quit [Ping timeout: 265 seconds]
dionysus69 has joined #ruby
mihael_k33hl has joined #ruby
Glitchy has left #ruby ["WeeChat 1.0.1"]
karmatr0n has quit [Ping timeout: 244 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
rsampaio_ has joined #ruby
craigp has joined #ruby
<mihael_k33hl> I'm creating an rspec file and I've created a new file via File.new on my first example, however, upon creating another File on another example it gives me an Errno::EACCES "Permission denied @rb_sysopen" which is weird since it allowed file creation on my first example
A_Drone has quit [Remote host closed the connection]
mtotheg has joined #ruby
astrobun_ has joined #ruby
aufi has joined #ruby
biberu has joined #ruby
firstdayonthejob has quit [Ping timeout: 244 seconds]
A5101 has quit [Ping timeout: 255 seconds]
nankyokusei has joined #ruby
dminuoso has quit [Remote host closed the connection]
blur3d has joined #ruby
Vile` has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
ruby_ has quit [Remote host closed the connection]
carvantes has joined #ruby
dminuoso has joined #ruby
<mtotheg> exit
mtotheg has quit [Quit: leaving]
<carvantes> hi, i try to install bundle with gem from rbenv, but the bundle kept getting installed under /usr/loca/rvm path which I already imploded and rm -rf. Anyone know why?
k3rn31 has joined #ruby
<dminuoso> carvantes: what does "which gem" tell you?
CloCkWeRX has joined #ruby
Guest94274 has quit [Ping timeout: 250 seconds]
JoshS has joined #ruby
rubnob has quit [Quit: rubnob]
Mon_Ouie has quit [Ping timeout: 240 seconds]
conta has joined #ruby
<carvantes> dminuoso: $home/.rbenv/shims/gem
Guest16034 has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
ur5us_ has quit [Remote host closed the connection]
blackgoat has quit [Ping timeout: 265 seconds]
Snickers has joined #ruby
aganov has joined #ruby
<dminuoso> carvantes: So when you said "rbenv implode" what did you mean by that?
ur5us has joined #ruby
A_Drone has joined #ruby
<carvantes> dminuoso: oh the implode is from the rvm, 'rvm implode' will uninstall the rvm.
quazimodo has quit [Ping timeout: 264 seconds]
<carvantes> dminuoso: im switching from rvm to rbenv.
<dminuoso> carvantes: do you have a .gemrc file that is messing things up?
conta1 has joined #ruby
cyphase has joined #ruby
ishe_ua has joined #ruby
<carvantes> dminuoso: gemrc only has --nodocument
ta_ has joined #ruby
<dminuoso> carvantes: Look at your "env", see if there's still any environment variables floating around.
<dminuoso> carvantes: (i.e. BUNDLE_PATH or GEM_HOME)
anisha has joined #ruby
<carvantes> dminuoso: oh yea, the GEM_HOME, GEM_PATH is set the the /usr/loca/rvm... path that should've been gone
ddffg has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
submitnine has joined #ruby
gizmore has joined #ruby
LoneHerm_ has joined #ruby
conta1 has quit [Ping timeout: 244 seconds]
bsrd has joined #ruby
colegatron_origi has quit [Ping timeout: 244 seconds]
ta_ has quit [Ping timeout: 250 seconds]
<carvantes> dminuoso: hmm, i couldnt find where those 2 vars are assigned. Checked my zshrc, bashrc, bash_profile
colegatron_origi has joined #ruby
Devalo has joined #ruby
<dminuoso> carvantes: Check under /etc/profile.d/
Littlemyu has joined #ruby
TomyWork has joined #ruby
ta_ has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
blur3d has quit [Quit: blur3d]
<carvantes> dminuoso: not there either.
<dminuoso> carvantes: Oh perhaps they are still left around. Start a new shell?
<dminuoso> :p
Dobler has joined #ruby
Dobler has quit [Max SendQ exceeded]
<carvantes> dminuoso: new shell to check if env still have the GEM_ ?
<dminuoso> carvantes: Yeah.
hahuang65 has joined #ruby
<carvantes> dminuoso: its still there in new shell. I need to get rid of these two variables so my bundle will install correctly
<dminuoso> carvantes: It's difficult to say in general. Id have to look at your .bashrc and whatever you have in /etc/profile.d
astrobu__ has joined #ruby
astrobu__ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
astrobun_ has quit [Read error: Connection reset by peer]
astrobun_ has joined #ruby
ICantCook has quit [Quit: bye]
spudowiar has joined #ruby
hahuang65 has quit [Ping timeout: 264 seconds]
rsampaio_ has quit [Ping timeout: 244 seconds]
<carvantes> dminuoso: i'll try ack the whole system for the variables first
mihael_k33hl has quit [Quit: Page closed]
Rodya_ has quit [Ping timeout: 250 seconds]
<dminuoso> carvantes: use silver searcher.
<dminuoso> carvantes: its much much faster.
craigp has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
capitainIsh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<carvantes> dminuoso: ok, yea, forgot i got ag
Es0teric has quit [Quit: Computer has gone to sleep.]
Silthias has quit [Ping timeout: 260 seconds]
alaibe has quit [Ping timeout: 244 seconds]
Littlemyu has quit [Ping timeout: 265 seconds]
claudiuinberlin has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has joined #ruby
pawnbox has quit [Remote host closed the connection]
pharaoh2 has joined #ruby
bkxd has joined #ruby
karmatr0n has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
karmatr0n has quit [Ping timeout: 240 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
<carvantes> dminuoso: didnt found it, but i overwrite it again in my zshrc and now gems installed correctly
Silthias has joined #ruby
pawnbox has joined #ruby
carvantes has quit [Quit: WeeChat 0.4.2]
z3uS has quit [Ping timeout: 244 seconds]
antgel has joined #ruby
z3uS has joined #ruby
Coldblackice has quit []
raMp has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
Ropeney has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xpt> how should I check if my float number is whole number? " foo.to_i == foo " works but it seems like I'm using couple of unnecessary instructions
Guest16034 has quit [Ping timeout: 240 seconds]
mhb has quit [Remote host closed the connection]
mhb has joined #ruby
ledestin has joined #ruby
mikecmpbll has joined #ruby
alaibe has joined #ruby
Guest56778 has joined #ruby
<havenwood> xpt: modulo(1).zero?
<dminuoso> cardoni: I would not do that.
<dminuoso> cardoni: The problem is you have a bit of configuration that's messing with your Ruby setup.
<dminuoso> It will bite you back if you don't figure it out.
mikecmpbll has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
mikecmpbll has joined #ruby
devbug has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
GinoManWrx has quit [Read error: Connection reset by peer]
careta has joined #ruby
<hanmac> xpt: another way would be "foo.denominator == 1" but i don't think that is much better :/
pharaoh2 has quit [Quit: Textual IRC Client: www.textualapp.com]
alfiemax has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
blaxter has quit [Client Quit]
marr has joined #ruby
bairyn has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Quit: Leaving...]
Coldblackice has joined #ruby
Silthias1 has joined #ruby
tvw has joined #ruby
nclbr has joined #ruby
Silthias has quit [Ping timeout: 250 seconds]
jshjsh has joined #ruby
Coldblackice has quit [Client Quit]
charliesome has joined #ruby
Rodya_ has joined #ruby
aspiers has joined #ruby
JoshS has quit [Ping timeout: 240 seconds]
bairyn has joined #ruby
zeroDi has joined #ruby
spudowiar is now known as SlimBot_
SlimBot_ is now known as spudowiar
alfiemax has joined #ruby
JoshS has joined #ruby
Rickmasta has joined #ruby
mrgrieves has joined #ruby
jshjsh has quit [Ping timeout: 265 seconds]
Rodya_ has quit [Ping timeout: 250 seconds]
jshjsh has joined #ruby
RadPlatypus has quit [Quit: Connection closed for inactivity]
ferr has joined #ruby
JoshS has quit [Ping timeout: 265 seconds]
flying has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
LoneHerm_ has joined #ruby
tvw has quit [Ping timeout: 264 seconds]
jazzonmym11nd has quit [Ping timeout: 244 seconds]
raMp has quit [Quit: Konversation terminated!]
<xpt> havenwood, hanmac: thanks
spudowiar is now known as cybojenix
cybojenix is now known as spudowiar
raMp has joined #ruby
karmatr0n has joined #ruby
jsrn_ has joined #ruby
raMp has quit [Client Quit]
cyphase has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
jazzonmym11nd has joined #ruby
tvw has joined #ruby
[k- has joined #ruby
LoneHerm_ has quit [Ping timeout: 255 seconds]
karmatr0n has quit [Ping timeout: 252 seconds]
ruby_ has joined #ruby
jphase has quit [Ping timeout: 250 seconds]
jshjsh is now known as JoshS
Beams has joined #ruby
A_Drone has quit [Remote host closed the connection]
einarj has joined #ruby
nankyokusei has joined #ruby
k3rn31 has joined #ruby
ruby_ has quit [Ping timeout: 244 seconds]
minimalism has quit [Quit: minimalism]
alaibe has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
spudowiar has quit [Quit: Leaving.]
omphe has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
anisha has quit [Ping timeout: 244 seconds]
koooge has quit [Quit: Leaving...]
sevenfourk has joined #ruby
aupadhye has quit [Ping timeout: 276 seconds]
anisha has joined #ruby
glcx has joined #ruby
glcx has joined #ruby
glcx has quit [Changing host]
alaibe has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
ankitraj has joined #ruby
minimalism has joined #ruby
saneax-_-|AFK is now known as saneax
tvw has quit []
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olistik has joined #ruby
A_Drone has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zoras has joined #ruby
olistik has quit [Ping timeout: 264 seconds]
zoras has left #ruby [#ruby]
mihael_k33hl has joined #ruby
devbug has quit [Quit: ZZZzzz…]
aupadhye has joined #ruby
pawnbox has quit [Remote host closed the connection]
<mihael_k33hl> Anyone using aruba with Rspec? Aruba's file matchers seem to fail when it succeeds when using native ruby to check. For instance File.exist?(file) returns truee but aruba's .to be_an_existing_file fails
antgel has quit [Remote host closed the connection]
jgt has joined #ruby
Beams has joined #ruby
pawnbox has joined #ruby
aupadhye has quit [Client Quit]
aupadhye has joined #ruby
RadPlatypus has joined #ruby
k3rn31 has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Ping timeout: 265 seconds]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
hahuang65 has joined #ruby
alaibe has quit [Ping timeout: 240 seconds]
lightheaded has quit [Ping timeout: 265 seconds]
Agent001 has joined #ruby
pawnbox has joined #ruby
Silthias1 has left #ruby [#ruby]
Rodya_ has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
Coldblackice has joined #ruby
Coldblackice has quit [Max SendQ exceeded]
Coldblackice has joined #ruby
araujo_ has quit [Quit: Leaving]
solocshaw has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
aupadhye has quit [Quit: Leaving]
bkxd has quit [Ping timeout: 250 seconds]
<ljarvis> mihael_k33hl: can't you just use ruby?
bkxd has joined #ruby
<ljarvis> seems like a waste of time trying to debug something that merely adds "nice" helpers
tenderlove has quit [Remote host closed the connection]
blackgoat has joined #ruby
<ljarvis> i use quotes because i dislike stuff like that myself :)
tenderlove has joined #ruby
tulak_ has joined #ruby
solocshaw has quit [Remote host closed the connection]
karmatr0n has joined #ruby
Coldblackice has quit [Ping timeout: 244 seconds]
bkxd has quit [Ping timeout: 264 seconds]
zeroDi has quit [Quit: WeeChat 1.5]
antgel has joined #ruby
tenderlove has quit [Ping timeout: 250 seconds]
astrobun_ has quit [Remote host closed the connection]
karmatr0n has quit [Read error: Connection reset by peer]
A_Drone has quit [Remote host closed the connection]
Couch has joined #ruby
A_Drone has joined #ruby
Coldblackice has joined #ruby
ik-z has joined #ruby
<ik-z> Hi all. I installed prawn gem (gem list : prawn (2.1.0)); But for an apply, I have this message : Could not find gem 'prawn (~> 0.15.0)'.... It's possible to downgrade a gem ?
<ik-z> is it*
tenderlove has joined #ruby
tenderlove has joined #ruby
tenderlove has quit [Changing host]
<ik-z> I use gem install prawn --version 0.15.0 but not work
tenderlove has quit [Remote host closed the connection]
A124 has quit [Ping timeout: 250 seconds]
Snowy has joined #ruby
bayed has joined #ruby
duncannz has quit [Remote host closed the connection]
domgetter has quit [Ping timeout: 244 seconds]
ik-z has quit [Quit: Page closed]
lessless has joined #ruby
stamina has joined #ruby
<mihael_k33hl> ljarvis: Yeah, i just gave it a try though hehe
<Batholith> Anyone know of a pastebin that executes ruby code?
lightheaded has joined #ruby
<Batholith> Oh wait, I think ideone finally started responding.
aidalgol has joined #ruby
tulak_ has quit [Remote host closed the connection]
alaibe has joined #ruby
<Batholith> Yaay, ideone is responding again!
tulak has joined #ruby
solocshaw has joined #ruby
Burgestrand has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
aidalgol has quit [Remote host closed the connection]
Devalo has joined #ruby
lightheaded has quit [Remote host closed the connection]
aidalgol has joined #ruby
aidalgol has quit [Remote host closed the connection]
lightheaded has joined #ruby
lightheaded has quit [Remote host closed the connection]
solocshaw has quit [Remote host closed the connection]
lightheaded has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
lightheaded has quit [Read error: No route to host]
A_Drone has quit [Remote host closed the connection]
<jokke> hey
lightheaded has joined #ruby
tulak has quit [Ping timeout: 244 seconds]
<jokke> anyone using virtus care to explain what the difference between a virtus model and a virtus value object is?
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
epochwolf has quit [Quit: Uh no...]
dionysus69 has quit [Ping timeout: 265 seconds]
CloCkWeRX has quit [Ping timeout: 252 seconds]
Coldblackice has quit []
alaibe has quit [Ping timeout: 265 seconds]
A_Drone has joined #ruby
nowhereFast has joined #ruby
lightheaded has quit [Ping timeout: 276 seconds]
A_Drone has quit [Remote host closed the connection]
ledestin has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
dn`_ has joined #ruby
dn`_ has quit [Client Quit]
<Burgestrand> jokke I can't speak for virtus, but typically value objects are immutable and a way to give meaning to raw data, e.g. Point(x, y), or Square(width, height), does that help?
naftilos76 has joined #ruby
dn` has quit [Ping timeout: 240 seconds]
<jokke> yeah that seems to support what i gathered from the source
<Burgestrand> jokke if it helps, it looks like Virtus has deprecated value objects and they will be removed
<jokke> oh ok
glcx has quit [Quit: This computer has gone to sleep]
<Burgestrand> jokke oh, sorry, I'm wrong
<Burgestrand> jokke it's probably only a specific way of using them that's deprecated
<jokke> mhm
<jokke> ok
<jokke> yeah
<Batholith> In constructors, or initializers, the @member_variable = argument is a very common pattern, is there a shortcut for this? Such as def initializer(@member_variable) ?
<Burgestrand> Batholith nope!
<Batholith> Aw. :(
<Batholith> Do you know if there will be something like that?
<[k-> Batholith: attr_accessor, attr_reader and attr_writer could be what you are looking for
<Burgestrand> Batholith there are gems to do this, e.g. https://github.com/barsoom/attr_extras
<Burgestrand> Batholith but there's no standard way to initialize member attributes from the initializer by automagic, attr_accessor/reader/writer only creates the accessors but does not initialize the members for you
<nowhereFast> Batholith: maybe looking at Struct
Rickmasta has joined #ruby
Puffball has quit [Remote host closed the connection]
<Batholith> Ah, alright.
Rickmasta has quit [Client Quit]
<Burgestrand> (and a downside of Struct is that 1) you have to inherit from it, and b) keyword arguments are not supported)
LoneHermit has joined #ruby
<Burgestrand> … 1) and b), haha.
<Batholith> Haha.
CloCkWeRX has joined #ruby
Es0teric has joined #ruby
<Batholith> Burgestrand: attr_extras does look nice. :)
<nowhereFast> it does indeed
Guest80233 has quit [Ping timeout: 244 seconds]
<Burgestrand> Batholith personally I'm not entirely a fan, but I can see why people like it :)
<careta> guys how do I convert an integer to ruby hex? 2ab14df0 -> \x2a\xb1\x4d\xf0
<nowhereFast> Burgestrand: why not?
lightheaded has joined #ruby
<Burgestrand> nowhereFast too many weirdly named methods, and I feel some of them have nuances that makes the interface a bit weird to use. I'm not against the idea of automatically assigning specified (whitelisted) member variables from the initializer by way of metaprogramming like this, but I do feel there ought to be some nicer way to go about it.
lightheaded has quit [Remote host closed the connection]
robfrawley has joined #ruby
Rodya_ has joined #ruby
Puffball has joined #ruby
<Batholith> Burgestrand: I could see a problem with it if you want to have an argument that you just immediately assign to a member variable, and have another argument that does some things in the initializer. Then you'd need to go the old way.
lightheaded has joined #ruby
robfrawley is now known as Guest74874
<Burgestrand> nowhereFast I'd say it's a personal preference and not something you should take as a fact, if the gem looks nice to you by all means do use it!
<Burgestrand> Batholith right, it's a tradeoff in flexibility vs. convenience, it's tricky to get both. :)
LoneHermit has quit [Ping timeout: 250 seconds]
<Batholith> What I think would be awesome if there was support for doing def initializer(@name, age) \ @age = age < 0 ? 0 : age \ end
lightheaded has quit [Read error: No route to host]
<nowhereFast> hmm.. as nice as it might seem for being concise, I suppose if anybody other than you is going to be working on your code having it a little more explicit would win out in this case
<Burgestrand> Yeah, that'd indeed be nice, and support for keyword arguments as well.
lightheaded has joined #ruby
<Batholith> Burgestrand: Keyword arguments?
<Burgestrand> Batholith def initialize(positional_argument, optional_positional = "Yay!', required_keyword:, optional_keyword: "hello")
<Burgestrand> Batholith i.e. named arguments
<Batholith> Oooh, named arguments.
spyder55 has joined #ruby
Puffball has quit [Remote host closed the connection]
<Batholith> Keyword arguments sounded like you want to pass keywords as arguments, such as if/unless/def and so on.
<Burgestrand> :)
<Burgestrand> Communication isn't always easy.
jshjsh has joined #ruby
<Batholith> True!
Rodya_ has quit [Ping timeout: 250 seconds]
<Batholith> Doesn't Python have something like that?
<Burgestrand> careta I'd guess pack/unpack, one or the other, I always forget which is which!
<Batholith> Named arguments, I mean. Not optional positionals though.
<nowhereFast> scala I think does
<Burgestrand> Batholith Ruby does have named arguments, but it'd be neat if your initialize(@hello) thing would work for named arguments as well as positional ones!
JoshS has quit [Ping timeout: 252 seconds]
<Batholith> Ruby does?
jshjsh is now known as JoshS
<Burgestrand> Batholith oh yeah, the def-thing I wrote up there actually works.
Puffball has joined #ruby
epochwolf has joined #ruby
JoshS has quit [Client Quit]
<Batholith> So you can write Person.new(name: "Hello!", age: 25)?
lightheaded has quit [Ping timeout: 250 seconds]
aries_liuxueyang has quit [Ping timeout: 255 seconds]
craigp has joined #ruby
<Burgestrand> Batholith https://eval.in/636845
<Burgestrand> Batholith Aye-aye.
<Burgestrand> Batholith you can mix them with positional arguments too if you like.
<Batholith> Nice error!
<Batholith> Ooh yeah, I see it now.
<Batholith> You intentionally made it error.
bkxd has joined #ruby
<Burgestrand> Yes!
Puffball has quit [Remote host closed the connection]
<Batholith> Burgestrand: But the real question is, can you omit the keyword in calling side?
<careta> Burgestrand, "2ab14df0".unpack('H*') => ["3261623134646630"], which is wrong!
<Burgestrand> Batholith yes and no, you see both bertha and figaro are fine.
<careta> ah got it
<careta> it's pack
<Batholith> I mean, can you call Cow.new "Bertha"?
<Burgestrand> Batholith you can write an initializer such as that, yes.
dn` has joined #ruby
edgr has quit [Ping timeout: 252 seconds]
wugy has quit []
<Burgestrand> Batholith https://eval.in/636849
Puffball has joined #ruby
<Burgestrand> Batholith (yes, in some cases, you can have the first positional argument be optional!)
edgr has joined #ruby
<Burgestrand> Batholith (usually crazy, but sometimes useful)
LambdaSix has quit [Ping timeout: 252 seconds]
<Burgestrand> Batholith this is probably easier to see what happens: https://eval.in/636851
<Burgestrand> careta :)
<Burgestrand> careta I always forget which one, but that sounds about right.
<Burgestrand> >> ["2ab14df0"].pack("H*")
<ruby[bot]> Burgestrand: # => "*\xB1M\xF0" (https://eval.in/636853)
<Burgestrand> careta ^
karmatr0n has joined #ruby
LambdaSix has joined #ruby
bkxd has quit [Ping timeout: 244 seconds]
<Batholith> Burgestrand: I see, I just tried out and can't omit the keyword in calling side. But that's better than nothing!
<Burgestrand> Batholith could you give an example that does not work, both the definition and the calling? I might be able to help you straighten it out.
<Batholith> IIRC, Python has just normal set of arguments and in calling side, you can use the argument names if you want.
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
<Batholith> Burgestrand: https://eval.in/636854
<Burgestrand> Batholith ah, yes, ruby is strict in the separation between positional arguments and keyword arguments.
<Burgestrand> Batholith keyword/named arguments don't have an order, so you can't call them positionally in such a way (without jumping through hoops).
<Batholith> Burgestrand: In Python; https://eval.in/636856
<careta> Burgestrand, thanks!
<Batholith> Which I think is ideal.
aries_liuxueyang has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
<Burgestrand> Batholith aye, Python bakes in the named arguments with its positional arguments. I'm not sure of the pro's and con's, but I'm fairly sure that Ruby does it the way it does partly because it's backwards-compatible even with very old Rubies.
<Batholith> Ah.
<Batholith> Backwards compatibility is the root of evil design choices!
<Batholith> Take C++ for example!
<Burgestrand> Batholith you might be aware that in Ruby that if the last argument you pass is a hash, you can leave out the curly brackets.
<Burgestrand> Batholith some_method("A", "One" => 1, "Two" => 2)
<Burgestrand> Batholith some_method("A", { "One" => 1, "Two" => 2 }), they're equivalent.
<Batholith> Yeah, I read a bit about the keyword arguments and in 1.9, you used the hash for keyword arguments.
<Burgestrand> Batholith indeed, if you use symbols you can remove the quotes and the hashrocket, which makes it so: some_method("A", one: 1, two: 2).
<Batholith> Yeah. Anyways, thanks for the help! I'm off to take a nap now. :) Take care!
<Burgestrand> Batholith You're welcome. :)
<Burgestrand> careta \o.
nankyokusei has joined #ruby
nyuszika7h has quit [Ping timeout: 265 seconds]
millerti has joined #ruby
nettoweb has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 244 seconds]
lightheaded has joined #ruby
Guest56778 has quit [Ping timeout: 276 seconds]
lightheaded has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
Guest31964 has joined #ruby
aidalgol has joined #ruby
sevenfourk has quit [Quit: Connection closed for inactivity]
alaibe has joined #ruby
nyuszika7h has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
anekos has quit [Quit: Tiarra 0.1+svn-39036: SIGTERM received; exit]
ericsupreme has joined #ruby
aidalgol has quit [Remote host closed the connection]
aidalgol has joined #ruby
aidalgol is now known as Guest2870
jgt has quit [Ping timeout: 240 seconds]
Guest2870 has quit [Remote host closed the connection]
aidalgol- has joined #ruby
aidalgol- has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
lightheaded has joined #ruby
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
pwnd_nsfw has quit [Ping timeout: 250 seconds]
craigp has quit [Ping timeout: 252 seconds]
tristanp has quit [Ping timeout: 244 seconds]
lightheaded has quit [Ping timeout: 240 seconds]
hanmac has quit [Ping timeout: 250 seconds]
hipertracker has joined #ruby
Mon_Ouie has joined #ruby
tristanp has joined #ruby
mark_66 has left #ruby ["PART #RubyOnRails :PART #elixir-lang :PART #crystal-lang :PONG :hitchcock.freenode.net"]
mihael_k33hl has quit [Quit: Page closed]
yardenbar has joined #ruby
hahuang65 has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has joined #ruby
Burgestrand has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
Tempesta has joined #ruby
Rodya_ has joined #ruby
hanmac has joined #ruby
LoneHermit has joined #ruby
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightheaded has quit [Remote host closed the connection]
lightheaded has joined #ruby
Beams has joined #ruby
hopsoft has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
lightheaded has quit [Read error: No route to host]
lightheaded has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
jgt has joined #ruby
TheHodge has joined #ruby
anekos has joined #ruby
stamina has quit [Ping timeout: 250 seconds]
7GHABYWVI has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby
tomchapi_ has joined #ruby
tomchapin has quit [Ping timeout: 244 seconds]
iamvery has joined #ruby
karmatr0n has joined #ruby
Vingador has joined #ruby
cyphase has joined #ruby
karmatr0n has quit [Read error: No route to host]
edgr has quit [Ping timeout: 240 seconds]
tlaxkit has joined #ruby
m_abdelfattah has joined #ruby
ankitraj has quit [Ping timeout: 265 seconds]
d0nn1e has quit [Ping timeout: 264 seconds]
DoubleMalt has joined #ruby
<conta> guys, how do I dynamically do `A::B::<eg. "asdf".upcase>` ?
<Mon_Ouie> Do you mean to build a string or to retrieve the value referenced by a constant?
d0nn1e has joined #ruby
Agent001 has quit [Ping timeout: 250 seconds]
<conta> I found it, constantize was what I wanted
edgr has joined #ruby
sdothum has joined #ruby
tyang has joined #ruby
hipertracker has quit [Quit: hipertracker]
Robtop__ has joined #ruby
<Mon_Ouie> Simply A::B.const_get if you're not using Rails
hipertracker has joined #ruby
govg has quit [Ping timeout: 265 seconds]
hipertracker has quit [Client Quit]
synthroid has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
JeanCarloMachado has joined #ruby
Devalo has joined #ruby
jottr has joined #ruby
jdawgaz has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
jdawgaz has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cyphase has quit [Ping timeout: 264 seconds]
antgel has quit [Ping timeout: 250 seconds]
craigp has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GinoManWorks has joined #ruby
antgel has joined #ruby
GinoManWorks has quit [Max SendQ exceeded]
cyphase has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
GinoManWorks has joined #ruby
govg has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
ziyadb has joined #ruby
m_abdelfattah has quit [Read error: Connection reset by peer]
glcx has joined #ruby
glcx has quit [Changing host]
glcx has joined #ruby
millerti has joined #ruby
m_abdelfattah has joined #ruby
tk__ has joined #ruby
charliesome has joined #ruby
ericsupreme has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 265 seconds]
nertzy has joined #ruby
antgel has joined #ruby
Vile` has joined #ruby
bkxd has joined #ruby
nertzy has quit [Client Quit]
nertzy has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
olistik has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RadPlatypus has quit [Quit: Connection closed for inactivity]
Vingador has quit [Ping timeout: 265 seconds]
SegFaultAX has quit [Quit: ZNC - http://znc.in]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamvery has quit [Remote host closed the connection]
gnufied has joined #ruby
hopsoft has joined #ruby
greister has quit [Quit: WeeChat 1.3]
iamvery has joined #ruby
greister has joined #ruby
benlieb has joined #ruby
hopsoft has quit [Client Quit]
Beams has joined #ruby
nando293921 has joined #ruby
djbkd_ has joined #ruby
djbkd_ has quit [Remote host closed the connection]
karmatr0n has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
govg has quit [Ping timeout: 244 seconds]
johnmilton has quit [Quit: Namaste]
iamvery has quit [Quit: Leaving...]
Vile` has quit [Ping timeout: 255 seconds]
karmatr0n has quit [Ping timeout: 244 seconds]
hopsoft has joined #ruby
shterrett has joined #ruby
ruby_ has joined #ruby
johnmilton has joined #ruby
7GHABYWVI has quit [Remote host closed the connection]
shterrett has quit [Client Quit]
bweston92 has quit [Read error: Connection reset by peer]
nankyokusei has joined #ruby
c0mrad3 has joined #ruby
TomyWork has quit [Quit: Leaving]
ruby_ has quit [Ping timeout: 244 seconds]
eljimbo has quit [Quit: This computer has gone to sleep]
nankyokusei has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: last_staff]
<lifted> HI FRIENDS
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has quit [Quit: WeeChat 1.5]
bweston92 has joined #ruby
Burgestrand has joined #ruby
aganov has quit [Remote host closed the connection]
<[k-> hello lifted
A124 has joined #ruby
spyder55 has quit []
pawnbox has quit [Remote host closed the connection]
<careta> is there a way to url encode all characters? I want all chars, for example ff3233fa url encodes to %ff23%fa, but I want it to encode to %ff%32%33%fa
pawnbox has joined #ruby
omphe has joined #ruby
m_abdelfattah has quit [Ping timeout: 276 seconds]
<elomatreb> careta: That's not how URL-encoding works. Maybe you want base64?
<Mon_Ouie> Are you just trying to insert a '%' ever two characters?
<careta> elomatreb, I'm aware... but just wondering if there's a way to do it
bmurt has joined #ruby
<careta> Mon_Ouie, that might work, let me try
<careta> if I have all my chars in hex, that can work
jgt has quit [Ping timeout: 276 seconds]
Snowy has quit [Remote host closed the connection]
Guest43 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Agent001 has joined #ruby
hammond has quit [Excess Flood]
hammond has joined #ruby
jazzonmym111nd has joined #ruby
fmcgeough has joined #ruby
jazzonmym11nd has quit [Ping timeout: 250 seconds]
swills has quit [Quit: Leaving]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
cdg has joined #ruby
hahuang65 has joined #ruby
swills has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest74874 has quit [Ping timeout: 240 seconds]
aegis3121 has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
eljimbo has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
Benjen has joined #ruby
ChiefAlexander has joined #ruby
Rodya_ has joined #ruby
jhack_ has joined #ruby
Silthias has joined #ruby
robfrawley has joined #ruby
robfrawley is now known as Guest33179
Snickers has quit [Read error: Connection reset by peer]
togede has joined #ruby
Scroff has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
hutch34 has joined #ruby
Guest43 has joined #ruby
thiagofm has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
tlaxkit has quit [Quit: tlaxkit]
ramortegui has joined #ruby
[k- has quit [Quit: -a- IRC for Android 2.1.23]
BTRE has quit [Ping timeout: 265 seconds]
[k- has joined #ruby
jphase has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deadprez has joined #ruby
BTRE has joined #ruby
griffindy has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karmatr0n has joined #ruby
malconis has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
rubnob has joined #ruby
<robnester> question: In python I can check if an attribute of an instance of a class matches a number of values by doing: if class.attribute in ['a', 'list', 'of', 'values']. What would be the ruby-esque way to do this?
karmatr0n has quit [Read error: Connection reset by peer]
<apeiros> ['a', 'list', 'of', 'values'].include?(obj.attribute)
<robnester> thanks.
ebbflowgo has joined #ruby
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> I'm not sure, but I think rails even adds Object#in?(enum), which basically just does enum.include?(self)
anisha_ has joined #ruby
<ljarvis> yeah, although activesupport*
Xeago has quit [Ping timeout: 265 seconds]
<robnester> thanks.
anisha has quit [Ping timeout: 265 seconds]
<robnester> i'm working on porting a framework I've written in python to ruby.
<robnester> specifically RoR
* apeiros personally doesn't like Object#in?
Xeago has joined #ruby
LoneHerm_ has joined #ruby
<apeiros> IMO goes against separation of concerns (it's not the duty of an object do know whether it's in a container - it's the containers duty)
aryaching has joined #ruby
ta_ has quit [Remote host closed the connection]
<robnester> that makes sense.
<apeiros> *to know
<apeiros> speeling :)
<robnester> words are hard ;)
<apeiros> thinking and typing after a big dinner are too :D
LoneHerm_ has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 265 seconds]
karmatr0n has joined #ruby
rafadc has joined #ruby
jhack_ has quit [Quit: jhack_]
Sammichmaker has quit [Read error: Connection reset by peer]
AndrewIsHere has joined #ruby
craigp has quit [Quit: WeeChat 1.5]
claudiuinberlin has joined #ruby
cyphase has joined #ruby
zacts has joined #ruby
craigp has joined #ruby
<robnester> in rails, if I wanted to have a model field which is 'id' which represents an integer which is not the db record ID, is there a suggested naming convention?
<robnester> such as _id or id_ ?
tyang has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
cyphase has quit [Ping timeout: 250 seconds]
ishe_ua` has joined #ruby
ishe_ua has quit [Ping timeout: 250 seconds]
ruby_ has joined #ruby
Devalo has joined #ruby
cyphase has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
Vingador has joined #ruby
threh has joined #ruby
<ljarvis> robnester: is it unique?
rubnob has quit [Ping timeout: 244 seconds]
<ljarvis> and why call it id but it not be the db id? what does it actually mean?
<robnester> hmm... it would necessarily be so
<robnester> so it represents an erratum. An erratum might be listed more than once (each listing representing a test run)
olistik has quit [Ping timeout: 255 seconds]
<robnester> *it would not necessarily be so
<robnester> and an erratum has an "id" which is a five digit identifier.
<apeiros> if your db doesn't have an id column for a model, you only have to special case the migration
<apeiros> the model will figure it out which column is the primary key iirc
darkxploit has joined #ruby
claudiuinberlin has quit [*.net *.split]
rafadc has quit [*.net *.split]
ChiefAlexander has quit [*.net *.split]
tristanp has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
johnmilton has quit [*.net *.split]
lightheaded has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
tdy has quit [*.net *.split]
cevett has quit [*.net *.split]
flopsec has quit [*.net *.split]
drzel has quit [*.net *.split]
ixti has quit [*.net *.split]
VladGh has quit [*.net *.split]
rbr has quit [*.net *.split]
Ishido has quit [*.net *.split]
headius has quit [*.net *.split]
mlehrer has quit [*.net *.split]
n8o has quit [*.net *.split]
bjmllr has quit [*.net *.split]
philtr has quit [*.net *.split]
wildleaf has quit [*.net *.split]
kith has quit [*.net *.split]
Tharbakim has quit [*.net *.split]
awk_ has quit [*.net *.split]
madhatter has quit [*.net *.split]
xpt has quit [*.net *.split]
phantummm has quit [*.net *.split]
gypsydave5 has quit [*.net *.split]
existensil has quit [*.net *.split]
jidar has quit [*.net *.split]
KillerFox has quit [*.net *.split]
lucas has quit [*.net *.split]
webhat has quit [*.net *.split]
forgot has quit [*.net *.split]
<robnester> apeiros, my assumption is that there _would_ be an ID column, which would be the primary key.
<apeiros> you can tell it explicitly though, via AR::Base.primary_key= (iirc, check the rails api)
<apeiros> then it's a relatively bad idea to have an attribute called the same
<ljarvis> right, but it sounds like you don't have one (so you'd still need the id anyway)
<apeiros> you'll just confuse about everybody. use a different name.
<robnester> but I'm just curious, if I add another column which would be the errata id, is there a ruby-esque naming convention for this? "_id" "id_" ?
<ljarvis> if it's not unique it's not a primary key
hahuang65 has joined #ruby
jhack_ has joined #ruby
jhack has quit []
jhack_ is now known as jhack
<robnester> apeiros: yeah, I think you're correct here.
<ljarvis> both of those are bad, is basically what im saying
<ljarvis> so you should think of something better :)
<apeiros> robnester: yes, columns referring to foreign keys (FKs) usually end in _id
<robnester> ok.
Snowy has joined #ruby
<apeiros> and it's not ruby, ruby doesn't know or care about databases ;-)
<robnester> well, should I say "rails" ;)
<ljarvis> this doesn't refer to a foreign key though does it? I thought you were actually suggesting using "_id" for ex
<apeiros> (rails != ruby)
cyphase has quit [Ping timeout: 264 seconds]
<robnester> apeiros: true, and I know that... I actually have mapped this all out in ruby previously, now trying to get that all in rails.
<robnester> so my apologies for terminological inexactitude ;)
deadprez has quit [Remote host closed the connection]
Vingador has quit [Ping timeout: 265 seconds]
ishe_ua`` has joined #ruby
<apeiros> robnester: also, if, say "Article" has more than one erratum, the ID wouldn't be in the Article model, it'd be in Erratum
A5101 has joined #ruby
<apeiros> i.e. Article.has_many :errata, and Erratum.belongs_to :article
dionysus69 has joined #ruby
<apeiros> the belongs_to party has the FK
<robnester> apeiros: yes, that's analogous to how I have things structured.
[k-_ has joined #ruby
alaibe has left #ruby ["WeeChat 1.5"]
<apeiros> Erratum#article_id (gives the id) and via the belongs_to :article, rails defines the Erratum#article method, which returns the matching Article via the errata.article_id (and article.id) column
[k- has quit [Read error: No route to host]
<nowhereFast> is anything wrong with doing this? Dir.glob('./somedir/*', &method(:require))
<apeiros> nowhereFast: you tell us?
<robnester> the errata id mentioned here is a string identifier, think of it like a name... i know the 'id' nomenclature confuses the issue.
* apeiros guesses private method call fails
<apeiros> robnester: I tend to call non-integer id's "code"
<nowhereFast> no, it works, just asking re. idiomatic syntax for ruby
<apeiros> but "id" is just fine too.
hahuang65 has quit [Ping timeout: 250 seconds]
ishe_ua` has quit [Ping timeout: 276 seconds]
<ljarvis> nowhereFast: idiomatic? no.
<apeiros> nowhereFast: I prefer explicit requires
<robnester> apeiros: thanks
<ljarvis> nowhereFast: also, it'll require *any* file, not just ruby
<apeiros> nowhereFast: and IMO they're more idiomatic too
<apeiros> nowhereFast: and "." in your requires == security issue
<ljarvis> nowhereFast: also, can someone else add a ruby file that does something mental like moneypatch Object? worth thinking about
<nowhereFast> so if I wanted to require 20 files, it would be done one by one?
<apeiros> . is the *working* directory. it's *not* relative to your script.
cyphase has joined #ruby
jgt has joined #ruby
<ljarvis> i would require one by one yes
<nowhereFast> okay, fair enough
Rodya_ has joined #ruby
<apeiros> your working directory can be different for *the same script*. invoking /user/home/foo/bar.rb via 'ruby bar.rb' while in /user/home/foo and via 'ruby foo/bar.rb' while in /user/home will lead to different working directories.
Agent001 has quit [Ping timeout: 240 seconds]
tk__ has quit [Quit: ばいばい]
<apeiros> and yes, one by one, even for 20 files. though usually it'll be much less. because if you do `require 'foo/bar/baz'`, you're IMO doing it wrong. you should `require 'foo/bar'`, and foo/bar.rb does `require 'foo/bar/baz'`
axisys has quit [Ping timeout: 276 seconds]
<nowhereFast> I see
axisys has joined #ruby
<nowhereFast> so for something like say spec_helper that would require all models, -you would require each one?
<apeiros> rails - you don't need to require models.
<apeiros> anything within app/ is autoloaded
Rodya_ has quit [Ping timeout: 250 seconds]
<nowhereFast> this is not in rails
<nowhereFast> its a rack app I'm experimenting with
<apeiros> then I'd probably have something like spec/helpers/models and require all models from there
<ljarvis> doesn't your "main" file require models?
Vingador has joined #ruby
<ljarvis> e.g. your top level app
olistik has joined #ruby
<nowhereFast> it does.. via the one liner I pasted above
jgt has quit [Ping timeout: 252 seconds]
deadprez has joined #ruby
ruby_ has quit [Remote host closed the connection]
<nowhereFast> so you'd go the helper route.. but the helper would still require each one individually
<apeiros> generally in unit tests I try to avoid loading everything
<apeiros> I load the thing I need in the test suite which needs it
<apeiros> makes it easier to isolate tests
<nowhereFast> ahh.. okay
<nowhereFast> but then for the app? you'd need all there.. so one by one?
<apeiros> it also means running single tests will be a lot faster
<nowhereFast> pardon my asking the same thing, just trying to understand why you prefer being that explicit about it
chris2 has quit [Ping timeout: 265 seconds]
<apeiros> same principle actually - files in my apps load other files they directly depend upon.
<nowhereFast> models would all be depended on for the app, no?
<apeiros> you reference all models in all your files of your app?
<ljarvis> heh
ruby_ has joined #ruby
<ljarvis> i think this is close to personal opinion, and i generally tend to agree with apeiros, but i don't do that everywhere
<apeiros> I don't do it everywhere either. it is my standard model, though.
<nowhereFast> hmm..
<ljarvis> i usually start with it too yeah
<ljarvis> it's the nicer approach
<apeiros> for my private stuff I did start to experiment with a different autoloader than rails'
<ljarvis> not always the best though :D
<apeiros> (I don't like rails' autoloader)
<apeiros> sure. no silver bullets in life :D
<apeiros> it has a couple of advantages, though.
<apeiros> it means other people can easily track dependencies f.ex.
Xentil has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
Ishido has joined #ruby
antgel has quit [Ping timeout: 244 seconds]
r00t_us3r has joined #ruby
ruby_ has quit [Ping timeout: 244 seconds]
AzureStigma has joined #ruby
govg has joined #ruby
ixti has joined #ruby
cevett has joined #ruby
rbr has joined #ruby
bjmllr has joined #ruby
LiquidInsect has joined #ruby
lightheaded has joined #ruby
tristanp has joined #ruby
mlehrer has joined #ruby
ChiefAlexander has joined #ruby
n8o has joined #ruby
claudiuinberlin has joined #ruby
johnmilton has joined #ruby
philtr has joined #ruby
kith has joined #ruby
wildleaf has joined #ruby
headius has joined #ruby
VladGh has joined #ruby
Tharbakim has joined #ruby
awk_ has joined #ruby
Mon_Ouie has joined #ruby
xpt has joined #ruby
phantummm has joined #ruby
gypsydave5 has joined #ruby
madhatter has joined #ruby
existensil has joined #ruby
jidar has joined #ruby
webhat has joined #ruby
forgot has joined #ruby
lucas has joined #ruby
KillerFox has joined #ruby
TomyWork has joined #ruby
tdy has joined #ruby
dviola has joined #ruby
govg has quit [Max SendQ exceeded]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
govg has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
cyphase has joined #ruby
kanobt61_ has quit [Read error: Connection reset by peer]
greister_ has quit [Ping timeout: 265 seconds]
mlehrer has quit [Ping timeout: 244 seconds]
ruby_ has joined #ruby
dikaio has joined #ruby
r00t_us3r has left #ruby [#ruby]
nankyokusei has joined #ruby
deadprez has quit [Remote host closed the connection]
lightheaded has quit [Remote host closed the connection]
kanobt61 has joined #ruby
benlieb has joined #ruby
lightheaded has joined #ruby
deadprez has joined #ruby
flopsec has joined #ruby
mlehrer has joined #ruby
chouhoulis has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
lightheaded has quit [Ping timeout: 265 seconds]
Immune has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
saneax is now known as saneax-_-|AFK
coolboy has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
pawnbox has quit [Ping timeout: 244 seconds]
bigkevmcd has quit [Quit: Outta here...]
jgt has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
lightheaded has joined #ruby
Mon_Ouie has quit [Ping timeout: 244 seconds]
tyang has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
shinnya has joined #ruby
rippa has joined #ruby
cyphase has joined #ruby
deadprez has quit [Remote host closed the connection]
submitnine has quit []
deadprez has joined #ruby
threh has quit [Ping timeout: 276 seconds]
hopsoft has joined #ruby
govg has quit [Ping timeout: 265 seconds]
Littlemyu has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
aegis3121 has joined #ruby
conta has quit [Ping timeout: 276 seconds]
mitt3ns has joined #ruby
twizsted has joined #ruby
<mitt3ns> Mornin'
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
ziyadb has quit [Quit: Connection closed for inactivity]
mitt3ns has joined #ruby
<apeiros> moin whitey :)
tyang has quit [Ping timeout: 244 seconds]
<apeiros> new nick?
pawnbox has joined #ruby
rodfersou has joined #ruby
deadprez has quit [Remote host closed the connection]
Guest43 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> oh, you're online with two different clients, I assume?
darkxploit_ has joined #ruby
<agent_white> Yep! Forgot to kill the one on the machine at home.
<agent_white> How are you today?
_djbkd has joined #ruby
<apeiros> fine, fine. &u?
naftilos76 has quit [Quit: Αποχώρησε]
hipertracker has joined #ruby
bkxd has joined #ruby
<agent_white> Not too shabby!
jhack has quit [Quit: jhack]
darkxploit__ has joined #ruby
dminuoso has joined #ruby
darkxploit has quit [Ping timeout: 244 seconds]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 244 seconds]
darkxploit_ has quit [Ping timeout: 244 seconds]
Agent001 has joined #ruby
AzureStigma has quit [Quit: Textual IRC Client: www.textualapp.com]
<adam12> Has anybody done a Ruby intro during a meetup? Trying to think of something that could demonstrate Ruby's strengths without audience needing to know Ruby ahead of time.
bkxd has quit [Ping timeout: 244 seconds]
<adam12> Koans or Kata's came up, but a lot of them seem too small.
bmurt has joined #ruby
thiagofm has quit [Remote host closed the connection]
<Papierkorb> adam12: I'd take something small, or a barebones version of something "too big", and show it. I did a small-ish What's Ruby presentation at work recently. The presentation "software" was written in ruby, and as showcase I just put a barebones, but usable, version of it into a single slide.
<adam12> Interesting. That's a good idea.
Snowy has quit [Remote host closed the connection]
deadprez has joined #ruby
<adam12> I was looking for a micro project that didn't span too many domains.
<adam12> Ie. an address book or todo list that had a web component.
Rodya_ has joined #ruby
<adam12> Any chance you have source for presentation?
<Papierkorb> Sorry, don't have it here at home
etetz has joined #ruby
fnux has quit [Quit: ZNC - http://znc.in]
polishdub has joined #ruby
cyphase has quit [Ping timeout: 252 seconds]
AndrewIsHere has quit [Remote host closed the connection]
zacts has joined #ruby
<Papierkorb> adam12: A small-ish but maybe already useful(?) showcase could be to build a websocket realtime chat with roda+redcarpet so the user can *format* **the** message. Really depends on the audience what they'd enjoy though. Some may like this "barebones Slack", others dismiss it as useless microproject.
AndrewIsHere has joined #ruby
<adam12> An interesting idea. I was hoping to keep it single domain - Ruby only.
<adam12> If I have to explain HTML/CSS/JS .. I think I've diverged too much
Rodya_ has quit [Ping timeout: 250 seconds]
<Papierkorb> What's the target audiences primary field of work?
<adam12> That said, if it was telnet based, and used markdown -> ansi.
<adam12> Variable. It's a generic developer meetup.
AndrewIsHere has quit [Read error: Connection reset by peer]
AndrewIsHere has joined #ruby
<adam12> Some native devs (iOS, Android), lots of web, some backend only.
<Papierkorb> Maybe something which automates a small (but annoying?) task
<adam12> Yeah. Another good suggestion!
<Papierkorb> Like download something, transform it and write it to stdout
LoneHermit has joined #ruby
<adam12> Maybe I'll just poll audience and wing it.
cyphase has joined #ruby
SegFaultAX has joined #ruby
wldcordeiro has quit [Ping timeout: 255 seconds]
<Papierkorb> a mini RSS reader, a logging HTTP proxy (Webrick + some http lib),
YaknotiS has quit [Quit: reboot]
dminuoso has quit [Remote host closed the connection]
A5101 has quit [Ping timeout: 260 seconds]
synthroid has quit [Remote host closed the connection]
hopsoft has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adam12> Cool, thanks. The RSS reader seems approachable.
aufi has quit [Ping timeout: 244 seconds]
tyang has joined #ruby
LoneHermit has quit [Ping timeout: 255 seconds]
opus has joined #ruby
YaknotiS has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
duderonomy has quit [Ping timeout: 264 seconds]
cyphase has quit [Ping timeout: 244 seconds]
jhack has joined #ruby
alexherbo2 has joined #ruby
JeanCarloMachado has joined #ruby
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
JoshS has joined #ruby
cyphase has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
hopsoft has joined #ruby
chouhoulis has quit [Remote host closed the connection]
zapata has quit [Quit: WeeChat 1.5]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
AndrewIsHere has joined #ruby
hopsoft has quit [Client Quit]
[Butch] has joined #ruby
zapata has joined #ruby
voker57_ is now known as Voker57
Voker57 has quit [Changing host]
Voker57 has joined #ruby
deadprez has quit [Remote host closed the connection]
hopsoft has joined #ruby
Couch has quit [Ping timeout: 276 seconds]
rodferso1 has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
opus has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deadprez_ has joined #ruby
wldcordeiro has joined #ruby
kjellpropell has joined #ruby
jsrn_ has quit [Read error: Connection reset by peer]
rodfersou has quit [Ping timeout: 264 seconds]
amclain has joined #ruby
Snowy has joined #ruby
millerti has joined #ruby
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
dionysus70 is now known as dionysus69
dikaio has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marxarelli has joined #ruby
mrgrieves has quit [Ping timeout: 265 seconds]
Agent001 has quit [Ping timeout: 240 seconds]
aegis3121 has quit [Ping timeout: 276 seconds]
SeepingN has joined #ruby
cpruitt has joined #ruby
govg has joined #ruby
Agent001 has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
electrostat has quit [Quit: uwotm8]
mtkd has joined #ruby
jackjackdripper has joined #ruby
Guest31964 has quit [Ping timeout: 240 seconds]
dikaio has joined #ruby
senayar has quit []
nowhereFast has quit [Quit: Bye]
ajsharma has joined #ruby
jhack has quit [Quit: jhack]
Guest67864 has joined #ruby
aegis3121 has joined #ruby
jhack has joined #ruby
electrostat has joined #ruby
rodferso1 has quit [Quit: leaving]
RegulationD has joined #ruby
Snowy has quit [Remote host closed the connection]
devbug has joined #ruby
lightheaded has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 252 seconds]
ruby_ has quit [Remote host closed the connection]
elementaru has joined #ruby
chrisja has joined #ruby
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
lxsameer has joined #ruby
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SeepingN has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Beams has joined #ruby
synthroid has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
tyang has quit [Ping timeout: 244 seconds]
claudiuinberlin has quit []
AndrewIsHere has joined #ruby
tuelz1 has joined #ruby
<tuelz1> can anyone point me to a small scriptish type project that has a modular logger setup? I'm looking for some good practices on how to setup a logger such that I can specify different logfiles or maybe even devices to write too
hahuang65 has joined #ruby
Burgestrand has joined #ruby
<apeiros> log to stdout/stderr, have external tools which do the job better and can be managed by other people
<tuelz1> makes sense
fnux has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
cyphase has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
Rodya_ has joined #ruby
nitric has joined #ruby
rmbd has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
rmbd has left #ruby [#ruby]
anisha has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
Littlemyu has quit [Ping timeout: 252 seconds]
benlieb has quit [Quit: benlieb]
fnux has quit [Ping timeout: 250 seconds]
axisys has quit [Ping timeout: 264 seconds]
deadprez_ has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 250 seconds]
hightower4 has joined #ruby
bmurt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
linoespinoza has joined #ruby
<hightower4> Hey, how do I check if 'super' of a function exists?
benlieb has joined #ruby
Scroff has quit [Remote host closed the connection]
linoespinoza has quit [Max SendQ exceeded]
benlieb has quit [Client Quit]
Scroff has joined #ruby
linoespinoza has joined #ruby
bmurt has joined #ruby
JoshS has quit [Quit: Leaving]
<apeiros> hightower4: defined?(super)
linoespinoza has quit [Client Quit]
bmurt has quit [Client Quit]
<hightower4> apeiros, great, thanks++
Pumukel has quit [Ping timeout: 250 seconds]
<apeiros> you could also do it via introspection, but it's easy to get that one wrong.
zacts has quit [Quit: WeeChat 1.4]
devbug has quit [Quit: ZZZzzz…]
bmurt has joined #ruby
bmurt has quit [Client Quit]
axisys has joined #ruby
RegulationD has quit [Remote host closed the connection]
last_staff has joined #ruby
spudowiar has joined #ruby
jenrzzz has joined #ruby
lightheaded has joined #ruby
myndz has joined #ruby
glcx has quit [Quit: Quitte]
<myndz> quick q: if i have multiple statements in a row for which i want to catch errors and abort early, how do i return from the rescue block so that further code doesn't run?
TomyWork has quit [Quit: Leaving]
<myndz> without, that is, nesting a bunch of begin/rescue/end blocks
hipertracker has quit [Quit: hipertracker]
zipace has quit [Ping timeout: 265 seconds]
<apeiros> myndz: begin; s1; s2; s3; rescue All, The, Exceptions; …handle exception…; end
<apeiros> if say s1 raises, s2 and s3 won't be run.
ruby_ has joined #ruby
qguv_ is now known as qguv
d5sx43 has joined #ruby
hipertracker has joined #ruby
<apeiros> amendment: rescue All, The, Exceptions => raised_exception; …
armyriad has quit [Ping timeout: 250 seconds]
Beams has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
<myndz> clarification: if i want to treat certain potential exceptions differently, but i think you may have answered that in passing
devbug has joined #ruby
<myndz> rescue takes an argument, the type of exception to catch?
<apeiros> *rescue
<apeiros> catch is something else in ruby
<apeiros> yes
<myndz> that should do the job then, thanks
JeanCarloMachado has quit [Ping timeout: 255 seconds]
pandaant has quit [Ping timeout: 276 seconds]
<apeiros> you can have a) multiple rescues for a begin/end, and b) multiple exception classes for any rescue
<apeiros> only the first "matching" rescue will trigger
pandaant has joined #ruby
<myndz> sounds good
<hightower4> apeiros, by the way, any idea how I would print the locations of all 'super' functions in the chain?
<apeiros> note that any superclass will do too. i.e. rescue StandardError (the default) will rescue almost all exceptions.
<hightower4> "locations" being any way of identifying class/module or filename in which the method is defined
sepp2k has quit [Ping timeout: 244 seconds]
<apeiros> hightower4: see Object#method and Method#source_location
<hightower4> Wonderful, thanks
<apeiros> walking the ancestry of an individual object I'm not sure, I think obj.singleton_class.ancestors should do.
futilegames has joined #ruby
fnux has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
Agent001 has quit [Ping timeout: 240 seconds]
jhack has quit [Quit: jhack]
d5sx43 has quit []
yardenbar has quit [Ping timeout: 265 seconds]
Benjen has quit [Quit: Leaving]
tdy has quit [Quit: tdy]
flak has joined #ruby
Alayde has joined #ruby
mikecmpbll has joined #ruby
jhack has joined #ruby
capitainIsh has joined #ruby
jhack has quit [Client Quit]
rippa has quit [Ping timeout: 276 seconds]
armyriad has joined #ruby
careta has quit [Quit: Leaving]
careta has joined #ruby
flying has quit []
hopsoft has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Ping timeout: 250 seconds]
cyphase has quit [Ping timeout: 250 seconds]
trose has joined #ruby
trose has left #ruby [#ruby]
nikivi has joined #ruby
jhack has joined #ruby
jhack has quit [Client Quit]
cyphase has joined #ruby
sepp2k has joined #ruby
dikaio has quit [Quit: Textual IRC Client: www.textualapp.com]
chouhoulis has joined #ruby
tyang has joined #ruby
aegis3121 has joined #ruby
olistik has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 244 seconds]
Eiam_ has joined #ruby
Agent001 has joined #ruby
ixti has quit [Ping timeout: 244 seconds]
<hightower4> apeiros, still searching for the right solution - when iterating over ancestors, anc.method( :meth) returns nil for all ancestors
<apeiros> oh, for the ancestors it'd be instance_method
<apeiros> since they're classes
<apeiros> don't forget to provide the 2nd arg to exclude inherited methods
ixti has joined #ruby
karmatr0n has quit [Ping timeout: 250 seconds]
axisys has quit [Ping timeout: 260 seconds]
<apeiros> I think something like obj.singleton_class.ancestors.map { |klass| klass.instance_method(:meth, false) }.compact.map { |meth| [meth.owner, meth.source_location] } might do
<apeiros> not sure though. as said, this one is easy to get wrong and I'm kinda distracted :)
kitikonti has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
<hightower4> apeiros, but I found I already wrote a solution for discovering where in the ancestors the method is defined -- http://pastebin.ca/3712709
<hightower4> Thanks for the discussion ++ :)
<apeiros> yw
zel has joined #ruby
claudiuinberlin has joined #ruby
zel is now known as Guest23033
cyphase has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
Agent001 has quit [Read error: Connection reset by peer]
pandaant has quit [Ping timeout: 255 seconds]
pandaant has joined #ruby
deadprez has joined #ruby
moshee has quit [Quit: 囧]
myndz has quit [Quit: Page closed]
spyder55 has joined #ruby
mosez has left #ruby [#ruby]
AnarchyAo has joined #ruby
tdy has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
craigp has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
cyphase has joined #ruby
LoneHerm_ has joined #ruby
ishe_ua`` has quit [Ping timeout: 265 seconds]
bkxd has quit [Ping timeout: 265 seconds]
axisys has joined #ruby
araujo_ has joined #ruby
LoneHerm_ has quit [Ping timeout: 260 seconds]
deadprez has quit [Remote host closed the connection]
Immune has joined #ruby
cyphase has quit [Ping timeout: 244 seconds]
SeepingN has joined #ruby
Rodya_ has joined #ruby
araujo__ has joined #ruby
araujo has quit [Ping timeout: 240 seconds]
tuelz1 has quit [Ping timeout: 250 seconds]
araujo_ has quit [Read error: Connection reset by peer]
justinethier has joined #ruby
cyphase has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
claudiuinberlin has quit [Remote host closed the connection]
replay has joined #ruby
jhack has joined #ruby
capitainIsh has quit [Read error: Connection reset by peer]
careta has quit [Ping timeout: 250 seconds]
Scroff has quit [Ping timeout: 244 seconds]
urbanmonk has joined #ruby
urbanmonk has quit [Client Quit]
rcvalle has joined #ruby
capitainIsh has joined #ruby
hotpancakes has joined #ruby
deadprez has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Guest33179 has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
cyphase has quit [Ping timeout: 265 seconds]
robfrawley has joined #ruby
robfrawley is now known as Guest32674
minotep has joined #ruby
saneax-_-|AFK is now known as saneax
claudiuinberlin has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
craigp has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
cyphase has joined #ruby
ledestin has joined #ruby
togede has quit [Remote host closed the connection]
bruce_lee has joined #ruby
AndrewIsHere has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Scroff has joined #ruby
Scroff has quit [Read error: Connection reset by peer]
bsrd has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
bsrd has quit [Client Quit]
Scroff has joined #ruby
chris2 has joined #ruby
ratg has joined #ruby
<ratg> hi all
conta has joined #ruby
jrafanie has joined #ruby
ratg has quit [Client Quit]
threh has joined #ruby
cyphase has joined #ruby
spyder55 has quit []
benlieb has joined #ruby
saneax is now known as saneax-_-|AFK
saneax-_-|AFK is now known as saneax
JeanCarloMachado has joined #ruby
darkxploit__ has quit [Quit: Ex-Chat]
tyang has quit [Ping timeout: 250 seconds]
benlieb has quit [Client Quit]
benlieb has joined #ruby
JeanCarloMachado has quit [Ping timeout: 265 seconds]
benlieb has quit [Client Quit]
kanyewezt has joined #ruby
JeanCarloMachado has joined #ruby
cyphase has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
spyder55 has joined #ruby
daffy_duck_2 has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
gingray has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
claudiuinberlin has joined #ruby
pandaant has quit [Remote host closed the connection]
benlieb has joined #ruby
kanobt61 has quit [Read error: Connection reset by peer]
daffy_duck_3 has quit [Ping timeout: 265 seconds]
cyphase has joined #ruby
spider-mario has joined #ruby
al2o3-cr has quit [Ping timeout: 264 seconds]
kanobt61 has joined #ruby
elifoster has joined #ruby
Guest43 has joined #ruby
kirun has joined #ruby
govg has quit [Ping timeout: 255 seconds]
kanobt61 has quit [Read error: Connection reset by peer]
karmatr0n has joined #ruby
kanyewezt has quit [Quit: Leaving]
hahuang65 has joined #ruby
cjbottaro has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
bocaneri has quit [Remote host closed the connection]
Scroff has quit [Remote host closed the connection]
spyder55 has quit []
coolboy has quit [Ping timeout: 244 seconds]
postmodern has joined #ruby
spyder55 has joined #ruby
cyphase has quit [Ping timeout: 260 seconds]
kanobt61 has joined #ruby
nicoulaj has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
cyphase has joined #ruby
hotpancakes has quit [Remote host closed the connection]
capitainIsh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
dionysus69 has quit [Remote host closed the connection]
RegulationD has joined #ruby
postmodern has quit [Quit: Leaving]
capitainIsh has joined #ruby
capitainIsh has quit [Client Quit]
postmodern has joined #ruby
coolboy has joined #ruby
hotpancakes has quit [Ping timeout: 244 seconds]
kirun_ has joined #ruby
kirun has quit [Ping timeout: 244 seconds]
al2o3-cr has joined #ruby
zacts has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
cjbottaro has quit [Quit: Textual IRC Client: www.textualapp.com]
dfockler has joined #ruby
zacstewart has joined #ruby
cdg has quit [Remote host closed the connection]
bayed has quit [Quit: Connection closed for inactivity]
<bqscott> automate all the tasks!
spyder55 has quit []
spyder55 has joined #ruby
nikivi has quit [Quit: irc]
spyder55 has quit [Max SendQ exceeded]
hotpancakes has joined #ruby
b3atr has joined #ruby
spyder55 has joined #ruby
spyder55 has quit [Max SendQ exceeded]
smathews has joined #ruby
cyphase has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
spyder55 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
spyder55 has quit [Client Quit]
<b3atr> is there a better solution to this? i've an array called `claim_documents` each of its element is `documentable`
zapata has quit [Quit: WeeChat 1.5]
<b3atr> i want to get the name of the class of documentable
zapata has joined #ruby
<b3atr> i did something like this, claim_documents.map {|claim_document| claim_document.documentable.class.name}
<b3atr> is there any better solution?
symm- has joined #ruby
marr has quit [Ping timeout: 244 seconds]
conta has quit [Ping timeout: 276 seconds]
cyphase has quit [Ping timeout: 276 seconds]
tyang has joined #ruby
nankyokusei has joined #ruby
marsjaninzmarsa has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
Devalo has quit [Remote host closed the connection]
ebbflowgo has left #ruby [#ruby]
dionysus69 has quit [Client Quit]
<apeiros> b3atr: that's a good solution
mwlang has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
nankyokusei has quit [Ping timeout: 265 seconds]
synthroid has quit [Remote host closed the connection]
Xentil has quit [Ping timeout: 255 seconds]
maciej has joined #ruby
maciej has quit [Client Quit]
olistik has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
kjellpropell has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: last_staff]
mikecmpbll has quit [Quit: inabit. zz.]
tyang has quit [Ping timeout: 250 seconds]
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
saneax is now known as saneax-_-|AFK
smathews has quit [Quit: Leaving.]
Guest32674 has quit [Ping timeout: 276 seconds]
Guest43 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
olistik has quit [Ping timeout: 250 seconds]
ixti has quit [Ping timeout: 276 seconds]
Devalo has joined #ruby
mwlang has quit [Quit: mwlang]
mikecmpbll has joined #ruby
dopamean_ has joined #ruby
futilegames has left #ruby [#ruby]
bjh13 has joined #ruby
saneax-_-|AFK is now known as saneax
robfrawley has joined #ruby
ChiefAlexander has quit [Read error: Connection reset by peer]
tyang has joined #ruby
ag4ve_ has joined #ruby
ChiefAlexander has joined #ruby
robfrawley is now known as Guest43795
<ag4ve_> how do I load a file of ruby variables? require is erroring
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
threh has quit [Ping timeout: 244 seconds]
ixti has joined #ruby
millerti has quit [Quit: Textual IRC Client: www.textualapp.com]
benlieb has quit [Quit: benlieb]
<eam> ag4ve_: your question isn't clear, can you create a gist describing what you're trying and what the result is?
omphe has joined #ruby
jschmid has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
zacts has joined #ruby
bkxd has joined #ruby
<apeiros> ag4ve_: common problem is that people expect local variables from other files to be "imported". but local variables are, well, local. standard solutions: use constants (preferably namespaced in a module), or use a yaml file instead of a ruby file, along with some loading mechanism.
<ag4ve_> thanks
jhack has quit [Quit: jhack]
smathews has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
threh has joined #ruby
techietrash has quit [Quit: Bye! <(^_^<)]
techietrash has joined #ruby
jschmid has quit [Remote host closed the connection]
chrisdav6_ has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
SeepingN has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ajsharma has joined #ruby
deadprez has quit [Remote host closed the connection]
umdstu has quit [Quit: umdstu]
smathews has quit [Quit: Leaving.]
tyang has quit [Ping timeout: 250 seconds]
saneax is now known as saneax-_-|AFK
jeremyhall has joined #ruby
RadPlatypus has joined #ruby
tuelz1 has joined #ruby
threh has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby
jenrzzz_ has joined #ruby
BlkDynmt has quit [Quit: BlkDynmt]
tdy has quit [Ping timeout: 244 seconds]
zeroDi has joined #ruby
<chrisdav6_> Hello all. New Ruby user here. Started out with HTML/CSS and Javascript/jQuery and finally took the plunge to Ruby/RubyOnRails! Currently following The Odin Project and various other Ruby resources. I hope to be a contributing member in the coming months. If you guys have any tips on learning resources that would be great! :) -Chris
jenrzzz has quit [Ping timeout: 252 seconds]
synthroid has joined #ruby
hahuang65 has quit [Ping timeout: 255 seconds]
zacstewart has quit [Ping timeout: 255 seconds]
jackjackdripper has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deadprez has joined #ruby
flak has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
last_staff has joined #ruby
<elementaru> chrisdav6_ hi. there's another channel specifically for Rails. As for resources in general, I saw this post recently https://www.reddit.com/r/learnprogramming/comments/50l1yt/heres_a_list_of_430_free_online_programmingcs/ , probably there's something about Ruby/rails as well
_djbkd has quit [Remote host closed the connection]
benlieb has joined #ruby
b3atr has quit [Quit: WeeChat 1.5]
anisha has joined #ruby
<chrisdav6_> @last_staff thank you very much!
thomas has quit [Quit: leaving]
deadprez has quit [Remote host closed the connection]
Guest43 has joined #ruby
Guest43 has quit [Client Quit]
tyang has joined #ruby
deadprez has joined #ruby
zacstewart has joined #ruby
<chrisdav6_> @elementaru Thank you very much!
spudowiar has quit [Quit: Leaving.]
benlieb has quit [Quit: benlieb]
dfockler has quit [Ping timeout: 276 seconds]
domgetter has joined #ruby
vuoto has joined #ruby
cpruitt has quit [Quit: cpruitt]
ramfjord has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
cpruitt has joined #ruby
<chrisdav6_> is it possible to display formatted code in this chat room?
ybit has joined #ruby
<ybit> pretty sure this is relevant to everyone here https://www.bigmarker.com/remote-meetup/An-Interview-with-Josh-Adams
<ybit> it's an interview happening right now
<chrisdav6_> testing... ```puts "Test"```
<elementaru> chrisdav6_ just use pastebin?
SeepingN has joined #ruby
<baweaver> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
Devalo has quit [Ping timeout: 260 seconds]
futilegames has joined #ruby
<chrisdav6_> @elementaru thank you! So if i had a question with regard to my code i would just have to link to an external source, right?
<chrisdav6_> GitHub, Pastebin, CodePen, Etc...
<elementaru> yeah, see what ruby[bot] linked
<chrisdav6_> Gotcha
Azure has quit [Ping timeout: 276 seconds]
eljimbo has joined #ruby
<chrisdav6_> I have a github and codepen acoount do that should help. Wasnt sure if this chat platform had features similar to gitter
<chrisdav6_> *so
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 255 seconds]
Vingador has quit [Ping timeout: 265 seconds]
cdg has joined #ruby
vuoto has quit [Ping timeout: 252 seconds]
bauruine_ has quit [Ping timeout: 252 seconds]
deadprez has quit [Remote host closed the connection]
vuoto has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
H3li0 has joined #ruby
spudowiar has joined #ruby
early90spants has left #ruby [#ruby]
jenrzzz has joined #ruby
zacts has quit [Quit: WeeChat 1.4]
zacts has joined #ruby
pawnbox has quit [Remote host closed the connection]
Vingador has joined #ruby
claudiuinberlin has quit []
chrisdav6_ has quit [Quit: Ex-Chat]
anisha has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
_joes___ has joined #ruby
benlieb has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has joined #ruby
deadprez has joined #ruby
Mon_Ouie has joined #ruby
Rodya_ has joined #ruby
kanobt61 has quit [Read error: Connection reset by peer]
H3li0 has quit []
Coldblackice has joined #ruby
coolboy has quit [Ping timeout: 260 seconds]
Pyrodactyl is now known as nadir
kitikonti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kanobt61 has joined #ruby
bauruine has joined #ruby
Lucky_ABA has joined #ruby
nettoweb has joined #ruby
synthroid has quit []
cdg has quit [Remote host closed the connection]
coolboy has joined #ruby
hotpanca_ has joined #ruby
LoneHermit has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
tyang has quit [Ping timeout: 250 seconds]
alfiemax has quit [Ping timeout: 276 seconds]
LoneHermit has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
vuoto has quit [Remote host closed the connection]
nikivi has joined #ruby
vuoto has joined #ruby
jhack has joined #ruby
blackgoat has joined #ruby
LoneHermit has quit [Ping timeout: 265 seconds]
roychri has quit [Ping timeout: 276 seconds]
jhack has quit [Client Quit]
jhack has joined #ruby
DoubleMalt has quit [Ping timeout: 255 seconds]
Eiam_ has joined #ruby
Snowy has joined #ruby
jazzonmym1nd has joined #ruby
H3li0 has joined #ruby
<Alayde> Can anyone point me to a gem that's a good example of how to interact with versioned http APIs?
jazzonmym111nd has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
nankyokusei has joined #ruby
boontdustie has joined #ruby
_joes___ has quit [Quit: _joes___]
minotep has quit [Ping timeout: 240 seconds]
nikivi has quit [Quit: irc]
futilegames has quit [Quit: futilegames]
ngscheur1 has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
deadprez has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 265 seconds]
vuoto has quit [Remote host closed the connection]
deadprez has joined #ruby
benlieb has quit [Quit: benlieb]
marsjaninzmarsa has joined #ruby
aryaching has joined #ruby
dopamean_ has quit [Ping timeout: 244 seconds]
deadprez has quit [Ping timeout: 255 seconds]
deadprez has joined #ruby
deadprez has quit [Remote host closed the connection]
elementaru has quit [Remote host closed the connection]
kanobt61 has quit [Read error: Connection reset by peer]
LastWhisper____ has joined #ruby
aryaching has quit [Ping timeout: 244 seconds]
kanobt61 has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
aryaching has joined #ruby
unsymbol has quit [Ping timeout: 255 seconds]
unsymbol has joined #ruby
elastix has joined #ruby
chouhoulis has quit [Remote host closed the connection]
alfiemax has joined #ruby
omphe has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
sepp2k has quit [Quit: Leaving.]
Asher has quit [Quit: Leaving.]
hahuang65 has joined #ruby
Asher has joined #ruby
marxarelli has joined #ruby
shortdudey123 has quit [Max SendQ exceeded]
shortdudey123 has joined #ruby
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
johnmilton has quit [Quit: Namaste]
cdg has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mon_Ouie has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
kirun has joined #ruby
boontdustie has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
kirun_ has quit [Ping timeout: 240 seconds]
justinethier has quit [Quit: Page closed]
H3li0 has left #ruby [#ruby]
l4v2 has joined #ruby
elifoster has quit [Quit: out]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kitikonti has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
marxarelli has joined #ruby
hotpancakes has joined #ruby
smathews has joined #ruby
johnmilton has joined #ruby
alfiemax has joined #ruby
kitikonti has quit [Client Quit]
workmad3 has joined #ruby
hotpancakes has quit [Ping timeout: 250 seconds]
al2o3-cr has quit [Ping timeout: 250 seconds]
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
marxarelli has joined #ruby
aidalgol has joined #ruby
mrwn has joined #ruby
smathews has quit [Ping timeout: 260 seconds]
Mon_Ouie has joined #ruby
deadprez has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nicoulaj has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
gingray has joined #ruby
ahuman has quit [Quit: No Ping reply in 180 seconds.]
Lightsword has quit [Ping timeout: 264 seconds]
helpa has quit [Remote host closed the connection]
Vivekananda has quit [Quit: Leaving]
A_Drone has joined #ruby
helpa has joined #ruby
wldcordeiro has quit [Ping timeout: 260 seconds]
last_staff1 has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lightsword has joined #ruby
ahuman has joined #ruby
marxarelli has joined #ruby
johnmilton has quit [Ping timeout: 250 seconds]
pragmatism has quit [Ping timeout: 276 seconds]
last_staff has quit [Ping timeout: 265 seconds]
last_staff1 is now known as last_staff
pragmatism has joined #ruby
A_Drone has quit [Ping timeout: 250 seconds]
agent_white has quit [Quit: brb]
johnmilton has joined #ruby
ramortegui has quit [Quit: Ex-Chat]
<marahin> Is rDOC part of Ruby?
smathews has joined #ruby
aidalgol has quit [Ping timeout: 244 seconds]
giz|work has joined #ruby
fullstack has quit [Quit: Thanks!]
fullstack has joined #ruby
<jazzonmym1nd> marahin: yuuuuup
<jazzonmym1nd> part of the stdlib.
<marahin> jazzonmym1nd allright. So there is no point to set it as a dependency in gemspec :)
smathews has quit [Read error: Connection reset by peer]
fullstack has quit [Max SendQ exceeded]
agent_white has joined #ruby
fullstack has joined #ruby
smathews has joined #ruby
al2o3-cr has joined #ruby
capitainIsh has joined #ruby
capitainIsh has quit [Client Quit]
threh has joined #ruby
capitainIsh has joined #ruby
Snowy has quit [Remote host closed the connection]
jgpawletko has joined #ruby
jgpawletko has quit [Remote host closed the connection]
Ishido has quit [Remote host closed the connection]
jphase_ has joined #ruby
biberu has quit [Read error: Connection reset by peer]
careta has joined #ruby
<Mon_Ouie> There is: indicating which rdoc versions are compatible with your code
ebbflowgo has joined #ruby
mrwn has quit [Ping timeout: 240 seconds]
NetSage has joined #ruby
neanderslob has joined #ruby
spudowiar has quit [Quit: Leaving.]
jphase has quit [Ping timeout: 276 seconds]
Silthias1 has quit [Ping timeout: 244 seconds]
jphase_ has quit [Ping timeout: 260 seconds]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
Vingador has quit [Ping timeout: 255 seconds]
neanderslob has quit [Read error: Connection reset by peer]
qubit77 has joined #ruby
neanderslob has joined #ruby
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
Azure has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
ajsharma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
deadprez has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has joined #ruby
moneylotion has joined #ruby
ddffg has quit [Quit: Leaving]
aries_liuxueyang has quit [Ping timeout: 255 seconds]
neanderslob has quit [Remote host closed the connection]
jgpawletko has joined #ruby
RegulationD has quit [Remote host closed the connection]
jgpawletko has quit [Client Quit]
firstdayonthejob has quit [Ping timeout: 276 seconds]
Rickmasta has joined #ruby
bkxd has quit [Ping timeout: 265 seconds]
hutch34 has quit [Ping timeout: 276 seconds]
tostr_ has quit [Quit: Reconnecting]
neanderslob has joined #ruby
tostr has joined #ruby
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
solocshaw has joined #ruby
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elastix has quit [Quit: elastix]
Silthias has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
omphe has joined #ruby
wldcordeiro has joined #ruby
symm- has quit [Quit: Leaving...]
aries_liuxueyang has joined #ruby
solocshaw has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
hotpancakes has joined #ruby
solocshaw has joined #ruby
coolboy has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 264 seconds]
jphase has joined #ruby
NetSage has quit [Read error: Connection reset by peer]
chrisja has quit [Quit: leaving]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
gingray has quit [Ping timeout: 250 seconds]
ajsharma has joined #ruby
Silthias has quit [Ping timeout: 276 seconds]
moneylotion has quit [Quit: ZNC 1.6.3 - http://znc.in]
JeanCarloMachado has joined #ruby
moneylotion has joined #ruby
polishdub has quit [Quit: Leaving]
pokalyis has joined #ruby
etetz has quit [Remote host closed the connection]
moneylotion has quit [Client Quit]
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
Guest43795 has quit [Ping timeout: 265 seconds]
moneylotion has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
solocshaw has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
Silthias has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has joined #ruby
robfrawley has joined #ruby
robfrawley is now known as Guest98262
solocshaw has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has quit [Ping timeout: 276 seconds]
artgoeshere has joined #ruby
AndrewIsHere has quit [Ping timeout: 276 seconds]
artgoeshere has quit [Max SendQ exceeded]
tenderlove has joined #ruby
saneax-_-|AFK is now known as saneax
nankyokusei has quit [Ping timeout: 255 seconds]
mtkd has quit [Ping timeout: 252 seconds]
giz|work has quit [Ping timeout: 244 seconds]
solocshaw has quit [Remote host closed the connection]
solocshaw has joined #ruby
mtkd has joined #ruby
<SJr> If I write a file and close it, and then read it again, should I always see the most recent contents right? Assuming that I am the only process writing to that file.
ChiefAlexander has quit [Remote host closed the connection]
Guest67864 has quit [Ping timeout: 276 seconds]
JesseH has quit [Remote host closed the connection]
AnFin has joined #ruby
Omni_ has joined #ruby
Omni_ is now known as Guest62914
deadprez has joined #ruby
l4v2 has quit [Quit: l4v2]
monoprotic has joined #ruby
smathews has quit [Quit: Leaving.]
JeanCarloMachado has quit [Ping timeout: 265 seconds]
Burgestrand has joined #ruby
zipace has joined #ruby
AnFin has quit [Quit: leaving]
Burgestrand has quit [Client Quit]
AnarchyAo has quit [Read error: Connection reset by peer]
deadprez has quit [Remote host closed the connection]
deadprez has joined #ruby
deadprez has quit [Read error: Connection reset by peer]
tomchapi_ has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
deadprez has joined #ruby
JeanCarloMachado has joined #ruby
tomchapin has joined #ruby
pokalyis has quit [Quit: Textual IRC Client: www.textualapp.com]
artgoeshere has joined #ruby
tulak has joined #ruby
BrianJ has joined #ruby
careta has quit [Ping timeout: 240 seconds]
fmcgeough has quit [Quit: fmcgeough]
hotpancakes has quit [Remote host closed the connection]
kirun has quit [Quit: Konversation terminated!]
cpruitt has quit [Quit: cpruitt]
giz|work has joined #ruby
deadprez has quit [Ping timeout: 244 seconds]
ngscheur1 has quit [Ping timeout: 244 seconds]
A124 has quit [Read error: Connection reset by peer]
karmatr0n has quit [Ping timeout: 252 seconds]
jeremyhall has quit [Remote host closed the connection]
tdy has joined #ruby
l4v2 has joined #ruby
A124 has joined #ruby
tostr has quit [Ping timeout: 240 seconds]
tostr has joined #ruby
ag4ve_ has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: goes moo moo]
tomchapin has quit [Ping timeout: 260 seconds]
BubonicPestilenc has joined #ruby
<BubonicPestilenc> hey guys
<BubonicPestilenc> do Hash.key? works faster than Array.include?
<BubonicPestilenc> situation: checking if id already present in DB(which i decided to pre-fetch)
<eam> BubonicPestilenc: it should, yes
<BubonicPestilenc> ty
nitric has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
jhack has quit [Quit: jhack]
RegulationD has quit [Ping timeout: 255 seconds]
LastWhisper____ has joined #ruby
ngscheur1 has joined #ruby
spider-mario has quit [Remote host closed the connection]
jtzero1 has joined #ruby
Lucky_ABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rcvalle has quit [Quit: rcvalle]
deadprez has joined #ruby
Widdershins has joined #ruby
hahuang61 has joined #ruby
<Widdershins> Hi, I'm having issues with a missing mmap.h that's preventing me from installing gems required for rails on windows 10
<Widdershins> Is there an advised solution to this
eizua has joined #ruby
bjh13 has quit [Remote host closed the connection]
unreal has quit [Read error: Connection reset by peer]
unreal has joined #ruby
tulak has quit [Remote host closed the connection]
zacts has quit [Quit: WeeChat 1.4]
charliesome has joined #ruby
deadprez has quit [Ping timeout: 255 seconds]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tulak has joined #ruby
godd2 has joined #ruby
quazimodo has joined #ruby
workmad3 has quit [Ping timeout: 250 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
ebbflowgo has quit [Read error: Connection reset by peer]
domgetter has quit [Ping timeout: 244 seconds]
ebbflowgo has joined #ruby
aries_liuxueyang has joined #ruby
agent_white has quit [Quit: brb]
tulak has quit [Read error: No route to host]
cpruitt has joined #ruby
tdy has quit [Ping timeout: 250 seconds]
dopamean_ has joined #ruby
Lucky_ABA has joined #ruby
cdg has quit [Remote host closed the connection]
BubonicPestilenc has quit [Quit: BubonicPestilenc]
hammond is now known as ITT_Graduate