Topic for #ruby is now Ruby programming language || ruby-lang.org || RUBY SUMMER OF CODE! rubysoc.org/ || Paste >3 lines of text in http://pastie.org || Para a nossa audiencia em portugues http://ruby-br.org/
nonotza [nonotza!~nonotza@ool-45727119.dyn.optonline.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
nonotza [nonotza!~nonotza@ool-45727119.dyn.optonline.net] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
adriang_ [adriang_!~adriang@124-149-171-121.dyn.iinet.net.au] has joined #ruby
adriang_ [adriang_!~adriang@124-149-171-121.dyn.iinet.net.au] has joined #ruby
zulax [zulax!~radarwork@99-120-232-161.lightspeed.iplsin.sbcglobal.net] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
peterwald [peterwald!~peterwald@99-4-181-140.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
adriangray [adriangray!~adriang@124-149-171-121.dyn.iinet.net.au] has quit [#ruby]
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
adriangray [adriangray!~adriangra@124-149-171-121.dyn.iinet.net.au] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-209-76.mcn.bellsouth.net] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
seivan [seivan!~seivan@c-db4171d5.1510-2-64736c10.cust.bredbandsbolaget.se] has joined #ruby
incluye [incluye!~Adium@208.102.195.210] has joined #ruby
freelanceful [freelanceful!~jamesfend@c-71-228-225-167.hsd1.tn.comcast.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
<freelanceful> any suggestions for a gem that searches? trying to incorporate a Search bar to search through users
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
adriangray [adriangray!~adriangra@124-149-171-121.dyn.iinet.net.au] has quit [#ruby]
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
Indian_ [Indian_!~Indian@unaffiliated/londonmet050] has joined #ruby
friskd [friskd!~friskd@75.79.184.2] has joined #ruby
<friskd> Hey guys, I'm looking for a schema or the best practice for storing and managing error codes / messages in my db.
<friskd> Currently my thoughts are to have a table error_codes: id, status_code, error_code, message, debug_message
syamajala [syamajala!~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #ruby
devdazed [devdazed!~russ_nyc@cpe-74-66-233-162.nyc.res.rr.com] has joined #ruby
<friskd> With that when i throw exceptions being an error_codes.id that i pass, and my handler could do a lookup and then set the api response status_code and error:{code, message, debug} data.
voodoofish430 [voodoofish430!~mtorres@208.76.2.200] has joined #ruby
niklasb [niklasb!~codeslay0@p5B31094F.dip0.t-ipconnect.de] has joined #ruby
<j3r0m3> can somebody point me in the right direction on how to manage the contents of a the gemspec file while modifying an existing gem? I am adding a few files to the gem and this should be reflected in the gemspec file correct?
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby
apok [apok!~apok@adsl-99-24-220-190.dsl.pltn13.sbcglobal.net] has joined #ruby
<envygeeks> Why Thread no like actually abort if thread set variable?
savage-_ [savage-_!~savage-@209.118.197.220] has joined #ruby
apok [apok!~apok@adsl-99-24-220-190.dsl.pltn13.sbcglobal.net] has joined #ruby
<heftig> envygeeks: huh?
<shevy> hehe
<shevy> I think he tried to do a sentence that would be valid ruby code
<envygeeks> it's sending the damn exception to the hash and not actually killing the script, I guess I can always raise myself from a begin but there must be a better way?
<heftig> i think you need to set that from inside the thread
<heftig> as in, Thread.abort_on_exception is thread-local
<heftig> ah, nevermind
<heftig> it's global
<envygeeks> I guess I should just rescue it and raise myself to avoid this quirk eh?
<heftig> envygeeks: is something rescuing?
`brendan [`brendan!~mhz@64-121-18-195.c3-0.upd-ubr1.trpr-upd.pa.cable.rcn.com] has joined #ruby
<envygeeks> heftig: nope, well Pry rescues and sends the rescue to me but that's it I can get it to kill itself if I raise and rescue myself but otherwise if it's going into a variable thread is just like naw man naw
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
<envygeeks> actually
<envygeeks> turns out this might be a pry problem
<envygeeks> since me being pissed off and running it 30 times in a row ultimately lead to the raise
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
seivan [seivan!~seivan@c-db4171d5.1510-2-64736c10.cust.bredbandsbolaget.se] has joined #ruby
<shevy> think of the poor kittens
<envygeeks> ok, one last question since this is my first time working with Ruby threads, now that I solved that problem
<envygeeks> if I join like this: Thread.new do #myrhead end.join is that pointless or should I save the joins till later for some unobvious reason?
<burgestrand> More or less pointless; execution stops until the joined thread has finished running
<burgestrand> Thread#join can be seen as Thread#wait_here_until_this_thread_dies
<envygeeks> Ok, so I should put the join at the end of the method before I return out
<burgestrand> Just opening to see your code now
jbw [jbw!~jbw@dsl-044-084.cust.imagine.ie] has joined #ruby
<burgestrand> I’d do; threads = users.map { |user| … Thread.new { … code … } }, this way you’ll have all your threads running, collected in one big array.
<heftig> envygeeks: you should collect the threads you spawn into an array, and then join them all at the end
<burgestrand> After that you can just threads.map(&:join
<burgestrand> … with an additional parenthesis on the end
<envygeeks> K, thanks man
<heftig> threads.each(&:join)
ipsifendus [ipsifendus!~edward@c-67-169-223-202.hsd1.or.comcast.net] has joined #ruby
<burgestrand> Just don’t create 10 000 threads; probably won’t be better than a few dussin of them (if even that many)
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
bamboozle [bamboozle!~david@watch.out.for.those.crafty.r0b0ts.org] has joined #ruby
<bamboozle> Can someone recommend a decent book for learning Ruby?
<burgestrand> I only ever read Programming Ruby myself, and that’s the online edition. I went through Design Patterns in Ruby but I wouldn’t consider that a useful book for somebody just starting.
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
<burgestrand> Heard good things of The Ruby Way as well, but no idea how it fares for beginners. bamboozle, is it for somebody who already knows programming?
<bamboozle> burgestrand: No.
<burgestrand> bamboozle: I’d start out with Chris Pine’s Learn to Program then. It’s a slightly old variant of Ruby but should have no issues picking up the more recent stuff after it.
<bamboozle> TY!
<burgestrand> bamboozle: there’s also http://tryruby.org/, which is nice to go through as well. It’s very quick though, so you won’t really know what to do with it once done but it’s nice for a quick taste.
<bamboozle> Thanks again.
<bamboozle> I'm sure "my friend" will find those useful, as a beginner.
baniseer`sleep [baniseer`sleep!~baniseter@115.189.103.106] has joined #ruby
<Okasu> can you post a links with info about what works on windows in ruby and whats not?
<burgestrand> bamboozle: and as a final note, this channel is always useful for asking for help. People often don’t want to write the solutions for you, but they’re often glad to help you figuring them out. It hangs a bit on time of day and information density of the question, though.
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
<burgestrand> Okasu: sorry, have none myself. I don’t develop on, and rarely (if ever) for windows explicitly. Every now and then somebody comes along with a windows-specific issue in here though.
<bamboozle> burgestrand: Ah, okay. I'll be sure to idle.
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
<burgestrand> bamboozle: :)
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
randym [randym!~randym@EM114-51-46-166.pool.e-mobile.ne.jp] has joined #ruby
<burgestrand> bamboozle: Sometimes tryruby.org does not recognize you following the directions, or goes too fast if you experiment more than the authors expected. If that happens you can type "back" to go back (although, not always just one step back…), and "next" to go forward.
<burgestrand> Ah, look at that, it actually says at the bottom.
<bamboozle> burgestrand: Okay. I'll keep that in mind.
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
jackhammer2022 [jackhammer2022!~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #ruby
randym_ [randym_!~randym@EM1-114-143-53.pool.e-mobile.ne.jp] has joined #ruby
<aces1up> i'm trying to create instance methods as well as class methods all with one module using self.included.. can someone help me with this bit of code, the question i need answered is in the code.
<heftig> aces1up: you have a module named Logger?
<aces1up> no module is named LoggerClassMethods
<heftig> that's not enough
<aces1up> but i want all the methods in module LoggerClassMethods to be both class methods and instance methods
<aces1up> when it is included.
Ofasho [Ofasho!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has quit [#ruby]
<burgestrand> aces1up: inside LoggerClassMethods, def self.included(base), base.extend(self) — should be enough
<burgestrand> do note these methods will share the same code but not the same instance variables and such
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
<aces1up> i know i can do that, but I want to keep it DRY as the class and instance need to call the same method but i don't want to repeat myself.
seivan [seivan!~seivan@c-db4171d5.1510-2-64736c10.cust.bredbandsbolaget.se] has joined #ruby
<aces1up> heftig any ideas?
<burgestrand> aces1up: http://codepad.org/a4pH3sIo
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
<burgestrand> aces1up: that way, the instance methods will actually call the class methods
<burgestrand> (but they’ll still be separate methods)
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
<aces1up> burgestrand thanks, but now when it delegates from a instance_variable, I cannot access the objects instance variables which i need.
<aces1up> hrmm so i might need to keep it !DRY?
eggxtreme [eggxtreme!luigi69@host9423110151.microchip.net.pl] has joined #ruby
<burgestrand> aces1up: … so why are you needing these as class methods again?
<burgestrand> if you still need information from the instance, I mean
eggxtreme [eggxtreme!luigi69@host9423110151.microchip.net.pl] has quit [#ruby]
<aces1up> burgestrand well i am just trying to use the same method_missing for both class and instance, but during an instance method missing i need to access instance variables.
Jay_Levitt [Jay_Levitt!~Jay_Levit@home.jay.fm] has joined #ruby
<burgestrand> aces1up: if the methods needs different logic it’s not undry to write them separately
<burgestrand> what you’re really looking for is to implement it in a way that if you need to change something you only need to change it in one place, abstract out the common if you feel you need to
rpowell [rpowell!~rpowell@CPE-58-164-41-91.lnse5.ken.bigpond.net.au] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
<aces1up> well its just one variable i need access.. for instance if i call my log method on my class the share id won't be accessable and will be send as nil to the log message, if it accessable via an instance method it should send the share_id whatever it is.
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
<aces1up> didn't want to seperate it out just for one line. but i guess i can.
Tachyon [Tachyon!~tach@81.200.61.23] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
syamajala [syamajala!~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #ruby
CreativeEmbassy [CreativeEmbassy!~CreativeE@pool-209-158-6-136.altnpa.east.verizon.net] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
Arp_p01z0N [Arp_p01z0N!c242af52@gateway/web/freenode/ip.194.66.175.82] has joined #ruby
<Arp_p01z0N> hi
<Arp_p01z0N> ruby rhymes with booby.
<Arp_p01z0N> so
<Arp_p01z0N> whos here?
syamajala [syamajala!~syamajala@c-75-68-106-118.hsd1.ma.comcast.net] has joined #ruby
<shevy> hey troll-
<shevy> meet troll+
<troll-> hi
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.109.149] has joined #ruby
<troll-> do you ruby>?]
<baniseer`sleep> troll-: no u
<troll-> do i what?
jasdeepjaitla [jasdeepjaitla!~jasdeepja@c-98-207-73-250.hsd1.ca.comcast.net] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<troll-> i like rube.
baniseer_ [baniseer_!~baniseter@122.63.203.26] has joined #ruby
<CreativeEmbassy> anyone here have experience with Net::Telnet?
<troll-> yes
<CreativeEmbassy> just curious. was looking for a gem to do raw HTTP commands, didn't realize it was in standard library
banisee__ [banisee__!~baniseter@122.63.216.58] has joined #ruby
<troll-> hmm,
<CreativeEmbassy> was it ruby 2.0 when they were going to turn a bunch of standard library parts into gems?
<troll-> well
Azure|dc [Azure|dc!~azt@unaffiliated/azure] has joined #ruby
<banisee__> CreativeEmbassy: Yeah
<troll-> its deprecated now.
<troll-> move on.
<banisee__> troll-: you're deprecated
<yfeldblum> deprecating is deprecated; what now?
<CreativeEmbassy> better gem?
<troll-> yes
<troll-> the gem and the whole structure.
<CreativeEmbassy> looking now. terrible internet connection here, googling might take a bit, haha
<troll-> well
<CreativeEmbassy> is it wrong to stop trusting any gem with a rubyforge page? :-p
<banisee__> CreativeEmbassy: I dont know
<troll-> yes
<CreativeEmbassy> found net-ssh-telnet
<banisee__> CreativeEmbassy: stop asking difficult questions
<CreativeEmbassy> haha
<CreativeEmbassy> i didn't know we had a #ruby
<CreativeEmbassy> now that I have an irc client
<CreativeEmbassy> haven't gotten to work on actual ruby projects in a few months along other rubyists
<CreativeEmbassy> i suddenly have a couple questions on the backburner I forgot about
<troll-> the gem is deprecated.
<CreativeEmbassy> lol
<troll-> just use another library.
<SirFunk> are there any good gems or something for manipulating 2d sets of data (like a table with row headers and column headers)?
<CreativeEmbassy> this looks promising, even though it only has 66 downloads on rubygems.org: https://github.com/paddor/em-simple_telnet
<CreativeEmbassy> and I am using eventmachine, so that's a huge plus
<banisee__> CreativeEmbassy: pls keep most of this information to yourself, im trying to concentrate and your babbling is distracting, thx
<CreativeEmbassy> if you need to concentrate, why are you in IRC?
<troll-> well
<banisee__> CreativeEmbassy: im concentrating in irc
<troll-> google it first.
<troll-> then come back
<troll-> .
<banisee__> CreativeEmbassy: trying to cybersex0r
<CreativeEmbassy> haha
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
<CreativeEmbassy> I did google it, and didn't find anything. Just trying to find out if anyone had recommendations for raw http output. no one does, that's all
<troll-> just leave the channel pls.
<troll-> as i say its no longer supported.
<troll-> its depricated.
<samuelkadolph> Raw HTTP? I think that's called using a socket
<CreativeEmbassy> is it? I don't know the osi model at all. I'll look for doing sockets with eventmachine, thanks
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
<troll-> LEAVE
<CreativeEmbassy> I'm not going to leave for chatting about ruby in a ruby chatroom. just ignore me
<troll-> no
<troll-> it is not ruby. here we talk about programming not sockets.
<troll-> if you want to chit-chat about random gems, go to #powder
<CreativeEmbassy> what's #powder?
<troll-> its for people like you.
<troll-> chit chatting about stuff.
<CreativeEmbassy> if you have a problem with me, type /ignore creativeembassy
<troll-> no
Azure [Azure!~azt@unaffiliated/azure] has joined #ruby
troll-_- [troll-_-!c242af52@gateway/web/freenode/ip.194.66.175.82] has quit [#ruby]
<shevy> CreativeEmbassy I think many gems on rubyforge are not widely used
<shevy> those who are widely used though, can be sufficiently trusted IMO
ryanf [ryanf!~ryanf@100.sub-174-253-237.myvzw.com] has joined #ruby
<CreativeEmbassy> shevy: it's just an indicator, but I agree with you. It's not always easiest to figure out the latest vanguard for a task in ruby.
<shevy> hehe
<CreativeEmbassy> like the new hotness for authentication in rails. it was restful_authentication, then authlogic, now devise. there might be something else after devise now, I'm not up to date on it.
<shevy> my experiment is to start bundling up the little scripts I use into gems and upload them simply to see if anyone else will find these useful. then after a while, I'll turn towards larger projects (though that requires more documentation and effort, which I am still too lazy to do for now)
<shevy> eh
<shevy> rails-landia is a mystery to me
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
<CreativeEmbassy> I have two libraries I've written myself, and use in multiple projects, that I REALLY need to turn into gems
<shevy> sounds like a full time job just to keep updated with how rails evolves
<CreativeEmbassy> one is a tiny framework for doing complicated seeds for rails, and the other is a data processing sublanguage in ruby (convert CSVs into other CSVs or database tables)
<CreativeEmbassy> it doesn't take a lot of effort, but it's REALLY easy to get behind if you're not in the loop
<shevy> hmm
<shevy> I can imagine!
<shevy> I still haven't grasped HTML5 completely yet either
<shevy> things were easier in year pre-2000 times I swear
<CreativeEmbassy> totally disagree with you there :-)
<CreativeEmbassy> I don't know how anyone did javascript pre-firebug or pre-chrome tools
<banisee__> ryanf: hi
<CreativeEmbassy> coffeescript made javascript easier. haml/sass/scss make html and css easier.
<shevy> yeah
<shevy> more and more things to learn and understand
<shevy> tools that get more and more complex to simplify our life :)
<CreativeEmbassy> I think maybe people get disadvantaged being from the "old school" of web development, especially rails since it moves so fast
<CreativeEmbassy> I can't believe they're working on 4.0. I thought we just hit rails 3
<shevy> we are on an evolutionary highway. those who are too slow will be crushed
<banisee__> i wish ppl would take rails talk to a different channel
<banisee__> i.e #rubyonrails
<CreativeEmbassy> I still remember deprecated methods from rails 1. junk knowledge now
<shevy> I think I tried to learn it in ... 1.x something times
<shevy> half of that what I wrote back then no longer works as-is
<ryanf> banisee__: hey there
<ryanf> weird name
<banisee__> ryanf: did cirwin tell you i got class-based commands working in pry?
<CreativeEmbassy> I feel sorry for anyone who has to maintain my two legacy rails 1.0 apps :-(
<ryanf> nope, cool. did i ever show you my mockup for that?
<banisee__> ryanf: command "hey-baby", "hey baby command", {:keep_retval => true}, MyCommand.new
<shevy> how many lines of code CreativeEmbassy?
<banisee__> ryanf: no, show me it i'll see if it's similar
<ryanf> ah interesting
<CreativeEmbassy> shevy: i'm a completely different coder now. actually, I can call myself a coder now. I was just a glue-r back then, if that makes sense
<ryanf> i'm on my phone, we can talk about it in a bit
<CreativeEmbassy> shevy: just a few thousand. could probably be re-written without too much effort
<ryanf> in #pry ;)
<banisee__> ryanf: Yeah
<shevy> talk about rewriting, I am trying to rewrite my first game in ruby and I hate time spent on that
<banisee__> ryanf: how long till you're in there? my internet is really unstable here
<CreativeEmbassy> oooooooo pry is awesome
<ryanf> i dunno, half hour tops
<banisee__> CreativeEmbassy: thx
<shevy> old codebase has around 3200 lines including comments
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
<banisee__> ryanf: i'll show you the gist, holdon
<CreativeEmbassy> banisee__: you had something to do with writing it? kudos if you did
<banisee__> CreativeEmbassy: hehe, i started the project ;)
<CreativeEmbassy> I lead my local ruby meetup group, and did a small presentation on how to use it back in november! :-D
<banisee__> CreativeEmbassy: cool
<CreativeEmbassy> bunch of pry users in state college, pa now
<ryanf> he's mostly been replaced now though :)
<banisee__> hehe
<CreativeEmbassy> haha
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
<banisee__> ryanf: did you see it blew up in japan recently? around 200 tweets the last couple of days, even matz retweeted
<ryanf> whoa, it inherits from commandcontext? funky
<ryanf> i guess that makes sense except the name
<ryanf> cool
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
<banisee__> ryanf: Yeah, since command blocks are eval'd inside Pry::CommandContext anyway, the easiest thing to do was just inherit from CommandContext and then everything pretyt much 'just works'
<banisee__> just put inside 'call' what you would have put inside the command block
<banisee__> so #call is pretty much just like the normal command block but with properly scoped helper methods (i.e the other instnace methods on the class)
HNDavid [HNDavid!~david@pool-173-48-127-244.bstnma.fios.verizon.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@adsl-68-72-216-53.dsl.akrnoh.ameritech.net] has joined #ruby
theRoUS [theRoUS!~KenCoar@12.204.177.3] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
ali_h [ali_h!staff@interflective.com] has joined #ruby
ossareh [ossareh!~ossareh@199.9.251.45] has joined #ruby
ryanf [ryanf!~revfitz@adsl-71-141-89-169.dsl.snfc21.sbcglobal.net] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.151.85] has joined #ruby
abstrusenick [abstrusenick!~abstrusen@bb220-255-36-18.singnet.com.sg] has joined #ruby
ctp [ctp!~ctp@dslc-082-083-139-147.pools.arcor-ip.net] has joined #ruby
hemanth [hemanth!~hemanth@121.244.159.130] has joined #ruby
baniseer_ [baniseer_!~baniseter@122.63.207.120] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
blueadept [blueadept!~blueadept@72.21.137.199] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
bemur [bemur!~quassel@74.123.20.47] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
bemur [bemur!~quassel@74.123.20.47] has quit ["http://quassel-irc.org - Chat comfortably. Anywhere."]
nnisi [nnisi!~textual@ip98-168-217-189.om.om.cox.net] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
radic [radic!~radic@dslb-178-002-219-086.pools.arcor-ip.net] has joined #ruby
nnisi [nnisi!~tenderloa@ip98-168-217-189.om.om.cox.net] has joined #ruby
tenderloaf [tenderloaf!~tenderloa@ip98-168-217-189.om.om.cox.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
x0F_ [x0F_!~x0F@unaffiliated/x0f] has joined #ruby
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
tenderloaf [tenderloaf!~tenderloa@ip98-168-217-189.om.om.cox.net] has joined #ruby
tenderloaf [tenderloaf!~tenderloa@ip98-168-217-189.om.om.cox.net] has joined #ruby
yekta [yekta!~yekta@c-24-1-182-219.hsd1.il.comcast.net] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
pencilcheck [pencilcheck!~pen@140.112.30.143] has joined #ruby
humanpipecleaner [humanpipecleaner!~chatzilla@ip68-227-12-51.lv.lv.cox.net] has joined #ruby
<humanpipecleaner> when i'm making my tables for a rails app should i be using a camel case kinda thing or lowercase with underscores lessonSection or lesson_section
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
<baniseer_> humanpipecleaner: ask in a rails channel
<humanpipecleaner> lol that place is slow
<humanpipecleaner> but they finally answered, thanks anyway
<shevy> humanpipecleaner what did they say?
<humanpipecleaner> they said it doesn't matter either way
<humanpipecleaner> as long as they are singular
<humanpipecleaner> :D
<shevy> hmm
<shevy> they are weak
<shevy> can't decide on things
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
Seisatsu [Seisatsu!~seisatsu@2001:5c0:1000:a::b15] has joined #ruby
Guest83248 [Guest83248!~awesome@212.62.202.84.customer.cdi.no] has joined #ruby
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
zenergi [zenergi!~zenergi@pdpc/supporter/student/zenergi] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.62.100] has joined #ruby
vajrapani666 [vajrapani666!~vajrapani@c-69-181-26-39.hsd1.ca.comcast.net] has joined #ruby
<vajrapani666> Where can i find information about "<<" ? I understand how to use it to create class instance methods etc.. but I don't have a perfectly solid and totally thorough understanding of precisely what it does … it is also very hard to google and seems to be omitted from lists of ruby operators
<rippa> vajrapani666: search "metaclass"
<russfrank> vajrapani666: it depends on the class of course!
<ryanf> humanpipecleaner: it might not matter in that case but if I were you I'd get used to never using camelcase except for class names
<ryanf> snake case is the standard and there will probably be other places that it does matter and it will be annoying to get stuff to work properly
<humanpipecleaner> hehe i come from a ruby background, i was trained to always do variableName
baniseer`sleep [baniseer`sleep!~baniseter@122.63.172.133] has joined #ruby
<russfrank> god I hate camel case
<russfrank> who the hell thought of that
<russfrank> looks so asymmetrical
<russfrank> I mean, when the first letter is lowercase likeThisLooksTerrible
<brownies> well you can use underscores
<russfrank> one of the things I'm liking about The Ruby is the fact that underscores are encouraged and camelCase is not
<humanpipecleaner> hehe
<humanpipecleaner> oh did i say ruby i ment java,
<humanpipecleaner> screw java lol
<vajrapani666> so it turns out that underscores weren't widely available until the adoption of the ascii character set around the late1960s and so initially at least camelCase was one of the only options
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has joined #ruby
freelanceful [freelanceful!~jamesfend@c-71-228-225-167.hsd1.tn.comcast.net] has joined #ruby
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
<vajrapani666> other explanations for camel case cite length of identifiers being restricted e.g. end_of_file vs. EndOfFile , differences in early keyboard hardware … laziness to hit the underscore key .. and so on
<russfrank> vajrapani666: its not so bad as long as you don't lowercase the first letter
<russfrank> ThisIsntAwful but thisIs
<russfrank> the asymmetry just bothers my ocd
<yfeldblum> And_This_Is_Just_Plain_Terrible
<vajrapani666> Camelcase has always confused me when it comes to acronyms… e.g. getElementById or getElementByID …
<russfrank> yfeldblum: agree
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
<freelanceful> Any recommendations for a gem used for search functions? Also, app is hosted on Heroku
<ryanf> one thing I don't get about ruby conventions is the tradition of putting ModuleName::ClassName into module_name/class_name.rb
<ryanf> surely ModuleName/ClassName.rb is more logical?
<ryanf> not that I'd actually do it. but it's more logical.
j3r0m3 [j3r0m3!~j3r0m3@adsl-68-72-216-53.dsl.akrnoh.ameritech.net] has joined #ruby
ngng [ngng!~ng@c-98-210-117-31.hsd1.ca.comcast.net] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-222-228.mcn.bellsouth.net] has joined #ruby
gen0cide_ [gen0cide_!~TigerBloo@Wilkins3.static.monkeybrains.net] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
CodyMaverick [CodyMaverick!~cody@80.249.82.205] has joined #ruby
baniseer_ [baniseer_!~baniseter@122.63.150.233] has joined #ruby
<vajrapani666> in a way… the only time non snake case is used is for constants …. the convention creates the constant as opposed to a keyword like "const" .. in the greater scheme of things it is best kept this way (following this convention) everywhere.. that extends to database tables and even file names
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
arman_ [arman_!~arman@99-100-33-0.lightspeed.sntcca.sbcglobal.net] has joined #ruby
bcnice20 [bcnice20!~brad@66-87-90-156.pools.spcsdns.net] has joined #ruby
jackhammer2022 [jackhammer2022!~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #ruby
kinderman [kinderman!~kinderman@data.kinderman.net] has joined #ruby
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
djdb [djdb!~digitalbo@linux.minsk.tutby.com] has joined #ruby
pencilcheck [pencilcheck!~pen@140.112.30.143] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.103.157] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.103.157] has joined #ruby
wookiehangover [wookiehangover!~wookiehan@c-67-161-138-118.hsd1.co.comcast.net] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
mohits [mohits!~mohit@unaffiliated/mohits] has quit [#ruby]
yxhuvud [yxhuvud!mongo@h-17-181.a149.priv.bahnhof.se] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
JohnBat26 [JohnBat26!~Eugene@89.175.77.90] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
Bonkers [Bonkers!~matt@pool-108-27-21-239.nycmny.fios.verizon.net] has joined #ruby
trivol [trivol!~aurelien@81.57.175.21] has joined #ruby
lolsuper_ [lolsuper_!~super_@pool-173-65-194-148.tampfl.fios.verizon.net] has joined #ruby
lolsuper_ [lolsuper_!~super_@unaffiliated/lolsuper-/x-9881387] has joined #ruby
Wroathe [Wroathe!~Wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
Nanuq [Nanuq!~nanuq@cave45.ecks.ca] has joined #ruby
tk_ [tk_!~tk@p252198.doubleroute.jp] has joined #ruby
CodyLinux [CodyLinux!~cody@80.249.82.205] has joined #ruby
CodyMaverick [CodyMaverick!~cody@80.249.82.205] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has quit [#ruby]
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
symb0l [symb0l!~symb0l@cpe-24-27-107-175.tx.res.rr.com] has joined #ruby
Affix [Affix!~affix@fedora/Affix] has joined #ruby
baniseer_ [baniseer_!~baniseter@115.189.231.113] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.215.129] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
baniseer_ [baniseer_!~baniseter@115.189.97.185] has joined #ruby
ananthakumaran [ananthakumaran!~user@115.113.47.66] has joined #ruby
thone [thone!~thone@g226049035.adsl.alicedsl.de] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
mafolz [mafolz!~mafolz@dhcp50-210.start.uni-saarland.de] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
stayarrr [stayarrr!~olivererx@dslb-178-009-059-241.pools.arcor-ip.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
rpowell_ [rpowell_!~rpowell@CPE-58-170-1-1.lns5.ken.bigpond.net.au] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@host171-14-dynamic.10-188-r.retail.telecomitalia.it] has joined #ruby
QaDeS [QaDeS!~mklaus@frbg-5d84f0c9.pool.mediaWays.net] has joined #ruby
atmosx [atmosx!~atmosx@79.103.249.127.dsl.dyn.forthnet.gr] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.221.141] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
Nanuq [Nanuq!~nanuq@cave45.ecks.ca] has joined #ruby
shevy [shevy!~shevy@178-191-252-75.adsl.highway.telekom.at] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
azbarcea_ [azbarcea_!~quassel@79.114.113.188] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.57.167] has joined #ruby
prabesh [prabesh!~Adium@office.sprout-technology.com] has joined #ruby
Wroathe [Wroathe!~Wroathe@173-17-249-11.client.mchsi.com] has quit [#ruby]
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
sdwrage [sdwrage!~sdwrage@cpe-184-57-123-50.columbus.res.rr.com] has quit [#ruby]
stringoO [stringoO!~JLstring@CPE001346cbe31b-CM00111ae502a8.cpe.net.cable.rogers.com] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
geaif [geaif!~geaif@AToulouse-554-1-47-145.w92-149.abo.wanadoo.fr] has joined #ruby
lobak [lobak!~quack@202.190.85.36] has joined #ruby
ngng-home [ngng-home!~ng@c-98-210-117-31.hsd1.ca.comcast.net] has joined #ruby
baniseer_ [baniseer_!~baniseter@115.189.110.248] has joined #ruby
vajrapani666 [vajrapani666!~vajrapani@c-69-181-26-39.hsd1.ca.comcast.net] has joined #ruby
pi3r [pi3r!~pi3r@LSt-Amand-152-32-39-189.w80-11.abo.wanadoo.fr] has joined #ruby
pen [pen!~pen@dhcp1.csie.ntu.edu.tw] has joined #ruby
Nanuq [Nanuq!~nanuq@cave45.ecks.ca] has joined #ruby
andreime [andreime!~andrei-ci@82.79.96.20] has joined #ruby
TheTFEF [TheTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.110.248] has joined #ruby
bearmouth [bearmouth!~Avi@pool-71-185-172-230.phlapa.fios.verizon.net] has joined #ruby
<bearmouth> I mean this in a completely non-inflammatory way: as a long-time Python programmer, what might I gain from using Ruby?
<bearmouth> disregarding modules/apps, since that's a whole nother can of beans
CodyMaverick [CodyMaverick!~cody@80.249.82.205] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
savage- [savage-!~savage-@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
Ofasho [Ofasho!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has quit [#ruby]
baniseer`sleep [baniseer`sleep!~baniseter@122.63.166.191] has joined #ruby
Cervajz [Cervajz!~Cervajz@opensuse/member/Cervajz] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
<Axsuul> is there a way to chain unless calls?... unless a and b
<bcnice20> u mean like unless a && b
<bcnice20> sum like unless a && b == "12"
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
Spockz [Spockz!~Spockz@21pc198.sshunet.nl] has joined #ruby
libertyprime [libertyprime!~libertypr@182.236.125.102] has joined #ruby
mcpierce|afk [mcpierce|afk!~mcpierce@99-178-171-244.lightspeed.rlghnc.sbcglobal.net] has joined #ruby
Guest24321 [Guest24321!~ed@212.59.167.161] has joined #ruby
arthurlockhart [arthurlockhart!~cinch@60-242-128-8.static.tpgi.com.au] has joined #ruby
Profit [Profit!~profit@c83-254-248-151.bredband.comhem.se] has joined #ruby
relix [relix!u2146@gateway/web/irccloud.com/x-xhugzjwtvusnfubp] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
Ttech [Ttech!ttech@botters/staff/ttech] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
frogstarr78 [frogstarr78!~frogstarr@lan.viviotech.net] has joined #ruby
Elfix [Elfix!elfix@wikipedia/pdpc.21for7.elfix] has joined #ruby
jhunter_ [jhunter_!jfigga@c-67-169-75-5.hsd1.ca.comcast.net] has joined #ruby
jl_2 [jl_2!~jl_2@184-96-250-167.hlrn.qwest.net] has joined #ruby
akl [akl!~akl@unaffiliated/akl-] has joined #ruby
Kiall [Kiall!~Kiall@kohana/developer/kiall] has joined #ruby
Guest64351 [Guest64351!~d_roge@97.107.137.179] has joined #ruby
Seventoes [Seventoes!~Seventoes@2607:f7c0:1:df60:d056:fb00:0:34] has joined #ruby
Corey [Corey!~Corey@freenode/staff/corey] has joined #ruby
dpritchett [dpritchett!~quassel@dpritchett.xen.prgmr.com] has joined #ruby
Nowaker [Nowaker!~nowaker@geozone.pl] has joined #ruby
KitsuneDrag0n [KitsuneDrag0n!~hats@biosshadow.com] has joined #ruby
conceal_rs [conceal_rs!~conceal_r@www9237u.sakura.ne.jp] has joined #ruby
Drakx [Drakx!~dunno@unaffiliated/drakx] has joined #ruby
cratchit [cratchit!~cratchit_@li89-229.members.linode.com] has joined #ruby
momo- [momo-!~momo@2.60.138.210.bn.2iij.net] has joined #ruby
joast [joast!~rick@76.178.187.164] has joined #ruby
eighty4 [eighty4!~eighty4@unaffiliated/eighty4] has joined #ruby
Quadlex [Quadlex!~quadlex@li23-6.members.linode.com] has joined #ruby
mpereira [mpereira!~mpereira@ec2-50-16-8-218.compute-1.amazonaws.com] has joined #ruby
hrwath [hrwath!slonik@ruby.hell.edu.pl] has joined #ruby
DefV [DefV!~Jan@2a02:d08:1002:100:881:5124:6028:4] has joined #ruby
mitchty [mitchty!~mitchty@ec2-50-19-41-37.compute-1.amazonaws.com] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.166.191] has joined #ruby
<andreime> noobish question about a && b == "12": does this check if a and b are both equal to 12 or (what i think) if a is and b is 12 ?
<bcnice20> it check if both a and b are not equal to 12
<bcnice20> use while if you want to check if they both are
<bcnice20> well not both
<bcnice20> one of them could be equal to 12 but as long as the other isn't that unless loop won't execute
<bcnice20> is i mean
Jackneill [Jackneill!~Jackneill@unaffiliated/jackneill] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.151.54] has joined #ruby
xpot [xpot!~xpot@166-70-100-198.ip.xmission.com] has joined #ruby
d3c [d3c!~d3c@4406ds2-abc.0.fullrate.dk] has joined #ruby
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
<Axsuul> what if I'm trying to do something like... unless a or b
netytan [netytan!~netytan@83.244.220.226] has joined #ruby
becom33 [becom33!~becom33@112.135.230.134] has joined #ruby
<bcnice20> well give a slightly more detailed example
<Axsuul> something similar to... if !a or !b
<ryanf> bcnice20: wtf
<bcnice20> unless a|b == w.e
<bcnice20> or unless (a or b) == w.e
<ryanf> why are you giving advice
<ryanf> a && b == "12" is the same thing as a && (b == "12")
<ryanf> i.e., a is truthy and b is equal to 12
Ammar01 [Ammar01!~hassaa10@gatej.mh.bbc.co.uk] has joined #ruby
<Axsuul> bcnice20: what if I'm just checking for boolean, not if equal to
<bcnice20> yea i forgot the parethesis my bad
<becom33> in http://pastebin.com/QYC43DmY I made a little prompt which takes commands . now I made use command to require a another module . but in that module I want to use the method names as commands . for a example "name" as command
<ryanf> Axsuul: just ignore everything he just said
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-170-1-1.lns5.ken.bigpond.net.au] has joined #ruby
<ryanf> becom33: you can use "send" for that
<becom33> ryan like how?
<ryanf> obj.send("name") is roughly equivalent to obj.name
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
<ryanf> obj.send("name", "arg1", "arg2") is obj.name("arg1", "arg2")
netytan [netytan!~netytan@83-244-220-243.cust-83.exponential-e.net] has joined #ruby
<bcnice20> hmm i don't really see why all that was necessary because i for to wrap a && b in parenthesis i was just tryin to help....
<bcnice20> its 4:15 n i've yet to sleep to myyyyyy baddd
<becom33> obj.send("name", "arg1", "arg2") is obj.name("arg1", "arg2") ryanf I cant use the name as the command insite the script . it has identify name method as a command without me naming it as name
sarmiena_ [sarmiena_!~aldosarmi@ip68-5-217-198.oc.oc.cox.net] has joined #ruby
<Axsuul> thanks for trying to help bcnice20
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
<becom33> ryanf: think it as 3rd party module someone trying to insert into a core application
<ryanf> bcnice20: it's good that you tried to help but misleading people who are asking for help is pretty bad imo
<sarmiena_> I'd like to override a class' method, but still refer back to the original http://pastie.org/3089208
<sarmiena_> is there a way to do this?
<ryanf> it is impossible that a && b == "12" could be saying anything about a equaling 12, no matter what the parens look like
<ryanf> sarmiena_: yes, using alias. alias creates a copy of the original method, so then you can call it under the aliased name
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
<sarmiena_> ryanf: fancy!
baniseer`sleep [baniseer`sleep!~baniseter@122.63.185.180] has joined #ruby
<ryanf> becom33: since send takes a string for the method name, you can break up the user input and pass it into send to invoke the appropriate command. maybe I'm misunderstanding what you're going for?
<sarmiena_> ryanf: out of curiousity, i've always been confused by the alias syntax (e.g "alias :start :on"). How is that syntactically correct?
<sarmiena_> there's no comma between then symbols
<ryanf> alias is a keyword, not a method call
<ryanf> you actually don't even need symbols
<ryanf> "alias new_name old_name" works fine
<becom33> ryanf: im using commands with "if" command == command , I cant put self.send(name ..) inside the script . name is a module which is 3rd party when run use mod . it includes the 3rd party modules in to the main script now I have use the "name" method as a script
<becom33> as a commad *
<ryanf> there's also alias_method, which actually is a method call. I have no idea why both of those exist
rpowell [rpowell!~rpowell@CPE-58-170-1-1.lns5.ken.bigpond.net.au] has joined #ruby
<sarmiena_> ryanf: interesting. not sure what keywords are. i'll take a look
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-170-1-1.lns5.ken.bigpond.net.au] has joined #ruby
<ryanf> just like "def" or whatever
<ryanf> or "class"
<ryanf> bits of special syntax
<sarmiena_> ahh interesting
<ryanf> becom33: I'm going to bed, sorry I couldn't help. hopefully someone else can
<becom33> aww
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has quit [#ruby]
freelanceful [freelanceful!~jamesfend@c-71-228-225-167.hsd1.tn.comcast.net] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
rpowell [rpowell!~rpowell@CPE-58-170-1-1.lns5.ken.bigpond.net.au] has joined #ruby
Norrin [Norrin!~Norrin@c-67-160-193-132.hsd1.ca.comcast.net] has quit [#ruby]
<Axsuul> oh yea, to answer my earlier question about "unless", it follows De Morgan's laws
<Axsuul> so... if !a and !b is equiv to .. unless a or b
sandelius [sandelius!~textual@90-231-202-62-no214.tbcn.telia.com] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.242.39] has joined #ruby
Nss [Nss!~nss@95.239.219.77] has joined #ruby
<krz> hmmm Time.at(1324339200000) returns funky
<krz> anyone know what I'm doing wrong?
<krz> trying to turn milliseconds to a date format
nkbuff [nkbuff!~nkbuff@dslb-178-005-209-169.pools.arcor-ip.net] has joined #ruby
pen [pen!~pen@2001:288:1001:28:75ed:8006:8619:eb0b] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
<krz> ok nvm. got it
<Axsuul> krz: is that a unix timestamp in milliseconds?
<krz> Time.at(1324339200000/1000).utc.strftime('%d') seems to work
<Axsuul> yea you need to convert it to unix timestamp in seconds
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
workmad3 [workmad3!~workmad3@cpc1-bagu10-2-0-cust81.1-3.cable.virginmedia.com] has joined #ruby
alagu [alagu!~alagu@unaffiliated/vegpuff] has joined #ruby
segora [segora!~marc@p5DD0CC58.dip.t-dialin.net] has joined #ruby
becom33 [becom33!~becom33@112.135.230.134] has quit [#ruby]
baniseer`sleep [baniseer`sleep!~baniseter@122.63.132.227] has joined #ruby
ixti [ixti!~ixti@88.Red-88-27-60.staticIP.rima-tde.net] has joined #ruby
gregorg_taf [gregorg_taf!~Greg@unaffiliated/gregorg] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
minhajuddin [minhajuddin!~minhajudd@183.83.132.165] has joined #ruby
minhajuddin [minhajuddin!~minhajudd@183.83.132.165] has quit [#ruby]
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
nonotza [nonotza!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
rpowell [rpowell!~rpowell@101.161.167.179] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.227.132] has joined #ruby
Ammar_Frameworks [Ammar_Frameworks!~hassaa10@gatek.thls.bbc.co.uk] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.220.213] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
seivan [seivan!~seivan@c-db4171d5.1510-2-64736c10.cust.bredbandsbolaget.se] has joined #ruby
Schmidt [Schmidt!~lsc@h-79-136-103-158.na.cust.bahnhof.se] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
pen [pen!~pen@140.112.30.137] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@122.63.201.226] has joined #ruby
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
Russell^^ [Russell^^!~Russell^^@88.97.51.87] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
humanpipecleaner [humanpipecleaner!~chatzilla@ip68-227-12-51.lv.lv.cox.net] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.196.239] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
niklasb [niklasb!~codeslay0@p5B3109C7.dip0.t-ipconnect.de] has joined #ruby
alagu1 [alagu1!~alagu@112.79.40.36] has joined #ruby
johanhsfy [johanhsfy!~johan@81-225-127-57-no201.tbcn.telia.com] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.225.82] has joined #ruby
johanhsfy [johanhsfy!~johan@81-225-127-57-no201.tbcn.telia.com] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
alagu [alagu!~alagu@122.166.163.45] has joined #ruby
alagu [alagu!~alagu@unaffiliated/vegpuff] has joined #ruby
alagu2 [alagu2!~alagu@122.166.163.45] has joined #ruby
moshef [moshef!~moshe@84.94.109.182.cable.012.net.il] has joined #ruby
baniseer`sleep [baniseer`sleep!~baniseter@115.189.225.82] has joined #ruby
alagu2 [alagu2!~alagu@122.166.163.45] has quit [#ruby]
<moshef> hi guys. I'm having a weird problem with mongo
Shamgar [Shamgar!~mbainter@adsl-76-233-97-132.dsl.rcsntx.sbcglobal.net] has joined #ruby
hzlocky [hzlocky!~me@dynamic-vpdn-46-53-167-34.telecom.by] has joined #ruby
<moshef> i notice a strange behavior on different env. mongo acts perfectly on local but when i test it on staging some stuff simply don't happen
<moshef> as in - adding new documents to collection / finding etc
_srp [_srp!~quassel@119.82.126.162] has joined #ruby
<moshef> mongo version is 1.8.2
<moshef> anything you can think off to relate to it?
CodyMaverick [CodyMaverick!~cody@80.249.82.205] has joined #ruby
Mchl [Mchl!~Mchl@h1881165560.rev.rootvps.pl] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
baniseer_ [baniseer_!~baniseter@115.189.219.162] has joined #ruby
dr_bob [dr_bob!~dr_bob@p5DC4FAAB.dip.t-dialin.net] has joined #ruby
p1d [p1d!~p1d@p5793CCA5.dip.t-dialin.net] has joined #ruby
marcol [marcol!~marcol@adsl-ull-47-223.50-151.net24.it] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
baniseer`sleep [baniseer`sleep!~baniseter@115.189.52.54] has joined #ruby
Shamgar [Shamgar!~mbainter@adsl-76-233-97-132.dsl.rcsntx.sbcglobal.net] has joined #ruby
Dreamer3 [Dreamer3!~Dreamer3@74-134-34-116.dhcp.insightbb.com] has joined #ruby
baniseer_ [baniseer_!~baniseter@115.189.241.16] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
jensn [jensn!~Jens@90-229-211-15-no150.tbcn.telia.com] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.241.16] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
flippingbits_ [flippingbits_!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
ikaros [ikaros!~ikaros@188.107.221.154] has joined #ruby
banister_ [banister_!~baniseter@115.189.197.102] has joined #ruby
paissad [paissad!~paissad@89-92-16-151.hfc.dyn.abo.bbox.fr] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
charlenopires [charlenopires!~quassel@186.194.13.186] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.168.244] has joined #ruby
oponder [oponder!~oponder@mail.memocom.nl] has joined #ruby
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
unda7V7erse [unda7V7erse!~unda7V7er@sto95-5-78-237-254-52.fbx.proxad.net] has joined #ruby
CodyLinux [CodyLinux!~cody@80.249.82.205] has joined #ruby
nanderoo [nanderoo!~nanders@38.124.137.226] has joined #ruby
Guest83248 [Guest83248!~awesome@212.62.202.84.customer.cdi.no] has joined #ruby
JohnBat26 [JohnBat26!~Eugene@89.175.77.90] has joined #ruby
SterNiX [SterNiX!~LessIsMor@2.176.219.174] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.192.123] has joined #ruby
tcurdt [tcurdt!~tcurdt@p5B03A322.dip.t-dialin.net] has joined #ruby
`brendan [`brendan!~b@66-208-246-34-ubr02b-waldlk01-mi.hfc.comcastbusiness.net] has joined #ruby
<`brendan> morning
<andreime> hello! I'm trying to do this Movie.find({'slug' =>
<andreime> hello! I'm trying to do this Movie.find({'slug' => '11'}) in a rspec file but it never returns somethig
<andreime> it's ruby with mongomapper
<andreime> any ideas what is happening?
<Okasu> andreime: forget about it
thebastl [thebastl!bastl@vserve.bastl.org] has joined #ruby
<Okasu> use mongoid
<andreime> Okasu: it's not an option unfortunately.... i have been tasked with writting some rspec tests and the code is spread in modules in 4 projects
banister_ [banister_!~baniseter@122.63.176.157] has joined #ruby
moshee [moshee!~moshee@c-50-135-229-127.hsd1.wa.comcast.net] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
dql [dql!~dql@58.38.85.71] has joined #ruby
jeekl [jeekl!~crz@unaffiliated/jeekl] has joined #ruby
johanhsfy [johanhsfy!~johan@81-225-127-57-no201.tbcn.telia.com] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
trivol [trivol!~aurelien@ip-178.net-89-2-84.rev.numericable.fr] has joined #ruby
seivan [seivan!~seivan@c-db4171d5.1510-2-64736c10.cust.bredbandsbolaget.se] has joined #ruby
Shamgar [Shamgar!~mbainter@adsl-76-233-97-132.dsl.rcsntx.sbcglobal.net] has joined #ruby
senny [senny!~senny@77-56-67-120.dclient.hispeed.ch] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
Jake232 [Jake232!~textual@5e02784b.bb.sky.com] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
enroxorz [enroxorz!~enroxorz@unaffiliated/enroxorz] has joined #ruby
peterhil [peterhil!~peterhil@xdsl-77-86-196-131.nebulazone.fi] has joined #ruby
dr_bob [dr_bob!~robert@p5DC4FAAB.dip.t-dialin.net] has joined #ruby
Ammar01 [Ammar01!~hassaa10@gatek.mh.bbc.co.uk] has joined #ruby
dr_bob [dr_bob!~robert@p5DC4FAAB.dip.t-dialin.net] has quit [#ruby]
Tachyon [Tachyon!~tach@81.200.61.23] has joined #ruby
dr_bob1 [dr_bob1!~dr_bob@p5DC4FAAB.dip.t-dialin.net] has joined #ruby
dr_bob [dr_bob!~robert@p5DC4FAAB.dip.t-dialin.net] has joined #ruby
dr_bob [dr_bob!~robert@p5DC4FAAB.dip.t-dialin.net] has quit [#ruby]
dr_bob1 [dr_bob1!~dr_bob@p5DC4FAAB.dip.t-dialin.net] has joined #ruby
boonedocks [boonedocks!~mike@68-115-235-85.static.spbg.sc.charter.com] has joined #ruby
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has joined #ruby
moshef [moshef!~moshe@84.94.109.182.cable.012.net.il] has joined #ruby
yfeldblum [yfeldblum!~Jay@pool-71-246-76-76.bltmmd.east.verizon.net] has joined #ruby
Manhose [Manhose!~Manhose@bl17-45-13.dsl.telepac.pt] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
jensn [jensn!~Jens@host-95-199-154-67.mobileonline.telia.com] has joined #ruby
railzor [railzor!~shai@84.94.109.182.cable.012.net.il] has joined #ruby
humanpipecleaner [humanpipecleaner!~chatzilla@ip68-227-12-51.lv.lv.cox.net] has joined #ruby
yekta [yekta!~yekta@c-24-1-182-219.hsd1.il.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
azbarcea__ [azbarcea__!~quassel@79.114.91.87] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
jensn [jensn!~Jens@host-95-199-155-238.mobileonline.telia.com] has joined #ruby
evantravers [evantravers!~textual@fw.luckie.net] has joined #ruby
probst [probst!~probst@bumblebee.cl.cam.ac.uk] has joined #ruby
dql [dql!~dql@58.38.85.71] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@c-76-105-54-37.hsd1.ca.comcast.net] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
king313 [king313!~king313@231.Red-81-34-72.dynamicIP.rima-tde.net] has joined #ruby
king313 [king313!~king313@unaffiliated/king313] has joined #ruby
vraa [vraa!~vraa@h188.182.213.151.dynamic.ip.windstream.net] has joined #ruby
<vraa> morning gents, i am trying to do a "puts" of a variable, but i find that for some reason it has stored the number and made it appear as 30k instead of 30000
jensn [jensn!~Jens@host-95-204-129-4.mobileonline.telia.com] has joined #ruby
<vraa> i have pastebined my code and sample output http://pastebin.com/4HFwGyRn
<vraa> you can see, i commented the line out, but i tried to do "price = price.float", lol but that did not work
<shevy> vraa, you should use pastie.org, it has much better colour highlighting than pastebin
<vraa> ah - gracias
<vraa> yes that looks much better!
<shevy> what does price contain at "price = page.body.match(/\$(.+)<\/a>/)" ?
<shevy> and the problem description is a bit odd
<shevy> where does 30k come from when the string would store 30000 ?
<vraa> if i ask it to just do 'puts price" instead of the price[1] it prints the entire "match data stuff"
<vraa> yeah that's what i was thinking, it should be printing the full number, not 30k, but 30000
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
surfdue [surfdue!surfdue@unaffiliated/surfdue] has joined #ruby
<shevy> that is very confusing what you write there ;)
<vraa> that's why i thought, hey maybe i gotta convert it to float or something, that was not the case
<shevy> nono I can't think of ruby ever doing any of that
<shevy> unless the original input would contain it
<shevy> http://www.something.com/invlist.php hmm does not exist, it is hard to reproduce your problem without data
<vraa> hahaha you're a genius you solved my problems
<vraa> when you said ruby wouldn't do that, you made me think, ruby will do exactly what i tell it to do
<Morkel> does anyone know a site like vimgolf for ruby?
<vraa> and i just realized, when i am doing the regex, it finds the first instance of what it's looking for
<vraa> unfortunately, that doesn't have the correct number, that's why 30k comes up, because somewhere else it actually says 30k on the site
<shevy> ah
<vraa> so basically i need to go further down the page :)
<shevy> so you caught the wrong part of that page?
<adman65> anyone know if there is something to replace ActiveSupport::Memoizable ?
<vraa> yes, thanks so much shevy you're a life saver, this was making me to rip out hair
<adman65> can't find anything in the stdlib
<shevy> well perhaps you can make the regex stricter ... like "needs to have at least 3x character 0"
<shevy> I forgot the syntax... something like 0{3} ... or similar ...
fra000 [fra000!~franc@net-93-144-221-159.cust.dsl.teletu.it] has joined #ruby
Spockz [Spockz!~Spockz@229pc197.sshunet.nl] has joined #ruby
<vraa> i dont want to be too strict on regex, i'm not an expert, but i didn't know you could do that, i'll google forthe syntax
rippa [rippa!~rippa@109-161-123-10.pppoe.yaroslavl.ru] has joined #ruby
<envygeeks> it is {3} or if you want to be less strict you can do something like {,3} which would amount to * upto 3 times
<yfeldblum> /0{3,}/
<rippa> 3 or more
rothsa [rothsa!~rothsa@71-92-108-49.dhcp.knwc.wa.charter.com] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
nanderoo [nanderoo!~nanders@38.124.137.226] has joined #ruby
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
bnewton [bnewton!~bnewton@cpe-66-68-94-56.austin.res.rr.com] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
Spockz [Spockz!~Spockz@21pc198.sshunet.nl] has joined #ruby
speggey [speggey!~speggey@62.95.122.142] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
ghosTM55 [ghosTM55!~ghosTM55@li279-245.members.linode.com] has joined #ruby
elliot98 [elliot98!~elliot@IGLD-84-229-15-130.inter.net.il] has joined #ruby
elliot98 [elliot98!~elliot@unaffiliated/elliot98] has joined #ruby
colint [colint!~ColinT@69-11-97-130.regn.static.sasknet.sk.ca] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
gregorg [gregorg!~Greg@unaffiliated/gregorg] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
oponder_ [oponder_!~oponder@mail.memocom.nl] has joined #ruby
Ammar01 [Ammar01!~hassaa10@gatek.mh.bbc.co.uk] has joined #ruby
th3g33k [th3g33k!~Adium@121.54.54.51] has joined #ruby
nbjoerg [nbjoerg!~joerg@netbsd/developer/joerg] has joined #ruby
csavola [csavola!~csavola@76-10-149-67.dsl.teksavvy.com] has joined #ruby
<nbjoerg> what's the correct way for configure scripts to find the location of ruby.h?
<rippa> everything is fixed already
<rippa> and didn't ork on 1.9 to start with
<th3g33k> so why are people still using 1.8.x?
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
<rippa> because migration is all sorts of pain
devdazed [devdazed!~russ_nyc@static-96-239-59-191.nycmny.fios.verizon.net] has joined #ruby
jensn [jensn!~Jens@host-95-200-58-51.mobileonline.telia.com] has joined #ruby
<th3g33k> is it that significant
<nbjoerg> depends on your environment
<Okasu> th3g33k: they are hipsters
<Okasu> thats why they using 1.8
<envygeeks> I use 1.8 because I'm retro
<th3g33k> hahaha
<th3g33k> retro
<Quadlex> I'm using Ruby2
<Quadlex> You've probably never heard of it
<Quadlex> </fedora>
<th3g33k> okasu: waddaya mean hipster
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
Tachyx [Tachyx!~tach@81.200.61.23] has joined #ruby
<Okasu> Quadlex: you are so hipster
<Okasu> th3g33k: for hipsters 1.9 too mainstream
<envygeeks> Jokes on him for thinking Ruby 2 is already Ruby 2 they just switched the versions, no real difference that's important yet
<Quadlex> We installed new UPS flywheels last night
<Quadlex> Made sure we have no gear boxes
<Quadlex> I prefer fixies
james_co_ [james_co_!~james_cot@217.113.171.162] has joined #ruby
<Quadlex> Oh, I don't host on Heroku. Too many data-miles.
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
rjm [rjm!~rjm@541FB173.cm-5-8c.dynamic.ziggo.nl] has joined #ruby
manizzle [manizzle!~manizzle@adsl-99-91-42-119.dsl.pltn13.sbcglobal.net] has joined #ruby
jensn [jensn!~Jens@host-95-198-135-80.mobileonline.telia.com] has joined #ruby
trivol [trivol!~aurelien@81.57.175.21] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
rjm [rjm!~rjm@541FB173.cm-5-8c.dynamic.ziggo.nl] has quit [#ruby]
hippiehacker [hippiehacker!~user@118.148.1.5] has joined #ruby
cpruitt [cpruitt!~cpruitt@190-186.126-70.tampabay.res.rr.com] has joined #ruby
vjacob [vjacob!~vjacob@87.61.170.233] has joined #ruby
fantazo [fantazo!~fantazo@178-191-169-183.adsl.highway.telekom.at] has joined #ruby
vraa [vraa!~vraa@h188.182.213.151.dynamic.ip.windstream.net] has joined #ruby
frist44_ [frist44_!~frist44@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
danishman [danishman!~kvirc@0x5da0ec2a.cpe.ge-0-1-0-1104.ronnqu1.customer.tele.dk] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
everyman_ [everyman_!~yuri@cm-5447.europronet.ba] has joined #ruby
virax [virax!~chatzilla@72.27.184.97] has joined #ruby
Jb__ [Jb__!~jb@ks364797.kimsufi.com] has joined #ruby
<virax> i need some help http://pastebin.com/7btqhG60
<virax> what can i do to fix this
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
benlangfeld [benlangfeld!~ben@unaffiliated/benlangfeld] has joined #ruby
<Okasu> virax: install dependecies
nyuszika7h [nyuszika7h!nyuszika7h@2001:4ba0:cafe:4d8::1] has quit ["leaving"]
<virax> Okasu: which dependecies are needed?
raffivar [raffivar!~raffivar@77.125.244.236] has joined #ruby
<Okasu> virax: read README
nbjoerg [nbjoerg!~joerg@netbsd/developer/joerg] has quit [#ruby]
<raffivar> hello, guys :)
<benlangfeld> Hey Raffi :)
<Okasu> hi there
frist44 [frist44!~frist44@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
jensn [jensn!~Jens@host-95-198-135-80.mobileonline.telia.com] has joined #ruby
<Okasu> guy, do you know any ruby opensource projects(not web)? except rbot
<Okasu> any notable*
<shevy> what
<raffivar> mmm does anybody know what do i do if i have the "you have to install development tools first" error, while trying to install a gem? (i already installed devkit...)
<shevy> rubinius
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
<raffivar> (i'm on windows 7, btw xD)
<shevy> raffivar that error is very unspecific. I suppose the gem wants you to compile something from source?
<benlangfeld> shevy: It's FFI that is causing the issue.
<Okasu> shevy: thats all?
<benlangfeld> raffivar: Paste the entire output when doing gem install ffi
<shevy> ah
<envygeeks> I thought stdlib had ffi now or is rubinius not 1.9?
<shevy> Okasu dunno, depends on what you want to do. how about ... ruby-gnome ... or ... rubygame ... or ...
<raffivar> alright, one sec
<benlangfeld> envygeeks: It's cruby 1.9.3
<Okasu> shevy: i whant to study ruby
<shevy> Okasu how about ... http://rubyforge.org/frs/?group_id=5096&release_id=17378 cgiexceptions
<Okasu> rbot is ok for that purpose
<Okasu> but i whant more
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
<envygeeks> if it's ruby 1.9+ just use Win32API >.<
frist44 [frist44!~frist44@c-69-253-163-29.hsd1.pa.comcast.net] has joined #ruby
<benlangfeld> envygeeks: Aruba uses ffi, not our choice especially :)
<envygeeks> ah okay
<benlangfeld> I, unfortunately, know very little about Windows
<envygeeks> With Win32API and a help doc from microsoft implementing dll's from microsoft is hella easy
<shevy> Okasu there is only one way to learn ruby. you must write ruby scripts
<benlangfeld> Okasu: You might check out Adhearsion. We're going through a big v2 refactoring right now :)
<envygeeks> looks to me like you might be missing the windows compile tools?
<benlangfeld> envygeeks: Where would those come from?
<rippa> raffivar: are you sure you installed it?
<rippa> did you run the install script?
<raffivar> well, i'm new to this, from what i've read on forums, i should go to rubyinstaller and get the devkit
<raffivar> which i did
<rippa> what you did with it?
thepix [thepix!~pix@213.195.183.80] has joined #ruby
<raffivar> then i extracted it
<Okasu> shevy: already, its pretty easy http://pastie.org/3078064
<raffivar> throught he command line, i went to the exctracted folder
<raffivar> then i typed "ruby dk.rb init", then "ruby dk.rb install"
<shevy> Okasu, you should align to next line instead. from "open(url) {|page| page_content = page.read()", make a newline before page_content
<raffivar> did i miss something? :S
<rippa> raffivar: did it find installed ruby?
<raffivar> yes.
<rippa> I don't know why it doesn't work then
<Okasu> shevy: yep, missing indents i know
<raffivar> wait, how do you check if it found it?
<raffivar> you go to the .yml file, right?
<raffivar> after "dk.rb init"
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
<raffivar> it says "- C:/Ruby193" in the config.yml file
<rippa> yes
<rippa> should work, dunno what's the deal
<raffivar> alright.. thanks anyways!
railzor [railzor!~shai@84.94.109.182.cable.012.net.il] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
[-mX-] [[-mX-]!~mx@76-220-97-57.lightspeed.fyvlar.sbcglobal.net] has joined #ruby
raffivar [raffivar!~raffivar@77.125.244.236] has joined #ruby
zalesz [zalesz!~zalesz@119-057-129.adsl.szeptel.net.pl] has joined #ruby
CreativeEmbassy [CreativeEmbassy!~CreativeE@h142.127.232.68.dynamic.ip.windstream.net] has joined #ruby
v1rax [v1rax!~chatzilla@72.27.46.64] has joined #ruby
fantazo_ [fantazo_!~fantazo@178-191-165-67.adsl.highway.telekom.at] has joined #ruby
philcrissman [philcrissman!~philcriss@206.57.45.116] has joined #ruby
<benlangfeld> Anyone else familiar with what's required to compile C extensions on windows?
eywu [eywu!~Adium@205-170-107-4.dia.static.qwest.net] has joined #ruby
<omry> got a global variable, how do I access it from a function defined in the same file (not in any class) ?
<rippa> just access it
<omry> says its not foud
<rippa> show you code
<omry> ./munin-graphite.rb:112:in `sleep1': undefined local variable or method `options' for main:Object (NameError)
<heftig> options is not global
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
<omry> its not?
<omry> what is it then?
<heftig> nope
<heftig> it's a local variable
<omry> okay, how do I make it global?
<heftig> $options would be global
<benlangfeld> $options
<omry> kk, thnaks
<benlangfeld> you really should pass it around rather than making it a global though
<omry> nah, I want to keep it a simple
<benlangfeld> oh, and tab indents are the devil's work
<omry> its a small script
<benlangfeld> that is simple, omry
<shevy> it already has +112 lines so it can't be that simple anymore ;P
<omry> :)
<benlangfeld> omry: Instead of this, you might wanna try throw/catch to escape https://github.com/omry/munin-graphite/blob/master/munin-graphite.rb#L60
<shevy> hmm anyone knows why ruby 'cgi' does not include 'cgi_exception'? that makes it much easier to work with ruby .cgi scripts
heeton [heeton!~alexheato@mail.bournston.co.uk] has joined #ruby
<heeton> Is there anyway to emulate stdin/out , on a line by line basis? If I use something like a StringIO object, I need to specific my entire input before I start playing with it
kenichi [kenichi!~kenichi@c-24-20-239-11.hsd1.or.comcast.net] has joined #ruby
<shevy> hmmm
<omry> benlangfeld, what do you mean? exit the loop by throwing an exception?
<benlangfeld> omry: No, by throwing a symbol. In ruby, you raise an exception, not throw one.
watchedman [watchedman!~Man@64.70.114.88] has joined #ruby
<rippa> heeton: you can append input into StringIO object
<rippa> with <<
jamiemill [jamiemill!~jamiemill@78-86-4-116.zone2.bethere.co.uk] has joined #ruby
<omry> :)
<omry> in my next script maybe
samer [samer!~chatzilla@12.217.161.66] has joined #ruby
everyman_ [everyman_!~yuri@cm-5447.europronet.ba] has joined #ruby
<benlangfeld> omry: Why not refactor this one? It should only take a minute :)
<heeton> rippa: silly for missing that! cheers
<omry> I have better things to do. it serves it purpose already :)
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
Jake232 [Jake232!~textual@5e02784b.bb.sky.com] has joined #ruby
interopcop [interopcop!~jason@li295-197.members.linode.com] has joined #ruby
friskd [friskd!~friskd@71-95-209-242.static.mtpk.ca.charter.com] has joined #ruby
akem [akem!~akem@164.15.85.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
DrShoggoth [DrShoggoth!~prakwtf@68-188-73-250.static.stls.mo.charter.com] has joined #ruby
<shevy> :D
<interopcop> how do I convert an array of object hashes: [#<ClassName id: 201, name: "First Class",...>,#<ClassName id: 202, name: "Second Class",...>,...] into a plain hash ["First Class" => 201, "Second Class" => 202...] ?[C
Araxia_ [Araxia_!~Araxia@173-164-68-213-Oregon.hfc.comcastbusiness.net] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
guns [guns!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
<shevy> those are hashes?
<rippa> interopcop: Hash[hash.map {|i| [i.name, i.id]}]
<rippa> interopcop: Hash[array.map {|i| [i.name, i.id]}]
<rippa> varname was misleading
<shevy> hehe
<shevy> hash = []
<shevy> array = {}
<interopcop> ah map. I couldn't figure out how a map did that. the [i.name, i.id] must be shorthand for "insert into a Hash i.name => i.id"
<interopcop> thanks a lot guys
enikar [enikar!~gil@cl-140.mrs-01.fr.sixxs.net] has joined #ruby
<rippa> interopcop: it's array
<rippa> output of map is arrays of arrays
<rippa> Hash#[] converts it to hash
jamiemill [jamiemill!~jamiemill@78-86-4-116.zone2.bethere.co.uk] has joined #ruby
<interopcop> what's an array?
<rippa> []
<rippa> a collection of values
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
james_cotterill [james_cotterill!~james_cot@89.238.149.34] has joined #ruby
<interopcop> I sais "insert into a Hash" I should have said "insert into an Array"?
<rippa> depends on wht you want
<rippa> hash and array are different containers
<interopcop> I want a collection of name-value pairs
<interopcop> ["First Class" => 201, "Second Class" => 202...]
<rippa> in array contents are addressed by numeric continuous keys
<shevy> with name-value pairs you need a Hash
<rippa> interopcop: that's a hash inside an array
<interopcop> so rippa, what did you mean "it's array"?
<interopcop> sorry I'm getting confused
<rippa> hash is {key => value, key2 => value2}
<rippa> array is [value1, value2]
<interopcop> ah so my use of [] instead of {} is the error
<interopcop> I gave an array of hashes I guess
<rippa> array of one hash
<interopcop> assuming ["First Class" => 201, "Second Class" => 202...] == [{"First Class" => 201}, {"Second Class" => 202,}...] implicitly
<rippa> ["First Class" => 201, "Second Class" => 202...] == [{"First Class" => 201, "Second Class" => 202,}...]
<rippa> ["First Class" => 201, "Second Class" => 202...] == [{"First Class" => 201, "Second Class" => 202, ...}]
<interopcop> ok cool
<interopcop> now, another question
savage- [savage-!~savage-@209.118.197.220] has joined #ruby
<interopcop> suppose I have a class ClassName
smgt [smgt!~simon@76.156.216.81.static.m-dp.siw.siwnet.net] has joined #ruby
<interopcop> and a string the_class = "ClassName"
<shevy> Object.const_get("ClassName")
jensn [jensn!~Jens@c-83-233-145-148.cust.bredband2.com] has joined #ruby
<rippa> Object.const_get(the_class)
<shevy> :D
<interopcop> shevy: cool so Object.const_get(the_class).all returns the same thing as ClassName.all in AR?
<shevy> hmm without reading it again and thinking, I say ... yes
<shevy> at least it should work as is, as you get the handle on the class/constant
<interopcop> and I suppose I need to wrap that in some sort of try/catch block for if the_class is not a real class name...
Zanacross [Zanacross!~Serenity@adsl-77-86-114-229.karoo.KCOM.COM] has joined #ruby
<interopcop> thanks this has been helpful
bier [bier!~bier@p579998B5.dip.t-dialin.net] has joined #ruby
<shevy> or begin/rescue
<rippa> catch does something different
<rippa> it's for use with throw
otters [otters!~Adium@208.102.195.210] has joined #ruby
<rippa> try does something different too
djacobs [djacobs!~acts_as_d@99-116-125-86.lightspeed.gnvlsc.sbcglobal.net] has joined #ruby
revans [revans!~revans@99-132-72-207.lightspeed.sndgca.sbcglobal.net] has joined #ruby
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
canton7 [canton7!~antony@dmale.plus.com] has joined #ruby
Spockz` [Spockz`!~Spockz@21pc198.sshunet.nl] has joined #ruby
surfdue [surfdue!surfdue@unaffiliated/surfdue] has quit ["Linkinus - http://linkinus.com"]
IrishGringo [IrishGringo!~chatzilla@c-71-229-99-200.hsd1.fl.comcast.net] has joined #ruby
cheesedanish [cheesedanish!~somebody@CPE001c1057f507-CM001868521c78.cpe.net.cable.rogers.com] has joined #ruby
confounds [confounds!~confounds@CPE78cd8e667600-CM78cd8e6675fd.cpe.net.cable.rogers.com] has joined #ruby
king313 [king313!~king313@unaffiliated/king313] has joined #ruby
d3c [d3c!~d3c@4406ds2-abc.0.fullrate.dk] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
silky [silky!~silky@pool-74-108-142-22.nycmny.fios.verizon.net] has joined #ruby
baroquebobcat [baroquebobcat!~nick@host-72-175-58-43.bln-mt.client.bresnan.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@174-27-233-214.slkc.qwest.net] has joined #ruby
flip_digits [flip_digits!~textual@c-76-122-14-228.hsd1.fl.comcast.net] has joined #ruby
Jake232 [Jake232!~textual@5e02784b.bb.sky.com] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
dcarper_ [dcarper_!~dcarper@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
dipnlik [dipnlik!~Adium@187.93.97.51] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
<dipnlik> hi. what gems do you consider well-written? i want to study their source code to learn code organization
Manhose_ [Manhose_!~Manhose@bl17-45-13.dsl.telepac.pt] has joined #ruby
moshef [moshef!~moshe@84.94.109.182.cable.012.net.il] has joined #ruby
<canton7> dipnlik: sinatra
DMKE [DMKE!~DMKE@pdpc/supporter/student/dmke] has joined #ruby
MekkisFreenode [MekkisFreenode!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
akem [akem!~akem@164.15.85.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
baroquebobcat [baroquebobcat!~nick@host-72-175-58-43.bln-mt.client.bresnan.net] has joined #ruby
<dipnlik> canton7: nice, thanks
kirun [kirun!~kirun@78-86-154-194.zone2.bethere.co.uk] has joined #ruby
josh [josh!~josh@74-95-43-126-Oregon.hfc.comcastbusiness.net] has joined #ruby
nowthatsamatt [nowthatsamatt!~nowthatsa@rrcs-71-43-23-18.se.biz.rr.com] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
TheIronWolf [TheIronWolf!~theironwo@208.90.215.35] has joined #ruby
mikekelly [mikekelly!~mike@ks391369.kimsufi.com] has joined #ruby
amerine [amerine!~mturner@67.204.184.82] has joined #ruby
kf8a [kf8a!~kf8a@user-33c730.user.msu.edu] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-206-85.mcn.bellsouth.net] has joined #ruby
tomzx [tomzx!~tomzx@dsl-132-26.aei.ca] has joined #ruby
everyman_ [everyman_!~yuri@cm-5447.europronet.ba] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
aantix [aantix!~jjones@50.0.102.2] has joined #ruby
dcarper_ [dcarper_!~dcarper@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
king313 [king313!~king313@unaffiliated/king313] has joined #ruby
tonini [tonini!~zastav@78-8.61-188.cust.bluewin.ch] has joined #ruby
ccooke [ccooke!~ccooke@spirit.gkhs.net] has joined #ruby
norex [norex!~quassel@41-133-103-104.dsl.mweb.co.za] has joined #ruby
flippingbits [flippingbits!~anonymous@ip-81-210-178-39.unitymediagroup.de] has joined #ruby
sarina [sarina!~sarina@213.129.230.10] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
tommyvyo_ [tommyvyo_!~tommyvyo@38.123.129.115] has joined #ruby
boonedocks [boonedocks!~mike@68-115-235-85.static.spbg.sc.charter.com] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
voodoofish430 [voodoofish430!~mtorres@208.76.2.200] has joined #ruby
virax [virax!~chatzilla@72.27.113.208] has joined #ruby
havenn [havenn!~skipper@pool-72-67-31-69.lsanca.fios.verizon.net] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
SterNiX [SterNiX!~LessIsMor@unaffiliated/nu253r/x-0655220] has joined #ruby
mike [mike!~mike@ks391369.kimsufi.com] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
sarmiena_ [sarmiena_!~aldosarmi@99-46-106-185.lightspeed.irvnca.sbcglobal.net] has joined #ruby
stephans [stephans!~stephans@209.66.114.6] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
moshef [moshef!~moshe@DSL212-235-34-160.bb.netvision.net.il] has joined #ruby
watchedman [watchedman!~Man@64.70.114.88] has quit [#ruby]
everyman_ [everyman_!~yuri@cm-5447.europronet.ba] has joined #ruby
dipnlik [dipnlik!~Adium@187.93.97.51] has quit [#ruby]
d3c_ [d3c_!~d3c@4406ds2-abc.0.fullrate.dk] has joined #ruby
hukl [hukl!~hukl@pdpc/supporter/professional/hukl] has joined #ruby
Seventoes [Seventoes!~Seventoes@2607:f7c0:1:df60:d056:fb00:0:34] has joined #ruby
Jonah11_ [Jonah11_!~Jonah@173-30-163-4.client.mchsi.com] has joined #ruby
<Jonah11_> is there a version of the index method specifically for sorted arrays which uses binary search?
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
zobar [zobar!~zobar@dhcp205-167-045.wireless.buffalo.edu] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
luxurymode [luxurymode!~luxurymod@pool-108-29-15-244.nycmny.fios.verizon.net] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
<zobar> I saw an ERB example in the Rails doc that uses an unfamiliar syntax & I can't find documentation for it anywhere…
<zobar> It looks like you can start a tag with <%Q
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
<zobar> and I'm also seeing %Q< as an end tag. http://bit.ly/sNizKh
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
<otters> that looks a bit suspicious
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
Guest83248 [Guest83248!~awesome@212.62.202.84.customer.cdi.no] has joined #ruby
daniel_hinojosa [daniel_hinojosa!~danno@67-0-103-21.albq.qwest.net] has joined #ruby
Evixion [Evixion!Evixion@67.235.68.96] has joined #ruby
zbrown [zbrown!~zbrown@rufius.xen.prgmr.com] has joined #ruby
everyman_ [everyman_!~yuri@cm-5447.europronet.ba] has joined #ruby
burgestrand [burgestrand!~burgestra@81-229-85-235-no66.tbcn.telia.com] has joined #ruby
Tuxist [Tuxist!~quassel@dyndsl-091-096-126-052.ewe-ip-backbone.de] has joined #ruby
<zobar> They seem to be using it throughout . . . it's even in the ERB section of ActionView::Base
rothsa [rothsa!~rothsa@71-92-108-49.dhcp.knwc.wa.charter.com] has joined #ruby
dcarper_ [dcarper_!~dcarper@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
ngng [ngng!~ng@c-98-210-117-31.hsd1.ca.comcast.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
atmosx [atmosx!~textual@79.103.90.84.dsl.dyn.forthnet.gr] has joined #ruby
raffivar [raffivar!raffivar@77.126.130.173] has joined #ruby
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
_raffivar_ [_raffivar_!raffivar@77.124.242.221] has joined #ruby
<srid> is it possible to make 'bundler install' NOT delete the gems from vendor/cache? I have a single cache dir and other ruby projects smylink to it.
felipe [felipe!~felipe@unaffiliated/felipe] has joined #ruby
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
carlyle [carlyle!~carlyle@216.133.69.20] has joined #ruby
aroman_ [aroman_!~Avi@pool-71-185-172-230.phlapa.fios.verizon.net] has joined #ruby
DMKE [DMKE!~DMKE@pdpc/supporter/student/dmke] has joined #ruby
cheesedanish [cheesedanish!~somebody@CPE001c1057f507-CM001868521c78.cpe.net.cable.rogers.com] has joined #ruby
<zobar> I think I solved the mystery: that syntax is in the generated documentation on api.rubyonrails.org, but not the rdoc in the actionpack gem
gayasentinel [gayasentinel!~gayasenti@46.21.207.167] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
cjlicata [cjlicata!~carlyle@rrcs-96-10-255-203.midsouth.biz.rr.com] has joined #ruby
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
Faris [Faris!~Faris@41.248.192.147] has joined #ruby
rickmasta [rickmasta!~rickmasta@pool-108-21-213-102.nycmny.fios.verizon.net] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
yekta [yekta!~yekta@c-24-1-182-219.hsd1.il.comcast.net] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
centipedefarmer [centipedefarmer!~centipede@74-84-107-90.client.mchsi.com] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
_guns_ [_guns_!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
radic_ [radic_!~radic@dslb-178-002-219-086.pools.arcor-ip.net] has joined #ruby
jbpros [jbpros!~jbpros@15-178-112-217.dyn.adsl.belcenter.be] has joined #ruby
carlyle [carlyle!~carlyle@rrcs-96-10-255-203.midsouth.biz.rr.com] has joined #ruby
Schmidt [Schmidt!~lsc@h-11-69.a254.priv.bahnhof.se] has joined #ruby
netytan [netytan!~user@host86-189-12-199.range86-189.btcentralplus.com] has joined #ruby
aetaric [aetaric!~aetaric@74-130-83-237.dhcp.insightbb.com] has joined #ruby
jhunter [jhunter!~jtown@c-67-169-75-5.hsd1.ca.comcast.net] has joined #ruby
somebody_ [somebody_!~somebody@CPE001c1057f507-CM001868521c78.cpe.net.cable.rogers.com] has joined #ruby
somebody_ [somebody_!~somebody@CPE001c1057f507-CM001868521c78.cpe.net.cable.rogers.com] has quit [#ruby]
cheesedanish [cheesedanish!~somebody@CPE001c1057f507-CM001868521c78.cpe.net.cable.rogers.com] has joined #ruby
__guns__ [__guns__!~guns@c-98-228-72-208.hsd1.il.comcast.net] has joined #ruby
cheesedanish [cheesedanish!~somebody@CPE001c1057f507-CM001868521c78.cpe.net.cable.rogers.com] has quit ["Leaving"]
Jake232 [Jake232!~textual@5e02784b.bb.sky.com] has joined #ruby
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
Rod [Rod!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
irvken [irvken!~sean@cpc5-hawk12-2-0-cust76.aztw.cable.virginmedia.com] has joined #ruby
<irvken> how can I tell if I have ruby installed locally on my ubuntu machine
<irvken> where is the best place to ask newbie questions
<Boohbah> #ubuntu
SegFaultAX|work [SegFaultAX|work!~mkbernard@173.228.45.162] has joined #ruby
andrewhl [andrewhl!~andrew@CPE687f7402a2d8-CM00195ed25a2a.cpe.net.cable.rogers.com] has joined #ruby
xcyclist [xcyclist!~xeno@rev-66-150-171-4.rhapsody.com] has joined #ruby
<xcyclist> I'm looking for a very simple way to set up .rhtml or .html.erb files for simple internal tools external of frameworks. It used to be so simple.
<xcyclist> Now there seems to be no robust and simple way to do this in apache. Someone suggested rack.
<xcyclist> But the rack docs seem obscure and I find no tutorials.
rramsden [rramsden!~rramsden@s64-180-62-209.bc.hsia.telus.net] has joined #ruby
headius [headius!~headius@71-210-151-185.mpls.qwest.net] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
tommyvyo [tommyvyo!~tommyvyo@38.123.129.115] has joined #ruby
logic [logic!~logic@unaffiliated/bitch333z] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.222.160] has joined #ruby
king313 [king313!~king313@unaffiliated/king313] has joined #ruby
fris [fris!~email@d24-141-68-148.home.cgocable.net] has joined #ruby
Mahoek [Mahoek!~Mahoek@ip51ceb6d4.adsl-surfen.hetnet.nl] has joined #ruby
freenodiz [freenodiz!~IceChat77@unaffiliated/freenodiz] has joined #ruby
CodeZombie [CodeZombie!~CodeZombi@65.19.245.153] has joined #ruby
j3r0m3 [j3r0m3!~j3r0m3@216.70.183.64] has joined #ruby
<CodeZombie> hi, I've been tasked with converting a c# script into ruby, and I'm not exactly a c# developer. I was wondering, if anyone would be able to explain how to convert a byte array created by "new byte[0x10]" into a ruby array. I understand that strings can be converted using "string".bytes.to_a, but since this is effectivley "empty", I'm not sure how to go about it.
<freenodiz> Hello!I need some help from the gurus.I'm setting my server to work with unicorn and nginx.I have installed everything,set conf files ,initialized both unicorn and nginx.it seems all good,apart the fact i get a 403 error when accessing the url www.onlinecreate.biz ,any ideas?
<vraa> freenodiz, i also get 403 error when accessing that site
ianbrandt [ianbrandt!~ianbrandt@99-111-99-153.uvs.sndgca.sbcglobal.net] has joined #ruby
<Okasu> me too
<freenodiz> yeap,me too.i think i have an issue with unicorn.you thing if i show you the error logs of unicorn,you could give me atip what is going on?
<baroquebobcat> CodeZombie: that creates a byte array of length 16. If you need the array to be that size, you can create it with Array.new(16)
ryh [ryh!~ryh@216.228.48.198] has joined #ruby
<CodeZombie> baroquebobcat, ah!
<CodeZombie> much thanks to you!
bugmenot_ [bugmenot_!~yuri@cm-5447.europronet.ba] has joined #ruby
<CodeZombie> It's been ages since I've done any type of c++/c#, and what I've done is just stupidly simple stuff.
<CodeZombie> again, thanks
<freenodiz> my unicorn log https://gist.github.com/1536082
jay_zawrotny [jay_zawrotny!~Jay@50-77-200-126-static.hfc.comcastbusiness.net] has joined #ruby
<Okasu> slowby or rupoke :)
<shevy> speed speed speed
<shevy> hmm Ada faster than C?
tvw [tvw!~tv@e176008017.adsl.alicedsl.de] has joined #ruby
fixl [fixl!~fixl@124-170-40-48.dyn.iinet.net.au] has joined #ruby
mengu [mengu!~mengu@95.13.68.170] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
d3c [d3c!~d3c@4406ds2-abc.0.fullrate.dk] has joined #ruby
bnewton [bnewton!~bnewton@64.134.24.100] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.222.160] has joined #ruby
beakerman [beakerman!~beakerman@c-76-118-172-173.hsd1.nh.comcast.net] has joined #ruby
ryanf [ryanf!~revfitz@50.0.160.40] has joined #ruby
<Okasu> ada is superior military language
<Okasu> ofcourse its faster than C
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
banisterfiend [banisterfiend!~baniseter@115.189.222.160] has joined #ruby
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
philcrissman [philcrissman!~philcriss@206.57.45.116] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
<shevy> superior eh
dhodgkin [dhodgkin!~dhodgkin@cpe-76-179-199-112.maine.res.rr.com] has joined #ruby
<shevy> from 23.46 to 22.27 seconds
<shevy> that's superior ?
Shamgar [Shamgar!~mbainter@adsl-99-152-206-210.dsl.rcsntx.sbcglobal.net] has joined #ruby
<Okasu> shevy: do you know language doing that faster?
<shevy> none superior one
<shevy> almost 1.20 seconds, man that is superior
<Okasu> yeah, none superior one, you raight
<shevy> light travels 359750km in that superior time gap
<shevy> future space craft will have a strong ADA foundation
cjlicata [cjlicata!~carlyle@rrcs-96-10-255-203.midsouth.biz.rr.com] has joined #ruby
carbncl [carbncl!~carbncl@bne75-3-82-225-142-80.fbx.proxad.net] has joined #ruby
BrianE [BrianE!~brian@188-220-10-235.zone11.bethere.co.uk] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
gen0cide_ [gen0cide_!~TigerBloo@Wilkins3.static.monkeybrains.net] has joined #ruby
<fris> im trying to install passenger, here is the error i get, dont know if anyone can assist, http://pastebin.com/kBd6pzSZ
BrianE [BrianE!~brian@188-220-10-235.zone11.bethere.co.uk] has joined #ruby
<Okasu> fris: this is ot a ruby problem
<Okasu> not*
PaciFisT [PaciFisT!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
Indian [Indian!~Indian@unaffiliated/londonmet050] has joined #ruby
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
<fris> k
fris [fris!~email@d24-141-68-148.home.cgocable.net] has quit [#ruby]
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
mickn [mickn!~mickn@unaffiliated/mickn] has joined #ruby
cachemoney [cachemoney!~cachemone@71-94-132-42.static.mtpk.ca.charter.com] has joined #ruby
sparc [sparc!sparc@68.186.35.162] has joined #ruby
youdonotexist [youdonotexist!~youdonote@c-67-166-121-94.hsd1.ut.comcast.net] has joined #ruby
TaTonka [TaTonka!~TaTonka@p4FCB3A69.dip.t-dialin.net] has joined #ruby
ebeard [ebeard!~ebeard@c-66-177-172-44.hsd1.fl.comcast.net] has joined #ruby
zakwilson [zakwilson!~quassel@c-69-180-70-100.hsd1.fl.comcast.net] has joined #ruby
jackhammer2022 [jackhammer2022!~textual@c-76-119-13-121.hsd1.ma.comcast.net] has joined #ruby
dcarper_ [dcarper_!~dcarper@c-76-125-233-64.hsd1.pa.comcast.net] has joined #ruby
netytan [netytan!~user@host86-189-12-199.range86-189.btcentralplus.com] has joined #ruby
amerine [amerine!~mturner@67.204.184.82] has joined #ruby
shevy [shevy!~shevy@178-191-252-75.adsl.highway.telekom.at] has joined #ruby
rottenrec1 [rottenrec1!~ADMIN@75-140-8-252.static.rvsd.ca.charter.com] has joined #ruby
albedoa [albedoa!~albedoa@nv-71-53-164-166.dhcp.embarqhsd.net] has joined #ruby
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
ReTFEF [ReTFEF!JS@cpe-173-88-110-115.columbus.res.rr.com] has joined #ruby
Manhose__ [Manhose__!~Manhose@bl17-45-13.dsl.telepac.pt] has joined #ruby
x0F__ [x0F__!~x0F@unaffiliated/x0f] has joined #ruby
lusory [lusory!~bart@bb115-66-195-54.singnet.com.sg] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
DarthGandalf [DarthGandalf!~Vetinari@znc/developer/DarthGandalf] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@ool-4571cba8.dyn.optonline.net] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
CannedCorn [CannedCorn!~textual@adsl-108-132-112-41.mia.bellsouth.net] has joined #ruby
Jonah11_ [Jonah11_!~Jonah@173-30-163-4.client.mchsi.com] has joined #ruby
rottenrec1 [rottenrec1!~ADMIN@75-140-8-252.static.rvsd.ca.charter.com] has quit [#ruby]
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
bigkm [bigkm!~bigkm@203-206-185-71.perm.iinet.net.au] has joined #ruby
<trend> is there a __toString method in ruby like there is in other languages?
MissionCritical [MissionCritical!~MissionCr@unaffiliated/missioncritical] has joined #ruby
banisterfiend [banisterfiend!~baniseter@122.63.152.203] has joined #ruby
<canton7> trend, to_s
j3r0m3 [j3r0m3!~j3r0m3@c-24-23-30-38.hsd1.ca.comcast.net] has joined #ruby
banister_ [banister_!~baniseter@122.63.148.119] has joined #ruby
<trend> thanks canton :)
Jakee` [Jakee`!~Jakee`@5ad317fe.bb.sky.com] has joined #ruby
t-mart [t-mart!~t-mart@c-174-49-68-22.hsd1.ga.comcast.net] has joined #ruby
yfeldblum [yfeldblum!~Jay@c-98-218-48-253.hsd1.md.comcast.net] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
mmokrysz [mmokrysz!~mmokrysz@pdpc/supporter/student/mmokrysz] has quit [#ruby]
joe-mac1 [joe-mac1!~mickysanc@c-24-128-49-234.hsd1.ma.comcast.net] has joined #ruby
conor_ireland [conor_ireland!~conor_ire@89.100.121.49] has joined #ruby
Codif [Codif!~codif@84.120.204.160.dyn.user.ono.com] has joined #ruby
<joe-mac1> is it possible to dynamically create accessors for a class from inside the class?
<banister_> joe-mac1: Yeah
<banister_> joe-mac1: attr_accessor :pig
<joe-mac1> banister_: yea I just didn't know if I could do it in this scenario, I've never done this
<banister_> joe-mac1: try it
<joe-mac1> yea about to
<banister_> in irb or whatever
trend [trend!~trend@97-81-69-219.dhcp.athn.ga.charter.com] has joined #ruby
v0n [v0n!~v4n@2607:fad8:4:0:21e:8cff:fe4d:2f7d] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
<ryanf> joe-mac1: if you're inside an instance method you can do self.class.send(:attr_accessor, :pig)
<joe-mac1> ryanf: thanks for the tip
Sailias [Sailias!~jonathan@CPE0018f85e576d-CM001bd7aaaf96.cpe.net.cable.rogers.com] has joined #ruby
Rod_ [Rod_!~Rod@c-71-205-48-69.hsd1.mi.comcast.net] has joined #ruby
MUILTR [MUILTR!~MLINTH@adsl-98-80-223-69.mcn.bellsouth.net] has joined #ruby
axilla [axilla!~axilla@c-71-234-169-157.hsd1.vt.comcast.net] has quit ["Leaving"]
jbpros_ [jbpros_!~jbpros@199-177-112-217.dyn.adsl.belcenter.be] has joined #ruby
sparc [sparc!sparc@68.186.35.162] has joined #ruby
workmad3 [workmad3!~workmad3@host-84-13-69-129.opaltelecom.net] has joined #ruby
fatnic388 [fatnic388!~fatnic388@027c5fd6.bb.sky.com] has joined #ruby
aBound [aBound!~levy@cpe-76-169-9-64.socal.res.rr.com] has joined #ruby
amerine [amerine!~mturner@bc171197.bendcable.com] has joined #ruby
aBound [aBound!~levy@cpe-76-169-9-64.socal.res.rr.com] has quit [#ruby]
<joe-mac1> how do you test a private method in irb?
king535 [king535!~king313@unaffiliated/king313] has joined #ruby
PaciFisT [PaciFisT!~PeaCE@CPE602ad06de6b3-CM602ad06de6b0.cpe.net.cable.rogers.com] has joined #ruby
dagnachewa [dagnachewa!~dagnachew@modemcable142.238-179-173.mc.videotron.ca] has joined #ruby
<joe-mac1> nm
<joe-mac1> need to refresh on some concepts here, I'm doin it wrong
<joe-mac1> thanks, see ya
norex [norex!~quassel@41-133-103-104.dsl.mweb.co.za] has joined #ruby
joe-mac1 [joe-mac1!~mickysanc@c-24-128-49-234.hsd1.ma.comcast.net] has quit [#ruby]
apok [apok!~apok@96.24.67.22] has joined #ruby
<any-key> there's not really such a thing as private methods...
<any-key> never mind
statarb3 [statarb3!~CoreD@546A56AA.cm-12-3b.dynamic.ziggo.nl] has joined #ruby
statarb3 [statarb3!~CoreD@unaffiliated/statarb3] has joined #ruby
<any-key> Boohbah: reading that right now
<any-key> I've never had a need for them
d3c_ [d3c_!~d3c@4406ds2-abc.0.fullrate.dk] has joined #ruby
<rhett_> any-key!
* Boohbah presses any-key
<any-key> hey!
<Boohbah> :D
<any-key> rhett_: haven't run into you in a while
xcyclist [xcyclist!~xeno@rev-66-150-171-4.rhapsody.com] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
robert_ [robert_!~hellspawn@objectx/robert] has joined #ruby
tvw [tvw!~tv@e176008017.adsl.alicedsl.de] has joined #ruby
arthurlockhart [arthurlockhart!~cinch@60-242-128-8.static.tpgi.com.au] has joined #ruby
beilabs [beilabs!~jonathan@ppp59-167-171-134.static.internode.on.net] has joined #ruby
theRoUS [theRoUS!~KenCoar@apache/committer/coar] has joined #ruby
<Azure> parts = [head, bio, location, desc, flags].map {|e| e.is_a? Array ? e.to_sentence : e }.reject(&:blank?)
<CodeZombie> hey guys, I can't seem to find any information on this... dealing with encrypted data from a c# application, wich is applying a padding mode PKCS7, from what I've read OpenSSL::Cipher uses PKCS5 by default. How would I specify the proper padding mode in ruby?
<Azure> Assuming that "head", "bio", and "location" are strings, "desc" and "flags" are arrays
<Azure> why would e.to_sentence be called on the strings?
<CodeZombie> this is where I've been getting most of my info for openssl::cipher in ruby http://www.ruby-doc.org/stdlib-1.9.3/libdoc/openssl/rdoc/OpenSSL/Cipher.html
<CodeZombie> Azure: I'm afraid the docs method definitions don't help me much, here's my current ssl implementation w/ the c# counterpart: https://gist.github.com/29e39e12d6b441713fa8
<CodeZombie> I'm not exactly familiar with this, so I appreciate any help you could offer
<CodeZombie> updated the gist to remove some digest stuff I was playing with
<Azure> That's all that I can really find anyway.
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
cousine [cousine!~cousine@196.221.242.180] has joined #ruby
gnusosa [gnusosa!~cisosa@unaffiliated/gnusosa] has joined #ruby
<gnusosa> Hi, is there anyway to include an .so to a C binding in extconf.rb?