havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3 & 2.2.6 (2.4.0-rc1): https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
flashpoint9 has joined #ruby
DLSteve has joined #ruby
nankyokusei has joined #ruby
aremaref has quit [Ping timeout: 268 seconds]
MrBusiness2 has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
GodFather has quit [Ping timeout: 258 seconds]
skweek has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
olivierjanss has joined #ruby
Azure has quit [Quit: Oops.]
Limix has joined #ruby
sepp2k has quit [Quit: Leaving.]
biberu has quit []
enilsen16 has quit [Quit: enilsen16]
montanonic has joined #ruby
pawelb has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 258 seconds]
<lupine> yes, it was very kind of ruby to reimplement wsgi, servlets and all the rest
joast has quit [Quit: Leaving.]
joast has joined #ruby
Azure has joined #ruby
Devalo has joined #ruby
edwinvdgraaf has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
kareelee has quit [Remote host closed the connection]
polysics has quit [Remote host closed the connection]
polysics has joined #ruby
username_ has joined #ruby
meshsmith has quit [Remote host closed the connection]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
h1fuelcell has joined #ruby
polysics has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
muelleme has joined #ruby
tubuliferous has joined #ruby
h1fuelcell has quit [Ping timeout: 246 seconds]
xen0fon has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
agent_white has joined #ruby
tubuliferous has quit [Ping timeout: 248 seconds]
muelleme has quit [Ping timeout: 258 seconds]
ruid has quit [Remote host closed the connection]
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
flashpoint9 has joined #ruby
SteenJobs has joined #ruby
SteenJobs has quit [Client Quit]
ruid_ has joined #ruby
ruid has quit [Ping timeout: 258 seconds]
spenser has joined #ruby
flashpoint9 has quit []
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
PaulCape_ has joined #ruby
lightstalker has quit [Ping timeout: 264 seconds]
PaulCapestany has quit [Ping timeout: 240 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
edwinvdgraaf has quit [Ping timeout: 258 seconds]
sdothum has joined #ruby
h1fuelcell has joined #ruby
jhass has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
lightstalker has joined #ruby
rakm has joined #ruby
username_ has quit [Ping timeout: 264 seconds]
perniciouscaffei has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
koldbrutality has joined #ruby
<koldbrutality> how do i get the backtrace for [Error] undefined method `data' for nil:NilClass or the location of what caused it?
<Zarthus> don't try-catch it?
<manveru> >> begin; hey; rescue => ex; p ex, ex.backtrace; end
<ruby[bot]> manveru: # => #<NameError: undefined local variable or method `hey' for main:Object> ...check link for more (https://eval.in/703741)
djbkd2 has quit [Quit: node-irc says goodbye]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
enyo_ has joined #ruby
gusrub has quit []
skweek has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
shakes has joined #ruby
enilsen16 has joined #ruby
enyo_ has quit [Ping timeout: 260 seconds]
jhass has joined #ruby
jenrzzz has joined #ruby
PaulCapestany has joined #ruby
ruid_ has quit [Ping timeout: 250 seconds]
PaulCape_ has quit [Read error: Connection reset by peer]
bronson has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
newbie1 has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 252 seconds]
PaulCape_ has joined #ruby
PaulCapestany has quit [Ping timeout: 258 seconds]
shakes has quit [Quit: Leaving]
nchambers is now known as Rudolph
tubuliferous has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
tubuliferous has quit [Ping timeout: 258 seconds]
skweek has joined #ruby
johnny56_ has quit [Remote host closed the connection]
sneakerhax has quit [Quit: Back later]
PaulCapestany has joined #ruby
Limix has quit [Quit: Limix]
sneakerhax has joined #ruby
PaulCape_ has quit [Ping timeout: 265 seconds]
nankyokusei has joined #ruby
Xiti has quit [Quit: Xiti]
nankyokusei has quit [Ping timeout: 252 seconds]
Xiti has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
marxarelli is now known as marxarelli|afk
nofxx has joined #ruby
_whitelogger has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
Devalo has joined #ruby
rakm has joined #ruby
rakm has quit [Client Quit]
rakm has joined #ruby
rakm has quit [Client Quit]
webopsx has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enilsen16 has quit [Quit: enilsen16]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
d^sh has quit [Ping timeout: 268 seconds]
Devalo has quit [Ping timeout: 246 seconds]
d^sh has joined #ruby
johnny56_ has joined #ruby
bronson has joined #ruby
testuser1 has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 246 seconds]
raul782 has joined #ruby
johnzorn has joined #ruby
brent__ has joined #ruby
raul782 has quit [Ping timeout: 248 seconds]
skweek has quit [Ping timeout: 256 seconds]
meshsmith has joined #ruby
charliesome has joined #ruby
harai_ has quit [Ping timeout: 258 seconds]
spenser has quit [Ping timeout: 246 seconds]
edwinvdgraaf has joined #ruby
optiz0r has quit [Ping timeout: 250 seconds]
rwb has joined #ruby
libastral has quit [Ping timeout: 260 seconds]
libastral has joined #ruby
spenser has joined #ruby
johnzorn has quit [Ping timeout: 250 seconds]
johnzorn has joined #ruby
enyo has joined #ruby
dtzu has joined #ruby
mim1k|wo1k has joined #ruby
mim1k|work has quit [Ping timeout: 245 seconds]
hanmac has quit [Ping timeout: 258 seconds]
enyo has quit [Ping timeout: 248 seconds]
tubuliferous has joined #ruby
spenser has quit [Ping timeout: 260 seconds]
rwb has quit [Quit: rwb]
machinewar has joined #ruby
machinewar has quit [Client Quit]
tubuliferous has quit [Ping timeout: 245 seconds]
tubuliferous has joined #ruby
marchelzo has quit [Ping timeout: 264 seconds]
Atr3Yu has joined #ruby
h1fuelcell has quit []
edwinvdgraaf has quit [Ping timeout: 248 seconds]
hanmac has joined #ruby
polysics has joined #ruby
spenser has joined #ruby
bronson has joined #ruby
polysics has quit [Ping timeout: 260 seconds]
bronson has quit [Ping timeout: 250 seconds]
tubuliferous has quit [Ping timeout: 264 seconds]
meadmoon has joined #ruby
agent_white has quit [Ping timeout: 258 seconds]
optiz0r has joined #ruby
tubuliferous has joined #ruby
tubuliferous has quit [Ping timeout: 256 seconds]
tubuliferous has joined #ruby
nankyokusei has joined #ruby
braincrash has quit [Quit: bye bye]
agent_white has joined #ruby
agent_white has quit [Remote host closed the connection]
agent_white has joined #ruby
iaz has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
jz has joined #ruby
phroa has joined #ruby
jz is now known as Guest6600
kuSuSE has quit [Quit: Konversation terminated!]
tubuliferous has quit [Ping timeout: 246 seconds]
<phroa> a friend picked up _why's guide and left a quarter of the way through because apparently it's written for an old version of ruby. what does everyone recommend nowadays? I used _why's as an intro and self-taught everything else I know, but I think a formal guide would be better for him :)
johnzorn has quit [Ping timeout: 248 seconds]
iaz has quit [Ping timeout: 260 seconds]
djbkd_ has joined #ruby
<phroa> (beginner to barely intermediate at this point, I think)
harai_ has joined #ruby
triangles has joined #ruby
aremaref has joined #ruby
triangles has quit [Max SendQ exceeded]
triangles has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
Devalo has joined #ruby
edwinvdgraaf has joined #ruby
raul782 has joined #ruby
djbkd_ has quit [Ping timeout: 245 seconds]
Devalo has quit [Ping timeout: 246 seconds]
edwinvdgraaf has quit [Ping timeout: 258 seconds]
brianpWins has joined #ruby
braincrash has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Limix has joined #ruby
bronson has joined #ruby
aremaref has quit [Ping timeout: 258 seconds]
maxirater has joined #ruby
jaguarmagenta has joined #ruby
eizua has joined #ruby
meadmoon has quit [Quit: I am functioning within established parameters.]
bronson has quit [Ping timeout: 246 seconds]
tubuliferous has joined #ruby
raul782 has quit [Remote host closed the connection]
gix has quit [Ping timeout: 265 seconds]
dviola has joined #ruby
raul782 has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
testuser1 has quit [Quit: Leaving.]
gix has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
tubuliferous has quit [Ping timeout: 245 seconds]
jaguarmagenta has joined #ruby
perniciouscaffei has joined #ruby
testuser1 has joined #ruby
moei has quit [Read error: Connection reset by peer]
moei has joined #ruby
enyo has joined #ruby
arescorpio has quit [Quit: Leaving.]
enyo has quit [Ping timeout: 256 seconds]
tubuliferous has joined #ruby
scroy has joined #ruby
triangles2 has joined #ruby
<scroy> okay, can someone explain how this is possible? https://github.com/mdub/clamp/issues/70
<scroy> or rather, what the user error is?
<scroy> how can the code in an unless block have an effect when it's not being run?
maxirater has quit [Quit: Leaving]
triangles has quit [Ping timeout: 265 seconds]
tubuliferous has quit [Ping timeout: 265 seconds]
faces has quit [Ping timeout: 248 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
faces has joined #ruby
perniciouscaffei has joined #ruby
tofutoon has joined #ruby
harfangk has joined #ruby
<tofutoon> When including a module in a class, is there an easy way to pass in a parameter? I have a module with 5 methods, and I want to pass an array that specifies which of the 5 methods to mixin.
skweek has joined #ruby
edwinvdgraaf has joined #ruby
djbkd_ has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
meshsmith has quit [Remote host closed the connection]
tubuliferous has joined #ruby
montanonic has quit [Ping timeout: 260 seconds]
tenderlove has joined #ruby
tenderlove has quit [Client Quit]
montanonic has joined #ruby
djbkd_ has quit [Ping timeout: 268 seconds]
enilsen16 has joined #ruby
enilsen16 has quit [Client Quit]
meshsmith has joined #ruby
enilsen16 has joined #ruby
Dimik has joined #ruby
triangles2 has quit [Quit: Leaving]
beilabs has quit [Ping timeout: 268 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
beilabs has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
Atr3Yu has quit [Quit: Saliendo]
eizua has quit [Remote host closed the connection]
iaz has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dviola has quit [Quit: WeeChat 1.6]
iaz has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 250 seconds]
j3r0 has quit [Ping timeout: 256 seconds]
Devalo has joined #ruby
scroy has quit [Quit: scroy]
Devalo has quit [Ping timeout: 252 seconds]
muelleme has joined #ruby
skweek has quit [Ping timeout: 246 seconds]
polysics has joined #ruby
duderonomy has joined #ruby
bronson has joined #ruby
polysics has quit [Ping timeout: 245 seconds]
muelleme has quit [Ping timeout: 246 seconds]
bronson has quit [Ping timeout: 252 seconds]
tau has quit [Quit: HUAEHA]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
enyo has joined #ruby
d0nn1e has quit [Ping timeout: 245 seconds]
Devalo has joined #ruby
d0nn1e has joined #ruby
pwnd_nsfw` has joined #ruby
qwertrandom has joined #ruby
pwnd_nsfw has quit [Ping timeout: 245 seconds]
pilne has quit [Quit: Quitting!]
enyo has quit [Ping timeout: 246 seconds]
Robtop__ has joined #ruby
kareelee has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
doubleemms has joined #ruby
enterprisey has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 256 seconds]
edwinvdgraaf has joined #ruby
doubleemms has quit [Client Quit]
doubleemms has joined #ruby
qwertrandom has quit [Quit: leaving]
tubuliferous has joined #ruby
enilsen16 has quit [Quit: enilsen16]
edwinvdgraaf has quit [Ping timeout: 265 seconds]
bluebell_ has joined #ruby
kareelee has quit [Remote host closed the connection]
kareelee has joined #ruby
qwertran1om has joined #ruby
qwertran1om has quit [Client Quit]
meshsmith has quit [Remote host closed the connection]
Limix has quit [Quit: Limix]
elastix has joined #ruby
the_drow has joined #ruby
Limix has joined #ruby
the_drow has quit [Ping timeout: 264 seconds]
raul782 has quit []
Devalo has quit [Remote host closed the connection]
tau has joined #ruby
Devalo has joined #ruby
the_drow has joined #ruby
dionysus69 has joined #ruby
polysics has joined #ruby
bronson has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
the_drow has quit [Client Quit]
nofxx has quit [Ping timeout: 268 seconds]
polysics has quit [Ping timeout: 246 seconds]
Guest6600 has quit [Ping timeout: 250 seconds]
rippa has joined #ruby
g_maeda_ has joined #ruby
charliesome has joined #ruby
djbkd has quit [Quit: Leaving...]
n008f4g_ has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
n008f4g_ has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
j3r0 has joined #ruby
edwinvdgraaf has joined #ruby
yaewa has joined #ruby
moei has quit [Ping timeout: 258 seconds]
charliesome has quit [Client Quit]
spenser has quit [Ping timeout: 264 seconds]
montanonic has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
spenser has joined #ruby
charliesome has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
charliesome has quit [Client Quit]
ta has quit [Remote host closed the connection]
tildes has joined #ruby
Limix has quit [Quit: Limix]
Limix has joined #ruby
Limix has quit [Client Quit]
blackbom1 has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
djbkd has quit [Remote host closed the connection]
A_Drone_ has joined #ruby
SpiffTR has joined #ruby
harai_ has quit [Ping timeout: 258 seconds]
dionysus69 has joined #ruby
Nicmavr has joined #ruby
Devalo has joined #ruby
blackbom1 has quit [Ping timeout: 260 seconds]
Nicmavr is now known as Guest53581
edwinvdgraaf has quit [Ping timeout: 264 seconds]
A_Drone_ has quit [Quit: Leaving]
enyo has joined #ruby
polysics has joined #ruby
Guest53581 has quit [Changing host]
Guest53581 has joined #ruby
Guest53581 is now known as Kestrel-029
enyo has quit [Ping timeout: 258 seconds]
tildes has quit [Ping timeout: 258 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
blackbom1 has joined #ruby
bronson has joined #ruby
eizua has joined #ruby
duderonomy has joined #ruby
Pisuke has joined #ruby
beanHolez has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
aries_liuxueyang has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
brent__ has quit [Quit: Connection closed for inactivity]
lele has quit [Ping timeout: 260 seconds]
lele has joined #ruby
SpiffTR has quit [Quit: Leaving.]
pawnbox has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
milardovich has joined #ruby
testuser1 has quit [Quit: Leaving.]
testuser1 has joined #ruby
testuser1 has quit [Client Quit]
testuser1 has joined #ruby
enterprisey has quit [Remote host closed the connection]
testuser1 has quit [Client Quit]
testuser1 has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
montanonic has joined #ruby
testuser1 has quit [Client Quit]
testuser1 has joined #ruby
testuser1 has quit [Client Quit]
testuser1 has joined #ruby
spenser has quit [Ping timeout: 268 seconds]
testuser1 has quit [Client Quit]
testuser1 has joined #ruby
testuser1 has quit [Client Quit]
_sfiguser has joined #ruby
testuser1 has joined #ruby
testuser1 has quit [Client Quit]
testuser1 has joined #ruby
testuser1 has quit [Client Quit]
nowhereman has joined #ruby
j3r0 has quit [Ping timeout: 250 seconds]
elastix has quit [Quit: Leaving]
spenser has joined #ruby
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Dimik has quit [Ping timeout: 258 seconds]
Jackneill has joined #ruby
Jackneill_ has joined #ruby
tildes has joined #ruby
Jackneill_ has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
armyriad has joined #ruby
milardovich has joined #ruby
Devalo has joined #ruby
agent_white has quit [Ping timeout: 258 seconds]
spenser has quit [Ping timeout: 258 seconds]
jtd has quit [Read error: Connection reset by peer]
g_maeda_ has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 248 seconds]
edwinvdgraaf has joined #ruby
pwnd_nsfw has joined #ruby
walterheck has joined #ruby
Robtop__ has quit [Ping timeout: 256 seconds]
SpiffTR has joined #ruby
spenser has joined #ruby
Mufid has joined #ruby
<Phage> Does anybody have any examples of how to use the SQLite3 module? I can't seem to make much sense of this: http://www.rubydoc.info/gems/sqlite3/1.3.10
bluebell_ has left #ruby [#ruby]
<herwin> (the first hit of google for "ruby sqlite example")
<Phage> Been there
<Phage> But thanks :)
enyo has joined #ruby
kareelee_ has joined #ruby
bronson has joined #ruby
kareelee has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
enyo has quit [Ping timeout: 268 seconds]
bronson has quit [Ping timeout: 260 seconds]
rykou has joined #ruby
kareelee_ has quit [Remote host closed the connection]
kareelee has joined #ruby
beilabs has quit [Ping timeout: 256 seconds]
tildes has quit [Ping timeout: 246 seconds]
charliesome has joined #ruby
bkxd has joined #ruby
bkxd has quit [Client Quit]
<zenspider> Phage: what can't you make sense of?
d0lph1n98 has joined #ruby
<Phage> zenspider: I've been working a decent amount with the Python equivalent of the SQLite3 module and it simply seems easier for me to understand how to structure the code.
<zenspider> tofutoon: no
<Phage> I have no problem with SQL, but only how to manage it through Ruby
<zenspider> Phage: you have yet to describe a problem
brendan- has joined #ruby
pawnbox has quit [Remote host closed the connection]
Kestrel-029 has quit [Read error: Connection reset by peer]
<tofutoon> zenspider: I did it using the modularity gem... but I may soon regret that.
<zenspider> tofutoon: yes, you probably will
<tofutoon> You want to give me odds on regretting it?
<Phage> zenspider: Just trying to figure out how to perform basic CRUD functionality. Eventually, I'd like to end up with something like what I made in Python: https://gist.github.com/TheSavageCoder/1df43d8bde55ed428268cf093e70bad2
<zenspider> tofutoon: yes, you will. 100% :P
<apeiros> >> "#{rand(30..100)}%"
<ruby[bot]> apeiros: # => "43%" (https://eval.in/703885)
<tofutoon> I was thinking more like 1 of 2.
<zenspider> apeiros: hah!
<tofutoon> 43%. I can live with that for now.
beilabs has joined #ruby
<zenspider> Phage: you can see in the doco that you have db.execute... there's also a db.commit. so you aren't missing anything you have in your python code.
<zenspider> again, you have yet to describe a problem
<zenspider> your python code will probably port straight over
<zenspider> I'm getting the distinct impression you haven't started... otherwise you'd have a gist of some ruby code and some sort of error
<apeiros> python's "lets have a string literal as documentation in the method" still weirds me out
<blackbom1> python is for snakes
pawnbox has joined #ruby
edwinvdgraaf has quit [Ping timeout: 246 seconds]
<zenspider> apeiros: I actually like it. means you can get to it via code reflection
<apeiros> I'd prefer code reflection to include comment nodes
<Phage> apeiros: I agree.
Devalo has quit [Remote host closed the connection]
<zenspider> apeiros: as in actual "#" comments? they should be in the AST?
<Phage> zenspider: I guess I'll give it another shot, thanks for listening.
<zenspider> the whole point of comments is that they _aren't_ in the code
<apeiros> in ruby? yes, # and =begin/=end
<apeiros> I disagree
Nicmavr has joined #ruby
Devalo has joined #ruby
<apeiros> the point of comments is that they're not executed
byte512 has joined #ruby
<zenspider> but then we write horrible tools to try to extract and map those comments
Nicmavr is now known as Guest78954
<apeiros> instead of the more horrible tools we have now? :)
nankyokusei has joined #ruby
<zenspider> apeiros: I disagree... if false ... end is not executed... but there's still SYNTAX in the ... section
<zenspider> a comment is NOT code
<apeiros> I mean we already *do* that. see rdoc. see yard.
<zenspider> apeiros: no, I'm complaining about the tools we have now
<apeiros> correct. comment is not code.
<apeiros> but a plain string literal is just dead code. so not really that much of a difference of having either in the AST.
<zenspider> and if we could grab a stupid simple string literal via reflection, we wouldn't need 80% of the crap
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> yes. same if we had comments in the AST.
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest78954 has quit [Read error: Connection reset by peer]
<zenspider> it seems pretty clear to me that we're talking past each other.
d0lph1n98 has quit [Quit: leaving]
Devalo has quit [Ping timeout: 246 seconds]
<apeiros> I think we both agree that parsing out comments (the way we do it now) for documentation is not optimal.
nankyokusei has quit [Ping timeout: 245 seconds]
<zenspider> nope. it totally sucks
<apeiros> I think we just differ on what would be a better solution. you'd like dead string literals and grab those out of the ast.
<apeiros> I'd like comments in the ast and grab those out.
Fernando-Basso has joined #ruby
<zenspider> yup
milardovich has quit [Remote host closed the connection]
<zenspider> having done the comments in the ast thing before... It's too messy to be practical for me
pawnbox has quit [Remote host closed the connection]
<apeiros> I don't see how the extraction part would differ. with dead string literal it'd be a query like "first string child node in a method definition", while with a comment it'd be "comment sibling before method definition"
<apeiros> seems like queries of similar complexity to me
milardovich has joined #ruby
<zenspider> 1 comment sibling? 2 comment siblings? how many? how do you determine what constitutes 1 comment block? what if there is a blank line? what about trailing (to the right) comments? (eg # :nodoc:). etc etc etc... it's messy. very.
<zenspider> vs... a plain string literal
<zenspider> fixed location, size=1
milardovich has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
tubuliferous has quit [Ping timeout: 258 seconds]
pwnd_nsfw has quit [Ping timeout: 264 seconds]
milardovich has joined #ruby
pawnbox has joined #ruby
<apeiros> the same way you make a rule about the string literal (must be one, must be first) you can make rules about doc comment (must be one, no non-comment lines interrupting, before method def)
<apeiros> another alternative I'd prefer over (ab)using string literals: have an actual doc comment syntax
tubuliferous has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
bronson has joined #ruby
Guest55795 has joined #ruby
Guest55795 has quit [Changing host]
Guest55795 has joined #ruby
Guest55795 is now known as Kestrel-029
tofutoon has left #ruby [#ruby]
SpiffTR has quit [Quit: Leaving.]
milardovich has quit [Remote host closed the connection]
triangles has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
milardovich has joined #ruby
blackbom1 has quit [Ping timeout: 258 seconds]
DEac- has quit [Ping timeout: 248 seconds]
tubuliferous has quit [Ping timeout: 265 seconds]
Hink has quit [Ping timeout: 256 seconds]
Devalo has joined #ruby
edwinvdgraaf has joined #ruby
milardovich has quit [Remote host closed the connection]
Hink has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
pwnd_nsfw has joined #ruby
SpiffTR has joined #ruby
jenrzzz has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
enyo has joined #ruby
postmodern has quit [Quit: Leaving]
edwinvdgraaf has quit [Ping timeout: 260 seconds]
enyo has quit [Ping timeout: 250 seconds]
walterheck has quit [Ping timeout: 258 seconds]
skweek has joined #ruby
gizmore has joined #ruby
milardovich has joined #ruby
jyaworski has quit [Remote host closed the connection]
bronson has joined #ruby
SpiffTR has quit [Quit: Leaving.]
pwnd_nsfw` has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
pwnd_nsfw has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
walterheck has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
nankyokusei has joined #ruby
PaulCapestany has quit [Ping timeout: 245 seconds]
milardovich has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 264 seconds]
naprimer_2 is now known as oj_vsyo
matp_ has quit [Remote host closed the connection]
matp has joined #ruby
vuoto has joined #ruby
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
mikecmpbll has joined #ruby
milardovich has joined #ruby
marchelzo has joined #ruby
edwinvdgraaf has joined #ruby
Hyuk has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
sdothum has joined #ruby
Limix has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
Limix has quit [Ping timeout: 248 seconds]
Devalo has joined #ruby
dling` has quit []
jenrzzz has quit [Ping timeout: 250 seconds]
harfangk has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
Ishido has joined #ruby
eizua has quit [Quit: Leaving]
kayla has joined #ruby
<kayla> hey -- i'm trying to learn ruby, but can't get an included file to work -- both files are in the same directory
<kayla> i get kernel_require.rb:55:in `require': cannot load such file
<gizmore> ommit .rb?
<gizmore> typo in filename?
bronson has quit [Ping timeout: 264 seconds]
<kayla> thanks! will check
<kayla> nope -- i try with and without extension -- the filename is spelled correctly
<kayla> (i'm sure i'm doing something noobish)
minimalism has quit [Quit: minimalism]
<kayla> i have two files bar.rb and foo.rb in bar.rb it has require 'foo'; ruby bar.rb produces the error
<kayla> i'm sure i'm missing something
<kayla> doesn't work in irb either --
<herwin> try 'require_relative' instead of 'required'
koldbrutality has quit [Ping timeout: 252 seconds]
<herwin> require looks in the current search paths (you can print them with 'p $:')
<kayla> will do ruby -e 'puts $:' doesn't show my current directory -- is that normal?
<herwin> require_relative tries to load relative to the path of the file
machinewar has joined #ruby
<kayla> that works!
<kayla> but i'm still confused
<machinewar> I'm a bit confused about a gem's Gemfile vs. declaring dependencies in a .gemspec
<kayla> why is my current directory not in loadpaths?
<machinewar> RubyGems says the preferred method is in the gemspec, but most libraries I see have a gemfile with deps in there too
<Phage> Any idea why this doesn't work? https://gist.github.com/TheSavageCoder/d567e8dbdc4a618781018fce5ee0061b When I que the database from the SQLite3 command line with that exact query it works just fine.
meshsmith has joined #ruby
<machinewar> Phage: what's the error?
<Phage> I get no error at all
<Phage> It just executes without output
<Phage> Which is the problem :)
<machinewar> so rows is just an empty array?
<Phage> Yup
<machinewar> Phage: I'd remove the begin/rescue block and see if any errors are raised
synthroid has joined #ruby
<Phage> But it works just fine from the command line
<Phage> machinewar: Let me try that, thanks :)
edwinvdgraaf has quit [Ping timeout: 252 seconds]
<Phage> It's the same without the begin/escue block
<Phage> But it does complain when if I change the table name to something obscure
<machinewar> Phage: okay, and are you opening the same db file in both sqlite3 cli and the ruby script? or are they different directories?
<zenspider> kayla: what they're not telling you is that you could have done `ruby -I.` to include the current directiory in the load path OR, you can simply `require "./bar.rb"`.
<zenspider> kayla: and no, '.' is no longer in the load path by default
<zenspider> (used to be, but it is a bit of a security risk)
<kayla> zenspider: thanks
<kayla> so -- i'll try to run ruby -I.
<Phage> machinewar: Same directory, unless sqlite3 has some default path I don't know about?
synthroi_ has joined #ruby
<zenspider> kayla: you can save some typing by putting this before your requires: `$: << '.'`
<zenspider> hacky, but fine for experiments
<kayla> cool
<machinewar> Phage: nope no default path
<machinewar> let me think
<Phage> I'm running out of ideas :/
vuoto has quit [Remote host closed the connection]
<zenspider> Phage: `/usr/bin/ruby -v`
<Phage> zenspider: ?
<zenspider> run it
meshsmith has quit [Remote host closed the connection]
<zenspider> `/usr/bin/ruby -S gem list | grep sqlite`
<Phage> ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
<zenspider> good
<zenspider> run the above too
<Phage> sqlite3 (1.3.12)
synthroid has quit [Ping timeout: 245 seconds]
<zenspider> also good
<Phage> I installed the gem last night
<Phage> So I would suppose it's the latest
<machinewar> how about db.execute "select name from sqlite_master where type = 'table'"
conta has joined #ruby
<Phage> I gotta run for 5
<Phage> brb
kuSuSE has joined #ruby
montanonic has quit [Ping timeout: 264 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
<marchelzo> can you believe it's christmas eve already
<marchelzo> wow
enyo has joined #ruby
<Phage> marchelzo: [["Quotes"]]
<Phage> machinewar: * Sorry
<Phage> It finds the table just fine
enyo has quit [Ping timeout: 245 seconds]
ruid_ has joined #ruby
TomyLobo has joined #ruby
beanHolez has quit [Remote host closed the connection]
Limix has joined #ruby
tau has quit [Ping timeout: 264 seconds]
jaguarmagenta has joined #ruby
kayla has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
<machinewar> hm very strange
Limix has quit [Ping timeout: 265 seconds]
conta has quit [Ping timeout: 248 seconds]
newbie1 has joined #ruby
jaguarmagenta has quit [Ping timeout: 268 seconds]
<machinewar> what do people usually do for testing api clients? do you just stub every request/response?
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
CorthValira has joined #ruby
triangles has quit [Quit: Leaving]
Devalo has quit [Ping timeout: 246 seconds]
<TomyLobo> i want a parallel version of "each" for ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-cygwin]. Is the "parallel-each" gem still the way to go?
<Papierkorb> machinewar: Either that or use a gem like `vcr` to record requests/responses and play them back later. (Note, I've never used vcr)
<TomyLobo> (unfortunately, ruby 2.3 didnt hit cygwin yet)
bronson has joined #ruby
GodFather has joined #ruby
<marchelzo> build it from source
<marchelzo> worth it
<marchelzo> build 2.4 from source
GodFather has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 264 seconds]
GodFather has joined #ruby
<TomyLobo> i use cygwin cause it's easy and works
<TomyLobo> building it myself would defeat the purpose :)
<machinewar> also I know this is pretty subjective, but do you think a Ruby api client for a json api should just return the parsed JSON, or an abstraction of it?
Ishido has quit [Remote host closed the connection]
shinnya has joined #ruby
<manveru> huh, tk is finally not in stdlib anymore!
<manveru> guess it's time that i dust off ffi-tk :)
anisha has joined #ruby
Devalo has joined #ruby
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
CloCkWeRX has quit [Ping timeout: 268 seconds]
walterheck has quit [Ping timeout: 245 seconds]
Devalo has quit [Remote host closed the connection]
Ishido has joined #ruby
Devalo has joined #ruby
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
<marchelzo> hey
machinewar has quit []
<marchelzo> what are some must-read articles to be a ruby master
<marchelzo> like let's say i know the basics
<marchelzo> but i want to get to the next level
meshsmith has joined #ruby
dionysus69 has joined #ruby
ruid_ has quit [Ping timeout: 258 seconds]
walterheck has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoul_ has joined #ruby
Limix has joined #ruby
houhoulis has joined #ruby
Devalo has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 258 seconds]
Devalo has joined #ruby
Limix has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Devalo has quit [Ping timeout: 246 seconds]
KramerC has quit [Quit: Leaving]
tubuliferous has joined #ruby
edwinvdgraaf has joined #ruby
j3r0 has joined #ruby
KramerC has joined #ruby
vuoto has joined #ruby
pilne has joined #ruby
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
tubuliferous has quit [Ping timeout: 265 seconds]
bronson has joined #ruby
sdothum has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
houhoulis has quit [Remote host closed the connection]
Mike_ has joined #ruby
Mike_ is now known as Skusman
sdothum has quit [Client Quit]
sdothum has joined #ruby
blackbom1 has joined #ruby
lenwood has joined #ruby
TomyLobo has quit [Ping timeout: 260 seconds]
maattdd has joined #ruby
enyo has joined #ruby
Devalo has joined #ruby
enyo has quit [Ping timeout: 258 seconds]
oj_vsyo has quit [Ping timeout: 268 seconds]
Limix has joined #ruby
shinnya has quit [Ping timeout: 246 seconds]
lenwood has quit [Ping timeout: 260 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Limix has quit [Ping timeout: 250 seconds]
sdothum has joined #ruby
CorthValira has quit [Quit: CorthValira]
ptx0 has quit [Ping timeout: 258 seconds]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
dionysus69 has quit [Quit: dionysus69]
Devalo has quit [Ping timeout: 246 seconds]
jeffreylevesque has joined #ruby
phroa has left #ruby ["WeeChat 1.6"]
skweek has quit [Ping timeout: 246 seconds]
nettoweb has joined #ruby
roflmyeggo has joined #ruby
maattdd has quit [Ping timeout: 258 seconds]
maattdd has joined #ruby
bronson has joined #ruby
nettoweb1 has joined #ruby
maattdd has quit [Ping timeout: 258 seconds]
bronson has quit [Ping timeout: 246 seconds]
nettoweb has quit [Ping timeout: 258 seconds]
rippa has quit [Read error: Connection reset by peer]
faces has quit [Read error: Connection reset by peer]
faces has joined #ruby
milardovich has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
edwinvdgraaf has quit [Ping timeout: 256 seconds]
nettoweb1 has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
milardovich has joined #ruby
oj_vsyo has joined #ruby
sdothum has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
Devalo has joined #ruby
MrBusiness2 has quit [Ping timeout: 260 seconds]
anisha has quit [Quit: This computer has gone to sleep]
Devalo has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Devalo has joined #ruby
meshsmith has quit [Remote host closed the connection]
Devalo has quit [Remote host closed the connection]
rippa has joined #ruby
BlueDragons has joined #ruby
Limix has joined #ruby
Devalo has joined #ruby
BlueDragons has quit [Client Quit]
nankyokusei has quit [Ping timeout: 248 seconds]
jaguarmagenta has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
fantazo has joined #ruby
Limix has quit [Ping timeout: 256 seconds]
marchelzo has quit [Ping timeout: 256 seconds]
armando has quit [Ping timeout: 252 seconds]
skweek has joined #ruby
vuoto has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 252 seconds]
izaac_ has quit [Ping timeout: 260 seconds]
jhack has joined #ruby
edwinvdgraaf has joined #ruby
Limix has joined #ruby
izaac has joined #ruby
edwinvdgraaf has quit [Ping timeout: 250 seconds]
walterheck has quit [Ping timeout: 256 seconds]
Limix has quit [Quit: Limix]
skweek has quit [Ping timeout: 256 seconds]
harai_ has joined #ruby
skydiver has joined #ruby
bronson has joined #ruby
enyo has joined #ruby
cisco has joined #ruby
jero_ has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
j3r0 has quit [Ping timeout: 250 seconds]
Rasi has quit [Quit: WeeChat 1.5]
walterheck has joined #ruby
enyo has quit [Ping timeout: 250 seconds]
Rasi has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PaulCapestany has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
vuoto has joined #ruby
shakycode has joined #ruby
jhack has quit [Quit: jhack]
jaguarmagenta has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 260 seconds]
<shakycode> Morning/Evening all. I'm a 4 year Rubyist who really wants to increase my skill set and master the language. I was wondering if anyone had any suggestions on resources that would really help me up my game. I subscribe to Ruby tapas and have several books, but I feel my Ruby is very "intermediate". Any resources or projects that I could dive into would be
<shakycode> greatly appreciated.
jaguarmagenta has joined #ruby
jeffreylevesque has quit [Ping timeout: 256 seconds]
solocshaw has joined #ruby
Limix has joined #ruby
vuoto has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
hotpancakes has joined #ruby
roflmyeggo has quit [Ping timeout: 260 seconds]
jtdoncas has joined #ruby
Limix has quit [Quit: Limix]
JoshS has quit [Ping timeout: 268 seconds]
pwnd_nsfw has joined #ruby
nowhereman has joined #ruby
jtdoncas has quit [Ping timeout: 258 seconds]
pwnd_nsfw` has quit [Ping timeout: 256 seconds]
perniciouscaffei has joined #ruby
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
ptx0 has joined #ruby
kuSuSE has quit [Ping timeout: 268 seconds]
jaguarmagenta has joined #ruby
edwinvdgraaf has joined #ruby
bluOxigen has joined #ruby
enilsen16 has joined #ruby
yardenbar has joined #ruby
blackbom1 has quit [Ping timeout: 256 seconds]
bilal80 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
nowhereman has quit [Ping timeout: 260 seconds]
blackbom1 has joined #ruby
Lord_of_Life has quit [Excess Flood]
Lord_of_Life has joined #ruby
kuSuSE has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
armando has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
arulmagi has joined #ruby
sdothum has joined #ruby
harai_ has quit [Ping timeout: 245 seconds]
dionysus69 has joined #ruby
dionysus69 has quit [Client Quit]
bronson has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
symm- has joined #ruby
milardovich has joined #ruby
bronson has quit [Ping timeout: 245 seconds]
tubuliferous has joined #ruby
symm- has quit [Client Quit]
brent__ has joined #ruby
workmad3 has quit [Client Quit]
montanonic has joined #ruby
infernix has quit [Ping timeout: 258 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
arulmagi has quit [Quit: Leaving]
hotpancakes has joined #ruby
nankyokusei has joined #ruby
Devalo has joined #ruby
scroy has joined #ruby
duderonomy has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
ryan_notabot has quit [Read error: Connection reset by peer]
ryan_notabot has joined #ruby
ryan_notabot has quit [Read error: Connection reset by peer]
bilal80 has quit [Ping timeout: 268 seconds]
ryan_notabot has joined #ruby
yardenbar has quit [Ping timeout: 245 seconds]
koldbrutality has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
ryan_notabot has quit [Read error: Connection reset by peer]
ryan_notabot has joined #ruby
gbgdev has joined #ruby
hotpanca_ has joined #ruby
bilal80 has joined #ruby
hotpancakes has quit [Ping timeout: 250 seconds]
<epitron> shakycode: have you learned all the APIs?
skweek has joined #ruby
dviola has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
spenser has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
spenser has joined #ruby
tubuliferous has quit [Ping timeout: 252 seconds]
hotpancakes has joined #ruby
hotpancakes has quit [Client Quit]
enyo has joined #ruby
hotpanca_ has quit [Ping timeout: 268 seconds]
roflmyeggo has joined #ruby
<shakycode> epitron: no not all of them, I'm researching the API docs daily.
<shakycode> I guess it just takes time. I've spent too much time doing rails and not enough ruby so i'm trying to break away from that pattern
MrBusiness2 has joined #ruby
enyo has quit [Ping timeout: 256 seconds]
infernix has joined #ruby
spenser has quit [Ping timeout: 258 seconds]
roflmyeggo has quit [Ping timeout: 268 seconds]
bronson has joined #ruby
<epitron> I think what's more important is that type of problems you work on
<epitron> That's where the most learning happens
<pilne> try something like sinatra for your next project maybe? or even more from scratch
<epitron> shakycode: have you tried the advent of code?
<shakycode> No i havent, but i'll definitely look into it
<epitron> It's almost over, but you can do them all retroactively
<epitron> This looks educational too: http://aosabook.org/en/index.html
spenser has joined #ruby
<shakycode> Sweet, I'm signing up now and will work on these. Appreciate it, epitron
bronson has quit [Ping timeout: 250 seconds]
jero_ has quit [Quit: Leaving]
skweek has quit [Ping timeout: 250 seconds]
yasm has joined #ruby
<epitron> AOC is mostly about algorithms and speed coding
<epitron> You might want to learn more systems architecture as well
<epitron> Pulling apart and learning how existing systems work is very helpful
<epitron> I did that with stuff when I was younger
edwinvdgraaf has joined #ruby
ruid_ has joined #ruby
yasm has quit [Client Quit]
<epitron> As the AOSA guy points out, "most software developers only ever get to know a handful of large programs well—usually programs they wrote themselves—and never study the great programs of history. As a result, they repeat one another's mistakes rather than building on one another's successes."
<epitron> So, most programs you pull apart are going to be pretty terrible
<epitron> But you'll find the occasional gem that makes you rethink how you do things
Fernando-Basso has quit [Ping timeout: 245 seconds]
Guest21_ has joined #ruby
milardovich has joined #ruby
Guest21_ has quit [Client Quit]
scroy has quit [Quit: scroy]
SpiffTR has joined #ruby
Lord_of_Life has quit [Excess Flood]
Skusman_ has joined #ruby
Skusman has quit [Ping timeout: 250 seconds]
Skusman_ is now known as Skusman
Lord_of_Life has joined #ruby
<brent__> anybody here familiar with Sunspot Solr?
emerson is now known as emiserson
xen0fon has quit [Quit: xen0fon]
SpiffTR has quit [Quit: Leaving.]
Fernando-Basso has joined #ruby
anisha has joined #ruby
gbgdev has quit [Read error: Connection reset by peer]
gbgdev has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
enilsen16 has quit [Quit: enilsen16]
ianmethyst has joined #ruby
tubuliferous has joined #ruby
edwinvdgraaf has quit [Ping timeout: 250 seconds]
yasm has joined #ruby
yasm has quit [Client Quit]
ianmethyst has quit [Client Quit]
scroy has joined #ruby
webopsx has joined #ruby
ianmethyst has joined #ruby
unreal_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ianmethyst has quit [Client Quit]
ianmethyst has joined #ruby
scroy has quit [Client Quit]
unreal has quit [Ping timeout: 260 seconds]
webopsx has quit [Client Quit]
gbgdev has quit [Remote host closed the connection]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
bluOxigen has quit [Read error: Connection reset by peer]
bocaneri has quit [Read error: Connection reset by peer]
chee is now known as Nigel_Tufnet
gnufied has joined #ruby
Nigel_Tufnet is now known as chee
bluOxigen has joined #ruby
chee is now known as Nigel_Tufnel
Nigel_Tufnel is now known as chee
anisha has quit [Quit: This computer has gone to sleep]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
spenser has quit [Ping timeout: 246 seconds]
bilal80 has quit [Remote host closed the connection]
spenser has joined #ruby
walterheck has quit [Ping timeout: 264 seconds]
milardovich has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
polysics has quit [Remote host closed the connection]
xen0fon has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
symm- has joined #ruby
<manveru> brent__: kinda
kuSuSE has quit [Quit: Konversation terminated!]
spenser has quit [Ping timeout: 246 seconds]
<shakycode> epitron: that's a good way of thinking about things. I've only been solving business problems in a few different apps for 4.5 years with rails and ruby... asides from 5-10 personal projects i haven't really torn anyone else's code apart. I'll definitely give this a shot.
<brent__> manveru, I ended up figuring it out, had to reindex :(
<brent__> but i did have another question, more rails related
tubuliferous has quit [Ping timeout: 250 seconds]
<brent__> I was trying to avoid an n+1 query by using includes, however i get an error that 'Association nameed 'name' was not found'
enilsen16 has joined #ruby
<brent__> i believe it's a result as the query is a variety of objects some which don't have this attribute, is there a way around this?
gnufied has quit [Ping timeout: 240 seconds]
<shakycode> brent__ what does your associations and scopes look like?
anisha has joined #ruby
nankyokusei has joined #ruby
<shakycode> if you are including an association that does not exist you can get that association named was not found exception.
<brent__> i have a has_many: scorings, which is what i'm trying to include
<brent__> and thats the 'Association named 'scorings' was not found'
ianmethyst has quit [Quit: WeeChat 1.6]
<brent__> don't have a scope for it
JoshS has joined #ruby
ianmethyst has joined #ruby
meshsmith has joined #ruby
<shakycode> on the other end do you have a belongs_to? if not you may have a broken association, or if potentially the model scorings doesn't exist. but i assume you checked that?
synthroi_ has quit []
<shakycode> Scoring*
nankyokusei has quit [Ping timeout: 250 seconds]
gnufied has joined #ruby
spenser has joined #ruby
ianmethyst has quit [Quit: WeeChat 1.6]
bluOxigen has quit [Ping timeout: 250 seconds]
gnufied has quit [Ping timeout: 258 seconds]
<brent__> its a polymorphic association, but everything seems to be in place
aaooki has joined #ruby
<brent__> if i remove the scorings from the includes it works fine, and then just queries 'scorings on a individual basis
gnufied has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
<brent__> strange, there was a similiar assocation for 'scorers' which seems to work w/ includes. since i only need the count of either assocation, this may work
pwnd_nsfw` has joined #ruby
ianmethyst has joined #ruby
<shakycode> sounds like that's the issue
enyo has joined #ruby
edwinvdgraaf has joined #ruby
ianmethyst has quit [Client Quit]
pwnd_nsfw has quit [Ping timeout: 265 seconds]
spenser has quit [Ping timeout: 258 seconds]
gnufied has quit [Ping timeout: 245 seconds]
meshsmith has quit [Read error: Connection reset by peer]
enyo has quit [Ping timeout: 260 seconds]
edwinvdgraaf has quit [Ping timeout: 250 seconds]
yasm has joined #ruby
yasm has quit [Client Quit]
solocshaw has quit [Ping timeout: 258 seconds]
ryan_notabot has quit [Write error: Broken pipe]
Pisuke has quit [Max SendQ exceeded]
ryan_notabot has joined #ruby
Pisuke has joined #ruby
jaguarmagenta has quit []
handicraftsman has joined #ruby
handicraftsman has left #ruby ["Leaving"]
pwnd_nsfw has joined #ruby
izaac_ has joined #ruby
handicraftsman has joined #ruby
handicraftsman has left #ruby ["Leaving"]
izaac has quit [Ping timeout: 250 seconds]
pwnd_nsfw` has quit [Ping timeout: 246 seconds]
ResidentBiscuit has joined #ruby
spenser has joined #ruby
bronson has joined #ruby
polysics has joined #ruby
d0nn1e has quit [Ping timeout: 268 seconds]
ResidentBiscuit has quit []
bronson has quit [Ping timeout: 250 seconds]
polysics has quit [Ping timeout: 246 seconds]
d0nn1e has joined #ruby
minimalism has joined #ruby
houhoulis has joined #ruby
chouhoulis has joined #ruby
SpiffTR has joined #ruby
roflmyeggo has joined #ruby
aaooki has quit [Quit: Leaving]
meshsmith has joined #ruby
Jackneill has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 268 seconds]
spenser has quit [Ping timeout: 256 seconds]
fantazo has quit [Quit: Verlassend]
pawnbox has quit [Remote host closed the connection]
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 256 seconds]
pawnbox has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
montanonic has joined #ruby
marchelz1 has joined #ruby
f4 has joined #ruby
tubuliferous has joined #ruby
skydiver has quit [Ping timeout: 256 seconds]
tildes has joined #ruby
GodFather has joined #ruby
edwinvdgraaf has joined #ruby
SpiffTR has quit [Quit: Leaving.]
marchelz1 has quit [Quit: WeeChat 1.4]
milardovich has joined #ruby
jeffreylevesque has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
milardovich has joined #ruby
tildes has quit [Ping timeout: 265 seconds]
JoshS has quit [Quit: Leaving]
mikecmpbll has quit [Client Quit]
BrianJ has quit [Ping timeout: 248 seconds]
gbgdev has joined #ruby
houhoulis has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
walterheck has joined #ruby
ianmethyst has joined #ruby
ianmethyst has quit [Client Quit]
SpiffTR has joined #ruby
milardovich has quit [Remote host closed the connection]
perlgod has joined #ruby
milardovich has joined #ruby
perlgod has quit [Client Quit]
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
bronson has joined #ruby
jeffreylevesque has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
polysics has joined #ruby
dviola has quit [Quit: WeeChat 1.6]
doubleemms has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 258 seconds]
symm has joined #ruby
polysics has quit [Read error: Connection reset by peer]
jeffreylevesque has joined #ruby
polysics_ has joined #ruby
symm- has quit [Ping timeout: 245 seconds]
bronson has quit [Ping timeout: 250 seconds]
SpiffTR has quit [Quit: Leaving.]
gbgdev has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 265 seconds]
Vile` has joined #ruby
polysics_ has quit [Ping timeout: 250 seconds]
duban has joined #ruby
<duban> Is it possible to use inline c++ code in ruby?
edwinvdgraaf has quit [Ping timeout: 260 seconds]
elastix has joined #ruby
<epitron> shakycode: oh, I just remembered a very well organized codebase: https://github.com/genodelabs/genode
<epitron> The authors care about their craft
<epitron> The kernels this thing depends on are probably nice too
<epitron> Microkernels and microhypervisors
<epitron> Haven't looked at them yet though
milardovich has joined #ruby
nankyokusei has joined #ruby
Coldblackice has quit [Ping timeout: 264 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
roflmyeggo has quit [Ping timeout: 248 seconds]
herbmillerjr has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
jeffreylevesque has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Coldblackice has joined #ruby
enyo has joined #ruby
sneakerhax has quit [Ping timeout: 258 seconds]
enyo has quit [Ping timeout: 264 seconds]
Mufid has quit [Quit: Leaving]
cisco has quit [Quit: Leaving.]
<bougyman> is there a shorter way to write (1..n).map ?
<Rudolph> that looks pretty short already
herbmillerjr has quit [Quit: Konversation terminated!]
Lord_of_Life has quit [Excess Flood]
duban has quit [Remote host closed the connection]
herbmillerjr has joined #ruby
paramourne has quit [Ping timeout: 245 seconds]
elastix has quit [Quit: Leaving]
Lord_of_Life has joined #ruby
<baweaver> depends on what you want to do
walterheck has quit [Ping timeout: 260 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron> bougyman: [*1..n]
kareelee_ has joined #ruby
<epitron> but yes, what baweaver said )
<epitron> :)
ascarter has quit [Read error: Connection reset by peer]
kareelee has quit [Read error: Connection reset by peer]
ascarter_ has joined #ruby
roflmyeggo has joined #ruby
ResidentBiscuit has joined #ruby
symm has quit [Ping timeout: 252 seconds]
luluapple has quit [Remote host closed the connection]
rakm has joined #ruby
luluapple has joined #ruby
rakm has left #ruby [#ruby]
luluapple has quit [Remote host closed the connection]
luluapple has joined #ruby
ruid_ has quit [Ping timeout: 258 seconds]
walterheck has joined #ruby
Vile` has quit [Ping timeout: 246 seconds]
matp has quit [Remote host closed the connection]
bronson has joined #ruby
matp has joined #ruby
pwnd_nsfw has joined #ruby
hightower3 has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
polysics has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
hightower2 has quit [Ping timeout: 258 seconds]
polysics has quit [Ping timeout: 265 seconds]
f4 has quit [Ping timeout: 265 seconds]
GodFather has quit [Ping timeout: 256 seconds]
walterheck has quit [Ping timeout: 250 seconds]
infernix has quit [Quit: ZNC - http://znc.sourceforge.net]
kuSuSE has joined #ruby
kuSuSE is now known as kus
milardovich has joined #ruby
symm- has joined #ruby
__Yiota has joined #ruby
kus has quit [Client Quit]
yeticry_ has joined #ruby
yeticry has quit [Ping timeout: 258 seconds]
kus has joined #ruby
<zenspider> bougyman / baweaver: not the same thing, so it really depends on what you want outo f it
<zenspider> out of*
spenser has joined #ruby
<zenspider> bougyman: what are you using it for?
kareelee_ has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 264 seconds]
funnel has quit [Remote host closed the connection]
kareelee has joined #ruby
yeticry has joined #ruby
buglessdr has joined #ruby
yeticry_ has quit [Ping timeout: 258 seconds]
yeticry has quit [Read error: Connection reset by peer]
<bougyman> zenspider: code golfing
tubuliferous has joined #ruby
<zenspider> do you need 1 to n or do you need n values?
<bougyman> need 1
infernix has joined #ruby
<zenspider> >> ["n.times", "[*1..n]", "(1..n).map"].map &:length
<ruby[bot]> zenspider: # => [7, 7, 10] (https://eval.in/704008)
<zenspider> >> n=3; [n.times, [*1..n], (1..n).map]
<ruby[bot]> zenspider: # => [#<Enumerator: 3:times>, [1, 2, 3], #<Enumerator: 1..3:map>] (https://eval.in/704009)
walterheck has joined #ruby
spenser has quit [Ping timeout: 252 seconds]
<bougyman> bah, i'm done
<baweaver> what's the exact problem?
<bougyman> feel free to try yourself. 10 hours left
yeticry has joined #ruby
pwnd_nsfw` has joined #ruby
<bougyman> no fucking clue how hogeover30 got 70
<baweaver> Fizzbuzz eh?
spenser has joined #ruby
kareelee has quit [Ping timeout: 264 seconds]
luluapple has quit [Remote host closed the connection]
<baweaver> well, derivative
<bougyman> in 10 hours they'll show the solutions. I'm dying to know
luluapple has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
pwnd_nsfw has quit [Ping timeout: 265 seconds]
GodFather has joined #ruby
yeticry has joined #ruby
spenser has quit [Ping timeout: 246 seconds]
<zenspider> APL and family aren't included? seems unfair in a golf competition
paramourne has joined #ruby
tubuliferous has quit [Ping timeout: 264 seconds]
kareelee has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bougyman> well they don't have Golf, either.
<bougyman> which would probably destroy the perl.
<bougyman> the challenges aren't all golfing
<bougyman> but this one is.
xen0fon has quit [Quit: xen0fon]
kareelee has quit [Ping timeout: 258 seconds]
pwnd_nsfw has joined #ruby
roflmyeggo has quit [Ping timeout: 264 seconds]
pwnd_nsfw` has quit [Ping timeout: 265 seconds]
ResidentBiscuit has quit []
luluapple has left #ruby [#ruby]
spenser has joined #ruby
brent__ has quit [Quit: Connection closed for inactivity]
walterheck has quit [Ping timeout: 264 seconds]
kareelee has joined #ruby
kareelee has quit [Ping timeout: 265 seconds]
Suresh has joined #ruby
tdy has quit [Ping timeout: 258 seconds]
<Suresh> anyone know that i can get started to build ruby projects?
yeticry has quit [Ping timeout: 252 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
yeticry has joined #ruby
enilsen16 has quit [Quit: enilsen16]
kareelee has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.6]
antoniobeyah has joined #ruby
kareelee has quit [Ping timeout: 258 seconds]
<zenspider> Suresh: what are you asking?
<Suresh> build a ruby project
<Suresh> just want to get hands on only
<zenspider> anything in particular?
spenser has quit [Ping timeout: 258 seconds]
<Suresh> haha nope
bronson has joined #ruby
<zenspider> Suresh: then I'm not sure how we can help. you want to work on a "project" but you have no project in mind...