jsullivandigs has quit [Remote host closed the connection]
kitak has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 264 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
toastyne_ has quit [Remote host closed the connection]
toastynerd has joined #ruby-lang
arooni-mobile has joined #ruby-lang
tkuchiki has quit [Read error: Operation timed out]
ledestin has joined #ruby-lang
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
toastynerd has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
jsutt has quit [Ping timeout: 240 seconds]
centrx has joined #ruby-lang
mistym has quit [Remote host closed the connection]
saarinen has joined #ruby-lang
johnny_rugger has joined #ruby-lang
Coincidental has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 240 seconds]
marcdel has joined #ruby-lang
nhmood_ has joined #ruby-lang
drx_ has joined #ruby-lang
CaptainJet has joined #ruby-lang
<drx_>
How to use MySQL without Rails ?
<drx_>
require "mysql" right?
nhmood_ is now known as nhmood
<centrx>
drx_, mysql2 is the better adapter
<drx_>
so require mysql2 ?
<centrx>
right
apeiros has quit [Read error: Connection reset by peer]
<drx_>
super tight thanks!
<drx_>
Does everybody use Rails these days?
<mattyohe>
0_o
<mattyohe>
that's a weird question
sdouglas has quit [Ping timeout: 265 seconds]
<drx_>
Well just curious, seems like all forum posts about MySql/Ruby involve Rails
nisstyre has joined #ruby-lang
<drx_>
its like Ruby has become Rails
apeiros has joined #ruby-lang
devgiant has quit [Quit: Leaving]
<drx_>
So just wondering if anyone has any awesome NON-Rails resources
devgiant has joined #ruby-lang
<centrx>
Depends on what you are looking for
<centrx>
drx_, Usually if you are using a database, you want some kind of ORM or database tool, and the two main ones for Ruby are ActiveRecord (which is a component of Rails) and Sequel
<drx_>
I'm curious if there is a MySQL adapter which lets you use the merge() method of ruby to just dump random objects into a db and see if they stick..
<drx_>
oooh Sequel , peeping it out
sdouglas has joined #ruby-lang
vpretzel has joined #ruby-lang
mr-foobar has joined #ruby-lang
<centrx>
"dump random objects into a db and see if they stick" - sounds scientific
jsutt has joined #ruby-lang
<drx_>
hahahahah yeah totally
<drx_>
I would like to make mySql behave like Mongo and just black-hole incoming values with no corresponding fields , basically pluck only the valid values
<drx_>
basically a merge method()
mr-foobar has quit [Ping timeout: 252 seconds]
<drx_>
Whats dyld ?
tkuchiki_ has joined #ruby-lang
mykoweb has joined #ruby-lang
thmzlt has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 265 seconds]
yubrew has joined #ruby-lang
lutfidemirci has quit [Read error: Connection reset by peer]
lutfidemirci has joined #ruby-lang
tils` has joined #ruby-lang
toastynerd has joined #ruby-lang
kalehv has joined #ruby-lang
yubrew has quit [Ping timeout: 265 seconds]
esad has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<drx_>
ideas? : " dyld: lazy symbol binding failed: Symbol not found: _mysql_get_client_info
<drx_>
when attempting require "mysql2"
tils has quit [Ping timeout: 240 seconds]
<centrx>
drx_, Is the gem installed?
kalehv has quit [Ping timeout: 240 seconds]
chouhoul_ has joined #ruby-lang
bantic has quit [Quit: bantic]
saarinen has quit [Quit: saarinen]
<drx_>
mysql2 (0.3.15)
<drx_>
yep
<drx_>
Its installed when I do gem list
<centrx>
drx_, Search for that error message online?
<drx_>
yeah I did
<drx_>
I already tried a bunch of things like installing 64 bit version etc.
chouhoulis has quit [Ping timeout: 240 seconds]
sdouglas has quit [Remote host closed the connection]
<centrx>
drx_, Do you have the mysql client library installed?
<centrx>
drx_, I guess it can't find it
mistym has joined #ruby-lang
<centrx>
drx_, Update the package?
iliketurtles has joined #ruby-lang
<drx_>
mysql client library ?
<drx_>
you're not referring to the actual mysql instance right?
<drx_>
thats running for sure , I'm connected to it with SequelPro
<centrx>
drx_, That's the server
<drx_>
ok, what are you referring to?
<drx_>
i installed the gem
<centrx>
drx_, For example, on my system there are probably two packages required to compile and use the mysql2 gem: libmysqlclient-dev - MySQL database development files and libmysqlclient18 - MySQL database client library
<centrx>
drx_, I don't know if your gem was somehow able to compile without a necessary part installed
<centrx>
drx_, But it looks like the system, or dyld, is not able to find the right library, the library that contains the function _mysql_get_client_info
<drx_>
but the gem manager usually handles dependencies right?
<drx_>
installing dependencies for libs like mysql2
<centrx>
drx_, Not those kind of dependencies no. However, I would expect that mysql2 gem would have failed compiling/installing if the necessary system libraries were not installed.
<drx_>
yeah its in there when I gem list
<centrx>
drx_, Okay, try asking in #ruby there might be someone in there who knows OS X better
<drx_>
right on , thanks!
lutfidemirci has quit [Remote host closed the connection]
Barrin6 has quit [Quit: Leaving]
eugmill has quit [Remote host closed the connection]
mykoweb has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
michaeldeol has joined #ruby-lang
nathanso_ has quit [Ping timeout: 264 seconds]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
francisfish has joined #ruby-lang
saarinen has joined #ruby-lang
anannie has quit [Quit: Leaving...]
dynamism has joined #ruby-lang
francisfish has quit [Ping timeout: 252 seconds]
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
khaase has quit [Remote host closed the connection]
khaase has joined #ruby-lang
johnny_rugger has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mykoweb has joined #ruby-lang
kalehv has joined #ruby-lang
khaase has quit [Ping timeout: 265 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Ping timeout: 240 seconds]
mehlah has quit [Quit: Leaving...]
toastynerd has quit [Remote host closed the connection]
chouhoul_ has quit [Remote host closed the connection]
dynamism has quit [Quit: dynamism]
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has joined #ruby-lang
marcdel has quit []
charliesome has joined #ruby-lang
devgiant has quit [Quit: Leaving]
iliketur_ has joined #ruby-lang
bradcliffe has joined #ruby-lang
arooni-mobile has joined #ruby-lang
shinnya has joined #ruby-lang
michaeldeol has quit [Client Quit]
akahn has joined #ruby-lang
Cakey has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
arooni-mobile has quit [Read error: Connection reset by peer]
iliketurtles has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 244 seconds]
arooni-mobile has joined #ruby-lang
charliesome has quit [Ping timeout: 240 seconds]
toretore has quit [Quit: This computer has gone to sleep]
jhass is now known as jhass|off
cored has quit [Ping timeout: 265 seconds]
sdouglas has joined #ruby-lang
mykoweb has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 244 seconds]
mykoweb has quit [Remote host closed the connection]
stealthtwr has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
thmzlt has quit []
tylersmith has joined #ruby-lang
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
khaase has joined #ruby-lang
alexju has quit [Remote host closed the connection]
Coincidental has quit [Remote host closed the connection]
tkuchiki_ has quit [Read error: Operation timed out]
nisstyre has quit [Ping timeout: 244 seconds]
srawlins has joined #ruby-lang
polydius has joined #ruby-lang
mr-foobar has joined #ruby-lang
srawlins has quit [Read error: Connection reset by peer]
srawlins has joined #ruby-lang
srawlins has quit [Changing host]
srawlins has joined #ruby-lang
Coincidental has joined #ruby-lang
mr-foobar has quit [Ping timeout: 252 seconds]
knu has quit [Ping timeout: 252 seconds]
srawlins has quit [Client Quit]
nisstyre has joined #ruby-lang
arooni-mobile has quit [Quit: Leaving]
knu has joined #ruby-lang
arooni-mobile has joined #ruby-lang
khaase has joined #ruby-lang
kalehv has joined #ruby-lang
justinmcp has quit [Read error: Operation timed out]
khaase has quit [Read error: Operation timed out]
justinmcp has joined #ruby-lang
stardiviner has joined #ruby-lang
yubrew has joined #ruby-lang
daturkel has joined #ruby-lang
<daturkel>
here's a question. sometimes I want to slice multiple substrings out of a string, but since String.slice! returns the part i removed, i can't chain together multiple slice!'s
<daturkel>
is there a reason that String.slice! returns the thing i removed, but not the thing that's left?
<daturkel>
e.g. a = "my string"; a.slice!("s") # => "s"; a # => "my tring"
<centrx>
Do you know what the ! means
<daturkel>
it means it changes the value of a
<centrx>
So there is a function with the same name without the ! that is chainable
<daturkel>
not so far as i can tell, String.slice also returns the removed substring
<centrx>
Use sub or gsub
<daturkel>
a = "abc"; a.slice("a").slice("b") # => nil
<centrx>
slice is for slicing
yubrew has quit [Ping timeout: 240 seconds]
srawlins has joined #ruby-lang
srawlins has joined #ruby-lang
srawlins has quit [Changing host]
<daturkel>
i guess i just don't see how the return value of slice or slice! could ever be practical, or how slice without the bang is practical in general (it doesn't change the variable, and you can't use it to assign a new variable to the new string either)
<bnagy>
daturkel: you're just misunderstanding the semantics
<bnagy>
slice is not about removing things, it's about giving you a reference to a section of a string
<bnagy>
so you can change it, remove it, add to it... whatever
Lewix has quit [Remote host closed the connection]
<daturkel>
bnagy: that makes sense, especially with index arguments, but then what's the point of supplying an actual string as an argument to slice?
<daturkel>
just determining if the substring is contained at all?
rahul_j has quit [Quit: rahul_j]
<centrx>
daturkel, Usually it is a regex
<centrx>
but also Returns nil if the regular expression does not match or the match string cannot be found.
<bnagy>
hm actually I am high apparently
<daturkel>
so is there any difference between a.slice("some string") and a.includes?("some string") ?
<bnagy>
the [] slice notation does that, #slice gives you a new string
sdouglas has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
|jemc| has quit [Read error: Operation timed out]
sdouglas has quit [Ping timeout: 240 seconds]
arooni-mobile has quit [Ping timeout: 264 seconds]
<The_NetZ>
hmm. perhaps I should build from the repo, then...
<The_NetZ>
so, I've seen github.com/ruby/ruby, and I just read about an svn repo, so tell me, what is the officially used source code management for ruby?
mistym has joined #ruby-lang
<imperator2>
svn as far as i know
<The_NetZ>
=_= I hate svn
<imperator2>
so does everyone else
<imperator2>
don't ask me man
<The_NetZ>
XD
mistym has quit [Remote host closed the connection]
<imperator2>
i gave up on svn when i couldn't figure out the 12-step process to getting an svn repo started
<imperator2>
i went straight from cvs to git, effectively
tbuehlmann has joined #ruby-lang
mr-foobar has joined #ruby-lang
tonni has quit [Ping timeout: 240 seconds]
<The_NetZ>
git's so damned simple and easy, lol.
<The_NetZ>
plus, I can use find to locate stuffs without worrying about the dups in the .svn folder
saarinen has quit [Quit: saarinen]
<The_NetZ>
I went straight to git, lol. I've never used another scm with the exception of using svn to checkout some stuff.
<imperator2>
right, i use it when forced, but that's it
<imperator2>
i've had to deal with clearcase and sourcesafe at some point in my career
<imperator2>
but not for a long, long time
amclain has quit [Quit: Leaving]
tonni has joined #ruby-lang
yubrew has joined #ruby-lang
marcofernandez has joined #ruby-lang
khaase has joined #ruby-lang
khaase has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
tonni has quit [Read error: Connection reset by peer]
marcofernandez has quit [Ping timeout: 240 seconds]
khaase has quit [Ping timeout: 240 seconds]
sdouglas has joined #ruby-lang
marcofernandez has joined #ruby-lang
apeiros has joined #ruby-lang
imperator2 has quit [Ping timeout: 252 seconds]
sdouglas has quit [Ping timeout: 265 seconds]
nisstyre has quit [Quit: WeeChat 0.4.3]
tonni has joined #ruby-lang
francisfish has joined #ruby-lang
francisfish has quit [Ping timeout: 240 seconds]
jhass|off is now known as jhass
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vondruch has joined #ruby-lang
relix has joined #ruby-lang
drx_ has quit [Ping timeout: 240 seconds]
solars has joined #ruby-lang
tonni has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
[spoiler] has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
DouweM has quit [Ping timeout: 265 seconds]
riffraff has joined #ruby-lang
francisfish has quit [Ping timeout: 244 seconds]
[spoiler] has quit [Quit: Leaving]
yubrew has joined #ruby-lang
drx_ has joined #ruby-lang
[spoiler] has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
mehlah has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
tonni has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
dc5ala has joined #ruby-lang
rahul_j has joined #ruby-lang
futilegames has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
joonty has quit [Quit: WeeChat 0.4.2]
mechan1c_ has quit [Ping timeout: 264 seconds]
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
mechan1c_ has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
[spoiler] has joined #ruby-lang
joonty has joined #ruby-lang
mechan1c_ has quit [Read error: Connection reset by peer]
mr-foobar has quit [Remote host closed the connection]
mr-foobar has joined #ruby-lang
jsrn has joined #ruby-lang
mr-foobar has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby-lang
mechan1c_ has joined #ruby-lang
postmodern has quit [Quit: Leaving]
mr-foobar has joined #ruby-lang
michd is now known as MichD
Cakey has quit [Ping timeout: 244 seconds]
heftig has joined #ruby-lang
ikrima has quit [Ping timeout: 240 seconds]
arBmind has joined #ruby-lang
yubrew has joined #ruby-lang
francisfish has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
elia has joined #ruby-lang
khaase has joined #ruby-lang
<ljarvis>
moin
<yorickpeterse>
morning
<yorickpeterse>
From: OkCupd Subject: You
<yorickpeterse>
* You're hot
<yorickpeterse>
well thank you OkCupid
<yorickpeterse>
but I already knew that
anannie has joined #ruby-lang
anannie has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
My_Hearing has joined #ruby-lang
ikrima has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby-lang
MichD is now known as michd
hhatch has joined #ruby-lang
Fushi_ has joined #ruby-lang
jxport has joined #ruby-lang
<jxport>
user.qualifies_for_free_sandwich? # I feel that this violates Single Responsibility Principle. How should this be structured?
<jxport>
FreeSandwichQualifier.check(user) # Separates free sandwich qualification logic from user logic. Is this the most idiomatic Ruby possible?
kitak_ has joined #ruby-lang
tobiasvl has joined #ruby-lang
michd is now known as MichD
<yorickpeterse>
Why would that violate SRP?
<yorickpeterse>
You are very fundamentally checking something on a User thing. The actual method might call some other class (if the logic needs that)
<yorickpeterse>
if a sandwich qualification is based on a complex algorithm and the alignment of Venus with the sun then yes, you might want to put that in a separate class
kitak has quit [Ping timeout: 260 seconds]
Squarepy has joined #ruby-lang
alexju has quit [Remote host closed the connection]
<jxport>
yorickpeterse: let's say the logic to check involves checking user.id against a DB. If User's responsibility is to represent a user, and also check if that particular user qualifies for free sandwiches from a DB - it seems as though there are 2 responsibilities here
<jxport>
A domain object and business logic specific to sandwich qualification
<yorickpeterse>
domain and business logic are the same thing
<yorickpeterse>
either way
<yorickpeterse>
There's nothing wrong with putting that method in the User class. Yes, it represents a User but it's not just a dumb storage container that happens to contains the values of a DB record
<yorickpeterse>
That's basically just using classes as C structs
<yorickpeterse>
Whatever the underlying method does doesn't matter to the caller, if I want to check if a User can do X then I'd expect a method on the User class
<yorickpeterse>
If that method in turn uses 1500 other classes, then so be it
<yorickpeterse>
But using a separate class just to check an attribute on another class is bullshit
<yorickpeterse>
It's no easier to test, doesn't make it easier to write and in fact it will make things more confusing
skade has joined #ruby-lang
<jxport>
yorickpeterse: apparently my train of thought is of the "AnemicDomainModel" anti-pattern :)
<yorickpeterse>
tl;dr if some method does something complex that you'll end up re-using, put it in a class
<yorickpeterse>
or if it's a PITA to test
<jxport>
"The anemic domain model is really just a procedural style design" <- yes, it was exactly this feel that made me question it
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse>
The confusion is not surprising, too many folks sadly think that good OO == lots of fucking classes
mr-foobar has quit [Remote host closed the connection]
<yorickpeterse>
Really the rule should be 1) can I test this crap 2) does it do that one thing it's supposed to do?
<yorickpeterse>
I'll have to be careful not to start an OO rant :P
mr-foobar has joined #ruby-lang
<jxport>
yorickpeterse: if there was to be 10 other qualifiers of a similar nature, do you believe they should exist in a Qualifier class?
mr-foobar has quit [Ping timeout: 240 seconds]
<jxport>
I'd still feel that procedural, like Qualifier.free_sandwiches?(user) -- although I'm not sure if having 10 qualifiers in a user class along with whatever other stuff is a good idea, either
<yorickpeterse>
That depends on the underlying complexity
<yorickpeterse>
if you're just checking DB fields, no
<jxport>
Okay, great
<yorickpeterse>
Also, if you have to use a class I would do something like
<yorickpeterse>
qual = Qualifier.new(user); qual.free_sandwiches?
<jxport>
yorickpeterse: that does feel more right, to be honest, even if more redundant
kalleth_ is now known as kalleth
<yorickpeterse>
since they would operate on the same object you might as well only pass it in once
<yorickpeterse>
instead of for every method call
<jxport>
Oh, sorry - yes, now there's multiple methods
<jxport>
Thanks, you've been a great help
<jxport>
yorickpeterse++
<yorickpeterse>
np
<jxport>
(I'm in that tricky space where my ways of thinking are changing, and I'm oscillating between dumb & smart)
<yorickpeterse>
write them down
<yorickpeterse>
That is, use old-school pen and paper
<yorickpeterse>
I've found that writing things down seriously combats the dumb
<yorickpeterse>
especially on Fridays
<jxport>
hehe
tils` is now known as tils
devgiant has joined #ruby-lang
anannie has quit [Remote host closed the connection]
leandros1 has quit [Quit: WeeChat 0.4.3]
sdouglas has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mr-foobar has joined #ruby-lang
jperry2 has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
jperry has quit [Write error: Connection reset by peer]
goatish_mound has joined #ruby-lang
matled has quit [Remote host closed the connection]
jperry2 is now known as jperry
matled- has joined #ruby-lang
matled- is now known as matled
<The_NetZ>
yorickpeterse: heh, I just bookmark everything XD
Cakey has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 265 seconds]
<yorickpeterse>
What I mean is, write things down when unsure/designing things
rsl has quit [Ping timeout: 264 seconds]
<yorickpeterse>
e.g. I have a pile of sketchbooks full with random code crap because it helps me a lot
<yorickpeterse>
also a nice way to improve your handwriting
<The_NetZ>
yeah no. no way in hell am I entrusting anything as important as code to my chickenscratch
<yorickpeterse>
chickenscratch?
<The_NetZ>
piss-poor handwriting
vlad_starkov has joined #ruby-lang
<yorickpeterse>
Then go improve it
<yorickpeterse>
only way to do that is to actually write
<yorickpeterse>
I still need to work on my left hand writing, it's teh suck
Squarepy has quit [Quit: Leaving]
canton7 has quit [Remote host closed the connection]
canton7 has joined #ruby-lang
Cakey has quit [Ping timeout: 265 seconds]
Cakey has joined #ruby-lang
<The_NetZ>
bah
mehlah has quit [Quit: Leaving...]
<maloik>
you're righthanded but write left?
<maloik>
... why ?
<yorickpeterse>
No, I'm righthanded and write right
<yorickpeterse>
but I want to be able to write with both
<maloik>
why on earth would you write left
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse>
Because if I ever cut off my right arm it's nice actually being able to write
<yorickpeterse>
or to use a mouse
<yorickpeterse>
or basically do anything at all
<maloik>
ahh yes, occupational hazard of a programmer
<maloik>
makes sense
<yorickpeterse>
hey I handle sharp paper at times
<maloik>
lmao
<yorickpeterse>
it's also something I just want to because I can
vlad_starkov has joined #ruby-lang
<yorickpeterse>
it's on the list of "Neat things to do"
<maloik>
tbh it's more about the writing down than the 'being able to read later'
<maloik>
im sure you can figure it out for the first couple hours or days after you wrote something
<maloik>
my handwriting is terrible as well
<yorickpeterse>
My handwriting has improved quite a bit over the past year or so
<yorickpeterse>
I really need to get better pens though
<maloik>
hell, my signature looks like it was made by a 10 year old (it was... 16 years ago) and I can't reproduce it properly :D
surrounder has joined #ruby-lang
<yorickpeterse>
Mine is just "Ypeterse" with a super fancy Y
<yorickpeterse>
Perhaps I should change it to a QR code
mikecmpbll has joined #ruby-lang
<yorickpeterse>
ok that's it, this week I'm writing left handed
<yorickpeterse>
next week I'll hate myself for it but w/e
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
yubrew has joined #ruby-lang
chouhoulis has joined #ruby-lang
<gnufied>
hmm, so we are talking handwritings today
<yorickpeterse>
would you rather have me discuss Mongo?
vlad_starkov has quit [Ping timeout: 264 seconds]
<workmad3>
yorickpeterse: I <3 Mongo, it's an awsum db!!!
<yorickpeterse>
I swear to god if you're not joking
<workmad3>
oh crap... gave myself away there, I used punctuation other than a '!'...
yubrew has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
<workmad3>
yorickpeterse: :D
vlad_starkov has joined #ruby-lang
futilegames has quit [Quit: futilegames]
<yorickpeterse>
I need to get one of those inflatable bats and hit people with it every time they say Mongo is a good idea
anannie has quit [Remote host closed the connection]
omegahm has quit [Ping timeout: 245 seconds]
futilegames has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
phansch has joined #ruby-lang
rahul_j has joined #ruby-lang
<workmad3>
yorickpeterse: s/inflatable bat/steel bar
<yorickpeterse>
hey no need to get so violent now
My_Hearing is now known as Mon_Ouie
<workmad3>
violence is like XML... if it's not working, you're not using enough of it!
<yorickpeterse>
I never understood that quote
<yorickpeterse>
it implies violence is good, though perhaps I'm being too literal here
tkuchiki has quit [Remote host closed the connection]
dynamism has joined #ruby-lang
[spoiler] has quit [Remote host closed the connection]
rahul_j has quit [Ping timeout: 240 seconds]
[spoiler] has joined #ruby-lang
rahul_j_ has joined #ruby-lang
<workmad3>
yorickpeterse: I've always understood it as a mockingly literal quote about how people tend to use violence (if it's not working, try more violence)
yalue has joined #ruby-lang
omegahm has joined #ruby-lang
<yorickpeterse>
hm
vlad_sta_ has joined #ruby-lang
benlovell has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
mehlah has joined #ruby-lang
d4rkr4i has joined #ruby-lang
rahul_j_ has quit [Read error: Connection reset by peer]
ruby-lang958 has joined #ruby-lang
DouweM has joined #ruby-lang
ruby-lang958 has left #ruby-lang [#ruby-lang]
rahul_j has joined #ruby-lang
ikrima has quit [Ping timeout: 265 seconds]
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
dynamism has quit [Quit: dynamism]
chouhoulis has joined #ruby-lang
mrgrieves has joined #ruby-lang
<mrgrieves>
hello, I have a url that when opened in a browser presents a list of links to zip files. What'd be the best way to parse this list using ruby?
esad has joined #ruby-lang
dynamism has joined #ruby-lang
yubrew has joined #ruby-lang
dynamism has quit [Client Quit]
Tn6o has joined #ruby-lang
esad has quit [Ping timeout: 264 seconds]
anannie has joined #ruby-lang
anannie has quit [Changing host]
anannie has joined #ruby-lang
symm- has joined #ruby-lang
yubrew has quit [Ping timeout: 240 seconds]
<The_NetZ>
mrgrieves: nokogiri, more than likely.
kitak_ has quit [Remote host closed the connection]
<The_NetZ>
though I'd personally just pipe the page source through some sed, grep, and awk in a totally ugly and inefficient way.
vlad_sta_ has quit [Remote host closed the connection]
dynamism has joined #ruby-lang
anannie has quit [Ping timeout: 244 seconds]
vlad_starkov has joined #ruby-lang
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
<mrgrieves>
The_NetZ: Thanks! currently looking at Net::HTTP.get(uri) and then split the result and manipulate the array but going to check nokogiri
Cakey has quit [Ping timeout: 264 seconds]
dynamism has quit [Ping timeout: 244 seconds]
Cakey has joined #ruby-lang
d4rkr4i has quit [Ping timeout: 252 seconds]
d4rkr4i has joined #ruby-lang
futilegames has quit [Quit: futilegames]
Cakey has quit [Ping timeout: 240 seconds]
Cakey has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 265 seconds]
<The_NetZ>
mrgrieves: no prob. tbh I just use Downloadthemall plugin in firefox for easy use XD
futilegames has joined #ruby-lang
jperry has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
jperry has joined #ruby-lang
Cakey has quit [Remote host closed the connection]
jperry is now known as Guest42686
Cakey has joined #ruby-lang
Thanatermesis has joined #ruby-lang
cored has quit [Quit: leaving]
smashwilson has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
<maloik>
why would you want to download a mall ?
Mon_Ouie has quit [Ping timeout: 244 seconds]
toretore has joined #ruby-lang
alexju has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
jgpawletko has joined #ruby-lang
yubrew has joined #ruby-lang
<The_NetZ>
download them all
rahul_j has joined #ruby-lang
<ddfreyne>
Download all the m... nevermind.
symm- has quit [Ping timeout: 244 seconds]
<maloik>
just trolling ;)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has joined #ruby-lang
<mrgrieves>
I have the following string "20140310-11-38-41-1.0.36.502.zip</a><br>" how can I extract the "1.0.36.502" portion of the string bearing in mind that I can have up to 4 digits on each portion separated by dots
<mrgrieves>
?
charliesome has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
phansch has quit [Quit: WeeChat 0.4.2]
mr-foobar has quit [Remote host closed the connection]
eugmill has quit [Remote host closed the connection]
dynamism has quit [Ping timeout: 240 seconds]
eugmill has joined #ruby-lang
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
tylersmith has joined #ruby-lang
wm|lunch is now known as workmad3
<Yggdrasil_>
!
keolo has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
anannie has joined #ruby-lang
anannie has joined #ruby-lang
anannie has quit [Changing host]
charliesome has joined #ruby-lang
mr-foobar has joined #ruby-lang
Yggdrasil_ has quit [Quit: Page closed]
charliesome has quit [Ping timeout: 264 seconds]
mr-foobar has quit [Ping timeout: 244 seconds]
mytrile has joined #ruby-lang
chouhoulis has joined #ruby-lang
shtirlic_ has joined #ruby-lang
toastynerd has joined #ruby-lang
antonishen has quit [Ping timeout: 265 seconds]
shtirlic has quit [Ping timeout: 265 seconds]
ConstantineXVI has quit [Ping timeout: 265 seconds]
MindfulMonk has quit [Ping timeout: 265 seconds]
tobiasvl has quit [Ping timeout: 265 seconds]
GaelanAintAround has quit [Ping timeout: 265 seconds]
priodev has joined #ruby-lang
tvl has joined #ruby-lang
tvl is now known as tobiasvl
chouhoul_ has quit [Remote host closed the connection]
gianlucadv has quit [Ping timeout: 265 seconds]
tdy has quit [Ping timeout: 265 seconds]
nifoc has quit [Ping timeout: 265 seconds]
MindfulMonk has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
sdouglas has joined #ruby-lang
gianlucadv has joined #ruby-lang
nifoc has joined #ruby-lang
mistym has joined #ruby-lang
vondruch has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
GaelanAintAround has joined #ruby-lang
vondruch has joined #ruby-lang
vondruch has quit [Changing host]
vondruch has joined #ruby-lang
antonishen has joined #ruby-lang
yubrew has quit [Ping timeout: 244 seconds]
antonishen has quit [Changing host]
antonishen has joined #ruby-lang
d4rkr4i has quit [Quit: Leaving.]
centrx has joined #ruby-lang
srawlins1 has quit [Quit: Leaving.]
robmiller1 has joined #ruby-lang
shinnya has joined #ruby-lang
robmiller2 has joined #ruby-lang
robmiller1 has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
robmiller has quit [Ping timeout: 240 seconds]
thmzlt has quit []
phansch has quit [Quit: WeeChat 0.4.2]
Cakey has quit [Ping timeout: 240 seconds]
keolo has quit [Quit: keolo]
dwknoxy has joined #ruby-lang
senj has joined #ruby-lang
mr-foobar has joined #ruby-lang
heftig has quit [Read error: Operation timed out]
malev_ has quit [Quit: Hasta la vista!]
araujo has joined #ruby-lang
malev has joined #ruby-lang
jsullivandigs has joined #ruby-lang
dynamism has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
johnny_rugger has joined #ruby-lang
jds has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
<jds>
I have a URL that might or might not have a querystring, and I'd like to add more query params. Can anyone suggest anything less ugly than "url + (url.index('?') ? '&' : '?') + query.to_param" ?
havenwood has joined #ruby-lang
toastynerd has quit [Read error: Connection reset by peer]
<darix>
jds: use the URI parser lib maybe?
retro|cz has quit [Remote host closed the connection]
Johz has joined #ruby-lang
havenwood has quit [Ping timeout: 240 seconds]
vpretzel has quit [Ping timeout: 265 seconds]
vpretzel has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
alexju has quit [Remote host closed the connection]
ledestin has quit [Ping timeout: 240 seconds]
dynamism has quit [Ping timeout: 265 seconds]
mytrile has joined #ruby-lang
seanlinsley has joined #ruby-lang
omegahm has quit [Write error: Connection reset by peer]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdouglas has quit [Remote host closed the connection]
tbuehlmann has quit [Quit: Leaving]
charliesome has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
vpretzel has quit [Read error: Connection reset by peer]
lutfidemirci has joined #ruby-lang
sdouglas_ has joined #ruby-lang
vpretzel has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
yubrew has joined #ruby-lang
charliesome has quit [Ping timeout: 240 seconds]
mistym_ has joined #ruby-lang
jperry has joined #ruby-lang
johnny_rugger has joined #ruby-lang
yubrew has quit [Ping timeout: 244 seconds]
mistym has quit [Ping timeout: 265 seconds]
sdouglas_ has quit [Remote host closed the connection]
jperry has quit [Quit: jperry]
sdouglas has joined #ruby-lang
havenwood has joined #ruby-lang
ledestin has joined #ruby-lang
mykoweb has quit [Remote host closed the connection]
mykoweb has joined #ruby-lang
sdouglas has quit [Ping timeout: 265 seconds]
mykoweb has quit [Remote host closed the connection]
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
havenwood has joined #ruby-lang
eugmill has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
tylersmith has quit [Ping timeout: 240 seconds]
Joel has joined #ruby-lang
saarinen has joined #ruby-lang
Joel is now known as Guest63246
manveru_ is now known as manveru
toastynerd has joined #ruby-lang
phansch has joined #ruby-lang
saarinen has quit [Ping timeout: 240 seconds]
tbuehlmann has joined #ruby-lang
|jemc| has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
Guest63246 has quit []
alexju has joined #ruby-lang
alexju has quit [Read error: Connection reset by peer]
alexju_ has joined #ruby-lang
dwknoxy is now known as dknox-doctors
mytrile has quit [Remote host closed the connection]
bjh13 has joined #ruby-lang
d4rkr4i has joined #ruby-lang
bahar has quit [Ping timeout: 264 seconds]
vpretzel_ has joined #ruby-lang
n00b has joined #ruby-lang
vpretzel has quit [Read error: Connection reset by peer]
n00b is now known as Guest22517
<Guest22517>
Howdy folks
jgpawletko has joined #ruby-lang
michaeldeol has joined #ruby-lang
amsi has joined #ruby-lang
<havenwood>
good morning
omegahm has joined #ruby-lang
eugmill has joined #ruby-lang
vpretzel_ has quit [Client Quit]
<jhass>
jds: use URI from stdlib
<Guest22517>
Hi, I would really appreciate some help, I am trying to write my first ruby gem and had some question about that. Would somebody with that experience help me with that please?
<centrx>
Guest22517, Please change your nick to something unique/legible with /nick <new nick>
seanlinsley has quit [Quit: seanlinsley]
<Guest22517>
@centrx , I tried, didnt work, how do it go about doing that?
<jhass>
Guest22517: I think what you're really asking is how to write a extension gem for rails. #RubyOnRails might be more experienced in that (Note to join that server you need to be identified, /msg NickServ help)
<centrx>
s/server/channel
<jhass>
er, yeah, silly me
<centrx>
s/silly/awesome
seanlinsley has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
shinnya has quit [Ping timeout: 240 seconds]
specialblend has joined #ruby-lang
bahar has quit [Read error: Operation timed out]
Guest22517 has quit [Quit: Page closed]
rahul_j has joined #ruby-lang
bahar has joined #ruby-lang
senj has quit [Quit: Sleep Now]
senj has joined #ruby-lang
__butch__ has joined #ruby-lang
charliesome has joined #ruby-lang
symm- has joined #ruby-lang
apeiros has quit [Ping timeout: 265 seconds]
brettweavnet has joined #ruby-lang
charliesome has quit [Ping timeout: 265 seconds]
sdouglas has quit [Remote host closed the connection]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
andy4thehuynh has joined #ruby-lang
leandrosnunes has joined #ruby-lang
devgiant_ has joined #ruby-lang
<andy4thehuynh>
Sinatra Question..
<andy4thehuynh>
How do you access a params variable from a route you're not on?
<andy4thehuynh>
do you save it as a global?
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
leandros1 has joined #ruby-lang
<centrx>
andy4thehuynh, Try in #ruby
tdy has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
<andy4thehuynh>
thanks
<andy4thehuynh>
thanks centrx *
andy4thehuynh has left #ruby-lang [#ruby-lang]
andy4thehuynh has joined #ruby-lang
andy4thehuynh has quit [Client Quit]
leandrosnunes has quit [Ping timeout: 244 seconds]
sdouglas has joined #ruby-lang
<yorickpeterse>
eh, what's wrong with asking that here?
<yorickpeterse>
#ruby-lang not cool enough?
devgiant has quit [Ping timeout: 265 seconds]
<yorickpeterse>
better channel would be #sinatra actually if it exists
DouweM has quit [Read error: Connection timed out]
<workmad3>
someperson: I'd probably do 'case; when @current_person.nil ...'
nathanstitt has joined #ruby-lang
<jhass>
but then I also don't use throw/catch
<centrx>
someperson, Don't use the lambda with case
<yorickpeterse>
the lambda(&:foo) crap doesn't make it more readable
<someperson>
centrx: it's a neat hack tho! :P
<someperson>
yorickpeterse: do you think it's slower
<yorickpeterse>
No idea
<yorickpeterse>
But it's not very readable at the least
<someperson>
workmad3: you wouldn't do if/else then?
<workmad3>
someperson: it would depend on my mood... but I wouldn't use that lambda-hack :)
<someperson>
:P
sdouglas has quit [Remote host closed the connection]
<workmad3>
someperson: it's a fun trick, but not something I'd put somewhere people could read it ;)
mistym_ has joined #ruby-lang
<someperson>
workmad3: but if everyone starts using it, it won't be a trick
keolo has joined #ruby-lang
leandrosnunes has quit [Ping timeout: 264 seconds]
<someperson>
i think case/when is generally more readable than if/else
<someperson>
particularly since the case has the most common part
saarinen has joined #ruby-lang
<workmad3>
someperson: when I saw 'when lambda(&:nil)' I basically had to decode that it would create a lambda from :nil.to_proc and then the 'when' would evaluate it with === @current_profile... so had to do a fair bit of decoding to figure out how it worked... as opposed to 'when @current_profile.nil?'
leandros1 has quit [Ping timeout: 264 seconds]
<someperson>
workmad3: but that's only because you never saw it before or something! ;)
<someperson>
tbh, i'm surprised i can't do things like
<someperson>
case "hello" when empty?
<someperson>
or similar
toastynerd has quit [Remote host closed the connection]
<someperson>
self.empty?
<workmad3>
someperson: that would need quite a bit of extra implementation along with changing the context, etc...
hahuang65 has joined #ruby-lang
<workmad3>
someperson: the way case works is currently quite elegant as it only needs a small implementation and can be extended quite nicely for custom and new objects in different ways by simply adding a === for them
<someperson>
yeah
jmeeuwen has quit [Ping timeout: 244 seconds]
bahar has quit [Read error: Operation timed out]
iliketurtles has joined #ruby-lang
tonni has joined #ruby-lang
anannie has quit [Ping timeout: 240 seconds]
jmeeuwen has joined #ruby-lang
lutfidemirci has quit [Ping timeout: 252 seconds]
jsrn has quit [Quit: Leaving]
toastynerd has joined #ruby-lang
bahar has joined #ruby-lang
nisstyre has joined #ruby-lang
tonni has quit [Quit: Leaving...]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
robmiller2 has quit [Quit: Leaving.]
apeiros has joined #ruby-lang
devgiant_ is now known as devgiant
VTLob has joined #ruby-lang
johnny_rugger has joined #ruby-lang
bradcliffe has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
yfeldblum has quit [Remote host closed the connection]
eugmill has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
skade has quit [Ping timeout: 240 seconds]
Squarepy has joined #ruby-lang
eugmill has joined #ruby-lang
CaptainJet has joined #ruby-lang
Coincidental has joined #ruby-lang
skade has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
AncientAmateur has joined #ruby-lang
eugmill_ has joined #ruby-lang
eugmill has quit [Ping timeout: 264 seconds]
toastynerd has joined #ruby-lang
andy4thehuynh has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
Coincidental has joined #ruby-lang
mistym_ has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
elia has quit [Ping timeout: 269 seconds]
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
dknox-doctors is now known as dknox
fraterlaetus has joined #ruby-lang
agarie has joined #ruby-lang
charliesome has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 240 seconds]
benlovell has quit [Ping timeout: 240 seconds]
mistym_ has joined #ruby-lang
jhass is now known as jhass|off
saarinen has quit [Quit: saarinen]
jhass|off is now known as jhass
charliesome has quit [Ping timeout: 240 seconds]
rondale_sc has quit [Quit: leaving]
AncientAmateur has left #ruby-lang ["Leaving..."]
fraterlaetus has quit [Read error: Connection reset by peer]
fraterlaetus has joined #ruby-lang
AncientAmateur has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
d4rkr4i has quit [Quit: Leaving.]
vpretzel has joined #ruby-lang
bantic has quit [Quit: bantic]
rippa has joined #ruby-lang
brettweavnet has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
diegoviola has joined #ruby-lang
yfeldblum has joined #ruby-lang
saarinen has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
ratmav has joined #ruby-lang
jaimef has quit [Excess Flood]
rondale_sc has joined #ruby-lang
<ratmav>
i have a binary dump of udp packets that i need to resend on a different socket. i can send the binary data and process it fine, but i don't think i'm parsing the data correctly. how can i be sure that i'm sending the whole udp packet?
jaimef has joined #ruby-lang
specialblend has quit [Quit: specialblend]
saarinen has quit [Client Quit]
toastynerd has joined #ruby-lang
jbarket has joined #ruby-lang
solars has quit [Ping timeout: 244 seconds]
<jbarket>
Question. I have a method that generates some boilerplate XML for an API with Nokogiri... authentication and the general request bits. I want to write other methods that fill in the actual command part, but they need access to the variable inside the block in that first method (to call xml.tag_name_here value_here and so on). Is there some way I can pull this off with yields or something?
Coincidental has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
matp has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
matp has joined #ruby-lang
futilegames has quit [Quit: futilegames]
heftig has joined #ruby-lang
Coincidental has joined #ruby-lang
Lewix has joined #ruby-lang
meise has quit [Quit: leaving]
jbarket has left #ruby-lang [#ruby-lang]
saarinen has joined #ruby-lang
vpretzel has quit [Quit: Adios!]
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
phansch has joined #ruby-lang
nisstyre has quit [Quit: bai]
mytrile has joined #ruby-lang
mehlah has quit [Quit: Leaving...]
<apeiros>
oy, only 10min of patience…
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mytrile has quit [Ping timeout: 252 seconds]
<centrx>
And...it's gone
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mistym has quit [Disconnected by services]
mistym_ is now known as mistym
mistym_ has joined #ruby-lang
ratmav has quit [Quit: Leaving]
vlad_starkov has joined #ruby-lang
toastynerd has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
mistym has joined #ruby-lang
|jemc| has quit [Read error: Operation timed out]
mistym_ has quit [Quit: Leaving]
amsi has quit [Ping timeout: 244 seconds]
toastynerd has joined #ruby-lang
charliesome has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
havenwood has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
charliesome has quit [Ping timeout: 240 seconds]
arBmind has left #ruby-lang [#ruby-lang]
havenwood has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
havenwood has joined #ruby-lang
ShadowJack has joined #ruby-lang
johnny_rugger has joined #ruby-lang
iliketurtles has joined #ruby-lang
jsilver has joined #ruby-lang
eugmill_ has quit [Remote host closed the connection]
devgiant_ has joined #ruby-lang
devgiant has quit [Ping timeout: 265 seconds]
bahar has quit [Changing host]
bahar has joined #ruby-lang
jsilver has quit []
mikecmpbll has joined #ruby-lang
jperry has joined #ruby-lang
ShadowJack is now known as Jack_Of_Shadows
pabloh has quit [Quit: Saliendo]
dc5ala has quit [Quit: Ex-Chat]
Guest38177 has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eugmill has joined #ruby-lang
vpretzel has joined #ruby-lang
oracal has joined #ruby-lang
Jack_Of_Shadows has quit [Ping timeout: 252 seconds]
CaptainJet has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
bantic has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
bradcliffe has joined #ruby-lang
leandrosnunes has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
yfeldblum has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
|jemc| has joined #ruby-lang
amsi has joined #ruby-lang
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnny_rugger has joined #ruby-lang
sdouglas has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
symm- has quit [Quit: Leaving...]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby-lang
CaptainJet has joined #ruby-lang
relix has quit [Client Quit]
futilegames has joined #ruby-lang
amsi has quit [Ping timeout: 244 seconds]
amsi has joined #ruby-lang
enebo has joined #ruby-lang
CaptainJet has quit [Ping timeout: 240 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
symm- has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eugmill has quit [Remote host closed the connection]
tbuehlmann has quit [Remote host closed the connection]
CaptainJet has joined #ruby-lang
charliesome has joined #ruby-lang
stef_204 has joined #ruby-lang
goatish_mound is now known as rsl
havenwood has quit [Ping timeout: 244 seconds]
toastynerd has joined #ruby-lang
eugmill has joined #ruby-lang
leandrosnunes has quit [Ping timeout: 265 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjh13 has quit [Quit: leaving]
arBmind has joined #ruby-lang
jaimef has quit [Excess Flood]
jaimef has joined #ruby-lang
postmodern has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mistym_ is now known as mistym
MichD is now known as michd
Coincidental has quit [Remote host closed the connection]
Squarepy has quit [Ping timeout: 240 seconds]
mykoweb has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 265 seconds]
elia has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
enebo has quit [Quit: enebo]
sdouglas has joined #ruby-lang
thomasb1 has joined #ruby-lang
elia has quit [Ping timeout: 240 seconds]
Coincidental has joined #ruby-lang
<thomasb1>
Hey all
<centrx>
Ahoy
<thomasb1>
So im trying out a new feature in ruby 2.0, namely using the private keyword immediatelly followed by the method definition,
riffraff has joined #ruby-lang
<thomasb1>
private def foo
<thomasb1>
end
<thomasb1>
which works fine,
sdouglas has quit [Ping timeout: 252 seconds]
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<drbrain>
thomasb1: there are some syntax bugs
<thomasb1>
is that so?
<drbrain>
I'm unsure of the details…
tils has quit [Ping timeout: 240 seconds]
<thomasb1>
cause when I call a method that takes a block inside that method, it will complain about "unexpected keyword_do_block, expecting keyword_end"