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/
stepnem [stepnem!~stepnem@176.119.broadband10.iol.cz] has joined #ruby
fenix268 [fenix268!~fenix268@CPE00222d5a77f0-CM00222d5a77ed.cpe.net.cable.rogers.com] has joined #ruby
fenix268 [fenix268!~fenix268@CPE00222d5a77f0-CM00222d5a77ed.cpe.net.cable.rogers.com] has joined #ruby
fenix268 [fenix268!~fenix268@CPE00222d5a77f0-CM00222d5a77ed.cpe.net.cable.rogers.com] has joined #ruby
fenix268 [fenix268!~fenix268@CPE00222d5a77f0-CM00222d5a77ed.cpe.net.cable.rogers.com] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@ool-4571cba8.dyn.optonline.net] has joined #ruby
mikeycgto [mikeycgto!~mikeycgto@pdpc/supporter/active/mikeycgto] has joined #ruby
marcoshack [marcoshack!~marcoshac@c9345b97.virtua.com.br] has joined #ruby
marcoshack [marcoshack!~marcoshac@c9345b97.virtua.com.br] has quit [#ruby]
fenix268 [fenix268!~fenix268@CPE00222d5a77f0-CM00222d5a77ed.cpe.net.cable.rogers.com] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
fenix268 [fenix268!~fenix268@CPE00222d5a77f0-CM00222d5a77ed.cpe.net.cable.rogers.com] has joined #ruby
fenix268 [fenix268!~fenix268@CPE00222d5a77f0-CM00222d5a77ed.cpe.net.cable.rogers.com] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@28-73-252-216.dsl.colba.net] has joined #ruby
celestius [celestius!~celestius@173-228-44-97.dsl.static.sonic.net] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
statix [statix!~statix@rrcs-208-125-52-150.nys.biz.rr.com] has joined #ruby
mklappstuhl [mklappstuhl!~mklappstu@p5B2C4C4A.dip.t-dialin.net] has joined #ruby
herval [herval!~Adium@177.99.66.229] has joined #ruby
_main_ [_main_!~main@adsl-99-173-15-158.dsl.pltn13.sbcglobal.net] has joined #ruby
mxweas [mxweas!~max@rrcs-72-43-96-54.nyc.biz.rr.com] has joined #ruby
herval [herval!~Adium@177.99.66.229] has quit [#ruby]
tomzx [tomzx!~tomzx@ppp-53-5.mtl.contact.net] has joined #ruby
ilyam [ilyam!~ilyam@2620:65:0:281:cda7:2992:9bd9:e3a9] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
danibx [danibx!~danibx@187.104.236.95] has joined #ruby
jlogsdon [jlogsdon!~jlogsdon@38.110.6.187] has joined #ruby
MasterIdler__ [MasterIdler__!~MasterIdl@static-66-225-153-161.ptr.terago.net] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
milkpost [milkpost!~dec@173-28-195-157.client.mchsi.com] has joined #ruby
zetsubo [zetsubo!~zets@cpe-74-79-66-80.twcny.res.rr.com] has joined #ruby
<zetsubo> does ruby not have primitive data types?
tatsuya_o [tatsuya_o!~tatsuya_o@46-64-51-175.zone15.bethere.co.uk] has joined #ruby
nari [nari!~nari@2001:268:306:1:88a4:90ff:feb3:cc17] has joined #ruby
cdepue [cdepue!~cdepue@186.8.146.211] has joined #ruby
vraa [vraa!~vraa@c-76-30-144-32.hsd1.tx.comcast.net] has joined #ruby
mxweas [mxweas!~max@rrcs-72-43-96-54.nyc.biz.rr.com] has joined #ruby
moted [moted!~ryan@c-98-246-106-150.hsd1.or.comcast.net] has joined #ruby
<banisterfiend> zetsubo: in what sense
hasrb [hasrb!~hasrb@108-85-134-26.lightspeed.austtx.sbcglobal.net] has joined #ruby
<zetsubo> banisterfiend: um, I guess it's not even relevant considering how everything in ruby is handled like an object... just started working with the language a few days ago and still trying to wrap my head around everything
marcoshack [marcoshack!~marcoshac@c9345b97.virtua.com.br] has joined #ruby
<zetsubo> I guess I'm still thinking of things in terms of how C++ and java handle things
dasfugufish [dasfugufish!~Adium@64-184-232-153.mammothnetworks.com] has joined #ruby
<banisterfiend> zetsubo: well ruby has objects called 'immediates' that are a little different to regular objects in some ways, and are in some sense more primitive :) things like Fixnum, Symbol, true, false, nil, etc
<banisterfiend> zetsubo: but they still inherit the full set of methods from Object
<zetsubo> hm, I noticed that when looking at them with .super
<kenneth> does ruby not make a copy of arguments when passed into a funciton?
<zetsubo> err superclass
<zetsubo> kenneth: I think it clones the object used as an argument
<RubyPanther> we only have pass by reference
<RubyPanther> and immediate values
ckrailo [ckrailo!~ckrailo@leotoughbks.utdallas.edu] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
nvez [nvez!~textual@bas1-montreal54-1167956059.dsl.bell.ca] has joined #ruby
nvez [nvez!~textual@unaffiliated/nvez] has joined #ruby
robyurkowski [robyurkowski!~robyurkow@28-73-252-216.dsl.colba.net] has joined #ruby
kf8a [kf8a!~kf8a@dslfw4.mei.net] has joined #ruby
huxtable [huxtable!~huxtable@108-90-18-133.lightspeed.cicril.sbcglobal.net] has joined #ruby
cbuxton [cbuxton!~Adium@nat/partnerpedia/x-kkcsxrzgslontiyq] has joined #ruby
<shevy> and by yodeling
hadees [hadees!~hadees@72-48-91-73.dyn.grandenetworks.net] has joined #ruby
<banisterfiend> shevy: hey marcus
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
<shevy> let me yodel
namidark [namidark!~namidark@c-98-230-1-143.hsd1.fl.comcast.net] has joined #ruby
tilde` [tilde`!~tilde@host191-184-dynamic.19-79-r.retail.telecomitalia.it] has joined #ruby
mklappstuhl [mklappstuhl!~mklappstu@p5B2C4C4A.dip.t-dialin.net] has joined #ruby
samsonjs [samsonjs!~samsonjs@184.66.154.246] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
hasrb [hasrb!~hasrb@108-85-134-26.lightspeed.austtx.sbcglobal.net] has joined #ruby
LiquidInsect [LiquidInsect!~billabney@50-0-135-178.dedicated.static.sonic.net] has joined #ruby
zetsubo [zetsubo!~zets@cpe-74-79-66-80.twcny.res.rr.com] has joined #ruby
zetsubo [zetsubo!~zets@bingcsmajors/rainbows-cupcakes-unicorns] has joined #ruby
zetsubo [zetsubo!~zets@bingcsmajors/rainbows-cupcakes-unicorns] has quit [#ruby]
akem [akem!~akem@unaffiliated/akem] has joined #ruby
wroathe [wroathe!~wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
trend [trend!~trend@rrcs-76-79-188-47.west.biz.rr.com] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@149.147.215.210] has joined #ruby
dasfugufish [dasfugufish!~Adium@64-184-232-153.mammothnetworks.com] has joined #ruby
mxweas [mxweas!~max@rrcs-72-43-96-54.nyc.biz.rr.com] has joined #ruby
brownies- [brownies-!~brownies@216.38.150.34] has joined #ruby
herval [herval!~Adium@177.99.66.229] has joined #ruby
herval [herval!~Adium@177.99.66.229] has quit [#ruby]
michael_mbp [michael_mbp!~Marin@149.147.237.122] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
cdepue [cdepue!~cdepue@186.8.192.53] has joined #ruby
davidcelis [davidcelis!~david@c-76-115-58-79.hsd1.or.comcast.net] has joined #ruby
thomasdebenning [thomasdebenning!~thomasdeb@c-69-181-139-137.hsd1.ca.comcast.net] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
nobitanobi [nobitanobi!~novito@173-164-143-45-SFBA.hfc.comcastbusiness.net] has joined #ruby
<nobitanobi> What would be a good way to generate a confirmation code? I need it to send it to users in order to confirm an account
aroop [aroop!~aroop@50.46.157.247] has joined #ruby
newbold [newbold!~adam@2002:4a86:1bda:0:8d9:5069:7174:7ede] has joined #ruby
mklappstuhl [mklappstuhl!~mklappstu@p5B2C4C4A.dip.t-dialin.net] has joined #ruby
pac1 [pac1!~pac1@pool-96-233-75-235.bstnma.fios.verizon.net] has joined #ruby
fenix268 [fenix268!~fenix268@user254-7.wireless.utoronto.ca] has joined #ruby
fenix268 [fenix268!~fenix268@user254-7.wireless.utoronto.ca] has joined #ruby
fenix268 [fenix268!~fenix268@user254-7.wireless.utoronto.ca] has joined #ruby
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
jcromartie [jcromartie!~jcromarti@c-69-140-238-182.hsd1.md.comcast.net] has joined #ruby
<waxjar> the md5 of the sign up date time ?
stephans [stephans!~stephans@209.66.114.6] has joined #ruby
carlyle [carlyle!~carlyle@2602:306:37ff:180:e6ce:8fff:fe27:d2a4] has joined #ruby
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
nerdy [nerdy!~textual@66-44-118-195.c3-0.grg-ubr1.lnh-grg.md.cable.rcn.com] has joined #ruby
dasfugufish [dasfugufish!~Adium@64-184-232-153.mammothnetworks.com] has joined #ruby
banister_ [banister_!~baniseter@115.189.37.117] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
shadoi [shadoi!~Adium@2001:5a8:4:68e1:d12:8803:fde4:e687] has joined #ruby
fayimora [fayimora!~fayimora@95.175.159.12] has joined #ruby
zakwilson [zakwilson!~quassel@d037109.adsl.hansenet.de] has joined #ruby
mdel_ [mdel_!~mdel@pool-71-175-17-16.phlapa.fios.verizon.net] has joined #ruby
ceej [ceej!~anonymous@cpe-72-190-40-203.tx.res.rr.com] has joined #ruby
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby
slippyd [slippyd!~slippyd@pool-71-241-153-24.nycmny.fios.verizon.net] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
wroathe [wroathe!~wroathe@173-17-249-11.client.mchsi.com] has joined #ruby
Targen [Targen!~iguana@190.39.181.108] has joined #ruby
tectonic [tectonic!~tectonic@c-67-164-98-164.hsd1.ca.comcast.net] has joined #ruby
heimark [heimark!~heimark@cpe-24-27-24-134.austin.res.rr.com] has joined #ruby
tommyvyo [tommyvyo!~tommyvyo@c-68-83-3-164.hsd1.nj.comcast.net] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
sbanwart_ [sbanwart_!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
eshear [eshear!~Adium@199.9.251.45] has joined #ruby
hadees_ [hadees_!~hadees@72-48-211-16.dyn.grandenetworks.net] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
<eshear> I am puzzled by this behavior, and have no idea how to google it: http://pastie.org/3299872 - i think i understand gsub a lot less well than I think I do
bwlang [bwlang!~anonymous@static-71-245-233-146.bstnma.fios.verizon.net] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
danibx [danibx!~danibx@187.104.236.95] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@149.147.222.202] has joined #ruby
dv310p3r [dv310p3r!~dv310p3r@c-98-203-41-91.hsd1.fl.comcast.net] has joined #ruby
x0F [x0F!~x0F@unaffiliated/x0f] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
Skaag [Skaag!~Skaag@cpe-67-247-51-89.nyc.res.rr.com] has joined #ruby
porco [porco!~porco@222.130.130.151] has joined #ruby
seivan [seivan!~seivan@bb121-6-236-4.singnet.com.sg] has joined #ruby
hemanth [hemanth!~hemanth@121.244.159.130] has joined #ruby
blischalk [blischalk!~brettlisc@99-28-253-138.lightspeed.cicril.sbcglobal.net] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
nonotza [nonotza!~nonotza@50-57-234-249.static.cloud-ips.com] has joined #ruby
<kenneth> did realpath get added in ruby 1.9?
nitestarr [nitestarr!~cjolley@c-75-66-212-80.hsd1.tn.comcast.net] has joined #ruby
adeponte [adeponte!~adeponte@pool-173-51-131-197.lsanca.fios.verizon.net] has joined #ruby
fayimora_ [fayimora_!~fayimora@95.175.159.36] has joined #ruby
nonotza_ [nonotza_!~nonotza@cpe-72-225-173-7.nyc.res.rr.com] has joined #ruby
baroquebobcat [baroquebobcat!~nick@c-67-176-80-121.hsd1.co.comcast.net] has joined #ruby
_|christian|_ [_|christian|_!~christian@190.235.156.94] has joined #ruby
p0y [p0y!~p0y@122.52.126.66] has joined #ruby
mklappstuhl [mklappstuhl!~mklappstu@p5B2C4C4A.dip.t-dialin.net] has joined #ruby
<moshee> anybody want to help me de-uglify some pretty naïve parse tree/tree traversal stuff? :P https://github.com/moshee/4chanparser
eshear [eshear!~Adium@199.9.251.45] has quit [#ruby]
kevinbond [kevinbond!~kevinbond@112.50.204.68.cfl.res.rr.com] has joined #ruby
syamajala [syamajala!~syamajala@dyn-carl-201-141.dyn.columbia.edu] has joined #ruby
artOfWar [artOfWar!~artofwar@108-205-201-30.lightspeed.sntcca.sbcglobal.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@64-184-232-153.mammothnetworks.com] has joined #ruby
mikepack [mikepack!~mikepack@c-174-51-77-22.hsd1.co.comcast.net] has joined #ruby
<Faris> sexy beautiful women plz
JohnBat26 [JohnBat26!~Eugene@80.251.120.55] has joined #ruby
blueadept [blueadept!~blueadept@72.21.137.199] has joined #ruby
blueadept [blueadept!~blueadept@unaffiliated/blueadept] has joined #ruby
porco [porco!~porco@222.130.130.151] has joined #ruby
albemuth [albemuth!~albemuth@201.198.78.18] has joined #ruby
wifioregon [wifioregon!~owner@c-71-236-252-186.hsd1.or.comcast.net] has joined #ruby
shadoi [shadoi!~Adium@c-71-202-122-8.hsd1.ca.comcast.net] has joined #ruby
artOfWar [artOfWar!~artofwar@nat/yahoo/x-gjslpmclpqbfoexe] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@64-184-232-153.mammothnetworks.com] has joined #ruby
gokul [gokul!~gokulnath@115.111.177.122] has joined #ruby
pdtpatrick_ [pdtpatrick_!~pdtpatric@ip72-211-207-15.oc.oc.cox.net] has joined #ruby
looopy [looopy!~looopy@c-68-34-92-100.hsd1.md.comcast.net] has joined #ruby
mklappstuhl [mklappstuhl!~mklappstu@p5B2C4C4A.dip.t-dialin.net] has joined #ruby
pdtpatrick_ [pdtpatrick_!~pdtpatric@ip72-211-207-15.oc.oc.cox.net] has quit [#ruby]
nvez [nvez!~textual@bas1-montreal54-1167956059.dsl.bell.ca] has joined #ruby
nvez [nvez!~textual@unaffiliated/nvez] has joined #ruby
iamjarvo [iamjarvo!~Adium@c-71-230-13-201.hsd1.nj.comcast.net] has joined #ruby
Faris_sleep [Faris_sleep!~amnay@41.248.106.173] has quit [#ruby]
wyhaines [wyhaines!~wyhaines@65.39.118.15] has joined #ruby
wilmoore [wilmoore!~wilmoore@c-67-190-17-108.hsd1.co.comcast.net] has joined #ruby
ceej [ceej!~anonymous@cpe-72-190-40-203.tx.res.rr.com] has joined #ruby
sonkei [sonkei!~sonkei@d14-69-26-171.try.wideopenwest.com] has joined #ruby
Katniss [Katniss!~Katniss@24.144.9.150] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@w0109-49-134-132-188.uqwimax.jp] has joined #ruby
hkhalid [hkhalid!hkhalid@pool-173-79-49-114.washdc.fios.verizon.net] has joined #ruby
<hkhalid> hi
mattyohe [mattyohe!~mattyohe@2620:0:e50:3011:f189:829e:9d64:4fea] has joined #ruby
sbanwart [sbanwart!~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net] has joined #ruby
kpshek [kpshek!~kpshek@98.156.71.29] has joined #ruby
porco [porco!~porco@123.123.250.130] has joined #ruby
baniseterfiend` [baniseterfiend`!~baniseter@118.82.185.158] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@121-73-182-130.dsl.telstraclear.net] has joined #ruby
GreaseMonkey [GreaseMonkey!~gm@unaffiliated/greasemonkey] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@host78-84-dynamic.44-79-r.retail.telecomitalia.it] has joined #ruby
Araxia_ [Araxia_!~Araxia@c-24-22-63-1.hsd1.or.comcast.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
rippa [rippa!~splitta@85.158.54.234] has joined #ruby
Mekkis [Mekkis!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
josefig [josefig!~josef@187.156.91.147] has joined #ruby
josefig [josefig!~josef@unaffiliated/josefig] has joined #ruby
choffstein [choffstein!~choffstei@c-76-19-140-43.hsd1.ma.comcast.net] has joined #ruby
<choffstein> Anyone working with mongoid and know how to deal with the exception: "Cannot serialize the Numeric type BigDecimal as BSON" ?
Oregon [Oregon!~owner@c-71-236-252-186.hsd1.or.comcast.net] has quit ["Konversation terminated!"]
Katniss_ [Katniss_!~Katniss@24.144.9.150] has joined #ruby
Zolrath [Zolrath!~Zolrath@cpe-98-148-138-177.socal.res.rr.com] has joined #ruby
ckrailo2 [ckrailo2!~ckrailo@pool-71-97-77-8.dfw.dsl-w.verizon.net] has joined #ruby
dasfugufish [dasfugufish!~Adium@64-184-232-153.mammothnetworks.com] has joined #ruby
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
ksinkar [ksinkar!~ksinkar@117.195.111.36] has joined #ruby
Banistergalaxy [Banistergalaxy!~AndChat@222.153.223.42] has joined #ruby
savage- [savage-!~savage_@c-67-180-11-89.hsd1.ca.comcast.net] has joined #ruby
huxtable [huxtable!~huxtable@108-90-18-133.lightspeed.cicril.sbcglobal.net] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@149.147.207.5] has joined #ruby
daed [daed!~daed@daed.org] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
macmartine [macmartine!~macmartin@c-24-21-112-60.hsd1.or.comcast.net] has joined #ruby
tyoc213 [tyoc213!~tyoc213@189.253.150.108] has joined #ruby
vraa [vraa!~vraa@99-20-202-44.lightspeed.hstntx.sbcglobal.net] has joined #ruby
mkscrg [mkscrg!~mkscrg@pool-108-41-134-165.nycmny.fios.verizon.net] has joined #ruby
<tyoc213> I have an new mac book air with Lion and XCode Version 4.2.1 (4D502), when using rvm install 1.9.3-p0 I get an error because it can't find gcc-4.2 (as I see)
Mekkis [Mekkis!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
<tyoc213> what could I do then?
<tyoc213> also my ruby version is this: ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin11.0]
<tyoc213> but at work, they have requested me to use that one, so I dont know if there is really a diference or not :S
csherin [csherin!~csherin@61.11.47.149] has joined #ruby
<hennie> Open .bash_profile and add:
<hennie> export CC=/usr/bin/gcc-4.2
<hennie> try that
<hennie> note: this is from a post on a site
a_a_g [a_a_g!~aag@203.123.164.34] has joined #ruby
panthrodeb [panthrodeb!~paolo@200.58.70.6] has joined #ruby
<hennie> seems lion uses llvm as default compiler
rramsden [rramsden!~rramsden@207.216.52.184] has joined #ruby
MrCheetoDust [MrCheetoDust!~farhankha@cpe-76-94-123-32.socal.res.rr.com] has joined #ruby
<hennie> tyoc213: any luck?
iband [iband!~iband@111.104-54-92.telenet.ru] has joined #ruby
<tyoc213> yes, it is llvm
<tyoc213> hennie: wait a sec will check it now...
<tyoc213> -bash: /usr/bin/gcc-4.2: No such file or directory
<tyoc213> in fact gcc 4.2 is not installed at all
<hennie> any version of gcc installed?
<hennie> gcc -v
<tyoc213> and gcc is a virtual link or see it here (3 commands): https://gist.github.com/a4d83459210a4f67d107
CannedCorn [CannedCorn!~textual@38.67.0.2] has joined #ruby
<CannedCorn> is there any way to create a function definition that takes a required arg, optional additional args and then a hash?
<hennie> tyoc213: did you install full xcode?
<CannedCorn> so like def whatever(required, optional, hash={})
<CannedCorn> err, where the optional has a star def whatever(required, *optional, hash={})
<tyoc213> hennie: yes, my XCode is Version 4.2.1 (4D502)
scientes [scientes!~scientes@unaffiliated/scientes] has joined #ruby
<scientes> can I "next" from a .collect in 1.8.7 to avoid it from adding an item to the array?
<scientes> nvm
sleepwalker_ [sleepwalker_!~sleepwalk@178.176.224.186] has joined #ruby
kenperkins [kenperkins!~textual@50-47-18-37.evrt.wa.frontiernet.net] has joined #ruby
<CannedCorn> hennie that kennethreitz install has saved my ass
<CannedCorn> so many times
<hennie> tyoc213: If you're running a fresh copy of Lion & Xcode 4.2, you're going to need to install the GCC 4.2 dev libraries first - they aren't included in a fresh Xcode 4.2 install.
<hennie> Then pass the CC="/usr/bin/gcc-4.2" flag when installing your rvm.
<hennie> Be sure to rvm remove any previous installation attempts first.
jgrevich [jgrevich!~jgrevich@pdpc/supporter/active/jgrevich] has joined #ruby
<hennie> from link:http://stackoverflow.com/questions/6985690/problem-installing-ruby-1-9-2-on-mac-os-lion
ckrailo [ckrailo!~ckrailo@pool-71-97-77-8.dfw.dsl-w.verizon.net] has joined #ruby
aknewhope [aknewhope!~aknewhope@cpe-75-82-205-249.socal.res.rr.com] has joined #ruby
<scientes> is there a way to jump to "next" without resulting in a nil in .collect ? 1.8.7
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
jgrevich [jgrevich!~jgrevich@pdpc/supporter/active/jgrevich] has joined #ruby
<ckrailo> scientes: call .compact on it? that removes nils
<ckrailo> (or compact!, depending on your style/preferences)
<ckrailo> scientes: or maybe you should be calling .select?
seivan [seivan!~seivan@bb121-6-236-4.singnet.com.sg] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
<baniseterfiend`> scientes: you rpobably want select + collect
jgrevich [jgrevich!~jgrevich@pdpc/supporter/active/jgrevich] has joined #ruby
randym [randym!~randym@113x33x226x118.ap113.ftth.ucom.ne.jp] has joined #ruby
tonini [tonini!~zastav@edge.garaio.com] has joined #ruby
pseud0cod3r [pseud0cod3r!pseudocode@gateway/shell/anapnea.net/x-cgiyhizzmlwvvkfn] has joined #ruby
nobitanobi [nobitanobi!~novito@c-98-248-35-121.hsd1.ca.comcast.net] has joined #ruby
jgrevich [jgrevich!~jgrevich@pdpc/supporter/active/jgrevich] has joined #ruby
<tyoc213> hennie: I was reading a ruby tut :P, so... I need to reinstall Xcode after OS X 10.7 Lion: GCC-10.7.pkg or it will be all OK?
nobitanobi [nobitanobi!~novito@c-98-248-35-121.hsd1.ca.comcast.net] has joined #ruby
seivan [seivan!~seivan@bb121-6-236-4.singnet.com.sg] has joined #ruby
<tyoc213> also what I need to clean rmv? I just delete /Users/myuser/.rvm ?
jgrevich [jgrevich!~jgrevich@pdpc/supporter/active/jgrevich] has joined #ruby
<hennie> tyoc213: sorry had a meeting, where are you now
<tyoc213> reading http://rocksolidwebdesign.com/notes-and-fixes/ruby-xcode/ so I guess, I dont need to uninstall 4.2.1
<tyoc213> just downloaded the pkg
<tyoc213> Im going to see
<hennie> ok, if you manage let me know
<hennie> btw on a side note, how do you find the macbook air?
<tyoc213> nice for my work, thought 64Gb are to little :P
<tyoc213> it is a 11' with 4Gb of RAM
milkpost [milkpost!~dec@173-28-195-157.client.mchsi.com] has joined #ruby
<tyoc213> it boot fast, can handle at same time: safari, google (both with somewhat large tabs... Im massive and like to keep some tabs for leater reading), XCode and the iOS Simulator also I have used at same time nb
<tyoc213> by the way, it compiles things more fast.... (in XCode)
<tyoc213> because the SDD ;)
<tyoc213> SSD
<hennie> i am considering one but the 4gb memory limit is a concern for me
<hennie> lucky that you got one from work
<tyoc213> but I think the swapping is almost not noticeable or at less not as with an HDD
<tyoc213> I have buy it :), I have moved to some like remote consultancy/work (now Im returning to RoR)
moshef [moshef!~moshe@bzq-79-177-138-51.red.bezeqint.net] has joined #ruby
<wallerdev> swapping is noticeable with an ssd if you're doing a lot haha
<wallerdev> (from personal experience)
<tyoc213> but I have buy the "low end", it is 11" the first choice only with 4Gb change in config
<tyoc213> what things do you normally do?
<hennie> to who is that directed?
<tyoc213> to you hennie, for example, today I meet a lady that as parallels running also like other 10 different apps (but that was on a pro)...
<hennie> oh i have a macbook pro also with snow leopard still, as i live close to the earth's ass and can't legally get os x lion here
<tyoc213> dont know if my air can stand that
<hennie> i use vmware fusion and with the 8gb memory its quite nice
<hennie> try vmware fusion trial, think its valid for 30 days
baniseterfiend` [baniseterfiend`!~baniseter@118.82.185.158] has joined #ruby
<hennie> iv'e downloaded this, haven't had time to try it yet
<tyoc213> I have virtualbox with a ubuntu 11.10
<hennie> preconfigured vm
<hennie> what is it that you do for a job if i can ask?
gokul [gokul!~gokulnath@115.111.177.122] has joined #ruby
<tyoc213> I was working on a bussiness iOS app, now I will help migrate a delphi 4 to RoR
<tyoc213> delphi 4 app
<hennie> ok so you are a professional developer?
<hennie> did you take a look at the bitnami site?
<tyoc213> yes
<tyoc213> it is an stack appliance for RoR
hooper [hooper!~hooper@c-69-181-207-23.hsd1.ca.comcast.net] has joined #ruby
<tyoc213> by the way, the install with the pkg has worked out, now I will clone the repo and see if all goes OK with bundle install ;)
<hennie> ok,sounds good
<tyoc213> let me check my XCode for see if it still compile at less my last project :)
JohnBat26 [JohnBat26!~Eugene@89.175.77.79] has joined #ruby
<tyoc213> and, yes, it still works, thx
<hennie> glad to help
michael_mbp_ [michael_mbp_!~Marin@31.203.165.249] has joined #ruby
kreantos [kreantos!~kreantos@178.113.238.48.wireless.dyn.drei.com] has joined #ruby
yxhuvud [yxhuvud!mongo@h-85-33.a212.priv.bahnhof.se] has joined #ruby
tilde` [tilde`!~tilde@host191-184-dynamic.19-79-r.retail.telecomitalia.it] has joined #ruby
mklappstuhl [mklappstuhl!~mklappstu@p5B2C4C4A.dip.t-dialin.net] has joined #ruby
stanis [stanis!~akhil@115.111.177.122] has joined #ruby
chrxn [chrxn!chrxn@69.4.233.32] has joined #ruby
Axsuul [Axsuul!~Axsuul@75-140-75-52.dhcp.mtpk.ca.charter.com] has joined #ruby
apok [apok!~apok@96.24.67.22] has joined #ruby
kawa_xxx_ [kawa_xxx_!~kawa_xxx@FLH9Aan096.tky.mesh.ad.jp] has joined #ruby
mxweas [mxweas!~max@mobile-198-228-198-083.mycingular.net] has joined #ruby
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
kenneth [kenneth!~kenneth@c-67-180-9-82.hsd1.ca.comcast.net] has joined #ruby
medik [medik!~medik@host-95-199-21-84.mobileonline.telia.com] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@FLH9Aan096.tky.mesh.ad.jp] has joined #ruby
ksinkar [ksinkar!~ksinkar@115.240.3.40] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@FLH9Aan096.tky.mesh.ad.jp] has joined #ruby
maletor [maletor!~maletor@c-69-181-24-86.hsd1.ca.comcast.net] has joined #ruby
igotnolegs [igotnolegs!~igotnoleg@75-162-83-166.slkc.qwest.net] has joined #ruby
bluOxigen [bluOxigen!ssf@unaffiliated/bluOxigen] has joined #ruby
moshee [moshee!~moshee@unaffiliated/moshee] has joined #ruby
pdtpatrick_ [pdtpatrick_!~pdtpatric@ip72-211-207-15.oc.oc.cox.net] has joined #ruby
aBound [aBound!~levy@cpe-76-169-9-64.socal.res.rr.com] has joined #ruby
pseud0cod3r [pseud0cod3r!pseudocode@gateway/shell/anapnea.net/x-epkgyuvtrsnguvbv] has joined #ruby
daglees [daglees!~belvedere@unaffiliated/daglees] has joined #ruby
thone [thone!~thone@g230187124.adsl.alicedsl.de] has joined #ruby
ryanf [ryanf!~revfitz@237.sub-174-254-208.myvzw.com] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
aBound [aBound!~levy@cpe-76-169-9-64.socal.res.rr.com] has quit ["Leaving"]
nobitanobi [nobitanobi!~novito@c-98-248-35-121.hsd1.ca.comcast.net] has joined #ruby
stoffus [stoffus!~stoffus@2001:9b0:1:dead:129a:ddff:fe58:6835] has joined #ruby
stephenjudkins [stephenjudkins!~stephen@c-76-115-1-70.hsd1.or.comcast.net] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
Mekkis [Mekkis!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@FLH9Aan096.tky.mesh.ad.jp] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@212.43.23.242] has joined #ruby
ph^ [ph^!~ph^@cm-84.212.225.74.getinternet.no] has joined #ruby
medik [medik!~medik@host-95-199-6-226.mobileonline.telia.com] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@31.203.57.224] has joined #ruby
mafolz [mafolz!~mafolz@dhcp50-207.start.uni-saarland.de] has joined #ruby
45PAAQ39U [45PAAQ39U!~quassel@86.125.237.122] has joined #ruby
bier [bier!~bier@p5085EE58.dip.t-dialin.net] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@31.203.76.39] has joined #ruby
googya [googya!~Adium@221.133.241.50] has joined #ruby
tweequla [tweequla!~tweequla@ksdfw01.rightcompetence.com] has joined #ruby
VictorMartins [VictorMartins!~VictorMar@87-196-223-150.net.novis.pt] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@149.147.142.12] has joined #ruby
Morkel [Morkel!~Morkel@xdsl-87-78-206-32.netcologne.de] has joined #ruby
gokul [gokul!~gokulnath@115.111.177.122] has joined #ruby
Sliker [Sliker!~ponies@87.114.96.212] has joined #ruby
Z2FyZA [Z2FyZA!~gard@mail.tomra.no] has joined #ruby
stoffus [stoffus!~stoffus@2001:9b0:1:dead:129a:ddff:fe58:6835] has joined #ruby
VictorMartins [VictorMartins!~VictorMar@87.196.223.150] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
michael_mbp [michael_mbp!~Marin@149.147.142.12] has joined #ruby
seivan [seivan!~seivan@bb121-6-236-4.singnet.com.sg] has joined #ruby
zommi [zommi!quassel@nat/ibm/x-ondurhauojfcbxdt] has joined #ruby
tilde` [tilde`!~tilde@94.101.55.3] has joined #ruby
cyri_ [cyri_!~cyri_@232.93.119.80.rev.sfr.net] has joined #ruby
a_a_g1 [a_a_g1!~aag@106.79.163.112] has joined #ruby
ephemerian [ephemerian!~ian@82-71-51-229.dsl.in-addr.zen.co.uk] has joined #ruby
Katniss [Katniss!~Katniss@24.144.9.150] has joined #ruby
a_a_g2 [a_a_g2!~aag@203.123.164.34] has joined #ruby
hasrb [hasrb!~hasrb@108-85-134-26.lightspeed.austtx.sbcglobal.net] has joined #ruby
laen_ [laen_!neal@mail.skylab.org] has joined #ruby
d[-_-]b [d[-_-]b!~gUy@pl.0strikes.net.nz] has quit ["Leaving"]
Helius [Helius!~Adium@109.117.245.1] has joined #ruby
snearch [snearch!~snearch@e178057112.adsl.alicedsl.de] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
brownies [brownies!~brownies@unaffiliated/brownies] has joined #ruby
bjensen [bjensen!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
nari [nari!~nari@p929507.totrnt01.ap.so-net.ne.jp] has joined #ruby
<bjensen> Im trying to do this: "øl".upcase however it doesnt up case the ø. do I really need to do gsub with up case?
<shevy> bjensen hmm perhaps it does not know what to do with that fany character
<shevy> "\303\270l".upcase # => "\303\270L"
<heftig> bjensen: upcase only upcases ascii characters
<shevy> my .upcase does not seem to change that at all :)
<ryanf> bjensen: if you're using rails you can use mb_chars
<bjensen> so I need to alias_method it so that my upcase method calls gsub("ø", "Ø") after the call to upcase!
<oddmunds> is it possible that it works if you input it in iso 8859-1?
<ryanf> nah the default up/downcase only work on ascii for some stupid reason
JohnBat26 [JohnBat26!~Eugene@89.175.77.79] has joined #ruby
tensai_cirno [tensai_cirno!~cirno@77.232.15.216] has joined #ruby
<heftig> require 'active_support/multibyte'; ActiveSupport::Multibyte::Chars.new("øl").upcase.to_s
<ryanf> yep
<bjensen> Holy..mb_chars work
<ryanf> or more nicely
<ryanf> "øl".mb_chars.upcase
<ryanf> .to_s
<bjensen> Why isn't this default behavior of rails?
<ryanf> that might have been a patch too far
<ryanf> as far as changing ruby's default behavior too much
<heftig> because mb_chars is slowass?
Nss [Nss!~nss@host241-19-dynamic.53-79-r.retail.telecomitalia.it] has joined #ruby
<bjensen> heftig: didnt know..
<heftig> i don't either
<heftig> that's why i made it a question
<bjensen> heh k
<banisterfiend> heftig: hello heft
codelette [codelette!~einar@IPnet-gw.157.157.10.149.simnet.is] has joined #ruby
pi3r [pi3r!~pi3r@LSt-Amand-152-32-39-189.w80-11.abo.wanadoo.fr] has joined #ruby
odinswand [odinswand!~odinswand@27-32-234-171.static.tpgi.com.au] has joined #ruby
banisterfiend [banisterfiend!~baniseter@118.82.185.158] has joined #ruby
_srp [_srp!~quassel@119.82.126.162] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
LMolr [LMolr!~quassel@host29-216-dynamic.59-82-r.retail.telecomitalia.it] has joined #ruby
pen [pen!~pen@g1pc2n249.g1.ntu.edu.tw] has joined #ruby
jbpros [jbpros!~jbpros@46-186-112-217.dyn.adsl.belcenter.be] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@FLH9Aan096.tky.mesh.ad.jp] has joined #ruby
Mohan [Mohan!~nixh0st@unaffiliated/mohan] has joined #ruby
nd_______ [nd_______!~nd@mnhm-590e7ba9.pool.mediaWays.net] has joined #ruby
BiHi [BiHi!~bihi@did75-17-88-165-129-29.fbx.proxad.net] has joined #ruby
seivan [seivan!~seivan@bb121-6-236-4.singnet.com.sg] has joined #ruby
MichaelTorfs [MichaelTorfs!~chatzilla@94-226-33-53.access.telenet.be] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
MichaelTorfs [MichaelTorfs!~chatzilla@94-226-33-53.access.telenet.be] has joined #ruby
ghosTM55 [ghosTM55!~user@li279-245.members.linode.com] has joined #ruby
workmad3 [workmad3!~workmad3@vpn53.its.manchester.ac.uk] has joined #ruby
mohits [mohits!~mohit@unaffiliated/mohits] has joined #ruby
robotmay [robotmay!~robotmay@94.30.13.228] has joined #ruby
eka [eka!~eka@181.28.169.86] has joined #ruby
Ammar01 [Ammar01!~hassaa10@gatej.mh.bbc.co.uk] has joined #ruby
roolo [roolo!~mailo@customer-79-127-150-214.net.angelnet.cz] has joined #ruby
dyer [dyer!~dyer@108-193-172-174.lightspeed.tukrga.sbcglobal.net] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
nkbuff [nkbuff!~nkbuff@dslb-094-223-090-130.pools.arcor-ip.net] has joined #ruby
bjensen [bjensen!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
bjensen_ [bjensen_!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
shevy [shevy!~shevy@178-191-255-205.adsl.highway.telekom.at] has joined #ruby
gyre007 [gyre007!~gajdosm@213.86.197.188] has joined #ruby
shadoi [shadoi!~Adium@c-71-202-122-8.hsd1.ca.comcast.net] has joined #ruby
krz [krz!~foobar@unaffiliated/krz] has joined #ruby
michael_mbp_ [michael_mbp_!~Marin@46.186.229.27] has joined #ruby
michael_mbp__ [michael_mbp__!~Marin@31.203.28.167] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
jamiemill [jamiemill!~jamiemill@87-194-220-111.bethere.co.uk] has joined #ruby
naquad [naquad!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
vereteran [vereteran!~vereteran@static.88-198-170-117.clients.your-server.de] has joined #ruby
bjensen [bjensen!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
bjensen [bjensen!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
kawa_xxx [kawa_xxx!~kawa_xxx@FLH9Aan096.tky.mesh.ad.jp] has joined #ruby
tk_ [tk_!~tk@p083005.doubleroute.jp] has joined #ruby
banseljaj [banseljaj!~imami@42.83.85.32] has joined #ruby
<banseljaj> where do i find the whole list of options for strftime
bjensen [bjensen!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
kakarlus [kakarlus!b4eb98c8@gateway/web/freenode/ip.180.235.152.200] has joined #ruby
at5l [at5l!~at5l@unaffiliated/at5l] has joined #ruby
_2easy [_2easy!~nofuture@89-79-244-137.dynamic.chello.pl] has joined #ruby
<banseljaj> How do i ask strftime to convert to a specific timezone?
trivol [trivol!~aurelien@gra94-1-81-57-175-179.fbx.proxad.net] has joined #ruby
<thomasfedb> banseljaj, you don't.
<thomasfedb> Time.zone
tatsuya_o [tatsuya_o!~tatsuya_o@213.152.255.138] has joined #ruby
<banseljaj> thomasfedb: I have a function in which the user inputs a time and i use strftime to display it to them.
<banseljaj> But on my test, it only shows UTC.
tatsuya_o [tatsuya_o!~tatsuya_o@213.152.255.138] has joined #ruby
TomJ [TomJ!~TomJ@host-92-24-170-187.ppp.as43234.net] has joined #ruby
TomJ [TomJ!~TomJ@unaffiliated/tomj] has joined #ruby
<banseljaj> Not PST. i.e UTC +0500
<sj26> banseljaj: ruby has horrific time zone support, you'll probably need something like activesupport to make it friendlier
bart` [bart`!~user@fragger.nascom.be] has joined #ruby
runeb_ [runeb_!~runeb@77.40.155.28] has joined #ruby
niklasb [niklasb!~codeslay0@p5B310BC1.dip0.t-ipconnect.de] has joined #ruby
<banseljaj> sj26 It is indeed a rails project.
<banseljaj> thanks
<sj26> Time.zone.now.in_time_zone("Sydney").to_s # => "2012-02-02 21:13:29 +1100"
Helius [Helius!~Adium@tsunami.dottorato.disco.unimib.it] has joined #ruby
runeb_ [runeb_!~runeb@77.40.155.28] has joined #ruby
<banseljaj> sj26: I just plug that in my view and i'm done?
<sj26> Yup, something like that
<sj26> point is the time now has a zone attached and should strf appropriately
<banseljaj> And it just atkes the time that it is passed, right? Not the system time.
<sj26> banseljaj: have a play around. time zones are a tricky thing, but you should be able to do anything you need using the TimeWithZone extensions in activesupport
<banseljaj> Okay. Thanks. :)
<sj26> You could do 2.days.ago.in_time_zone("Sydney").to_s just as easily
<sj26> <some time>.in_time_zone (...) etc
* banseljaj nods
linduxed [linduxed!~linduxed@194-14-0-85.serioustubes.org] has joined #ruby
mklappst_ [mklappst_!~mklappstu@p5B2C5D0E.dip.t-dialin.net] has joined #ruby
Schmidt [Schmidt!lsc@nobelium.se] has joined #ruby
Guest4440 [Guest4440!~ePirat@p57A967D6.dip.t-dialin.net] has joined #ruby
Mchl [Mchl!~Mchl@h1881165560.rev.rootvps.pl] has joined #ruby
taii [taii!~tai@85-127-72-17.dynamic.xdsl-line.inode.at] has joined #ruby
ChampS666 [ChampS666!~ChampS@p54B4A683.dip.t-dialin.net] has joined #ruby
mengu [mengu!~mengu@unaffiliated/mengu] has joined #ruby
randym [randym!~randym@EM1-113-36-235.pool.e-mobile.ne.jp] has joined #ruby
tvo [tvo!~tvo@wlan-145-94-190-048.wlan.tudelft.nl] has joined #ruby
tvo [tvo!~tvo@katapult/developer/tvo] has joined #ruby
emocakes [emocakes!~om@p57974F92.dip.t-dialin.net] has joined #ruby
josephwilk [josephwilk!~josephwil@109.231.237.58] has joined #ruby
rciovati [rciovati!~rciovati@dynamic-adsl-94-36-149-7.clienti.tiscali.it] has joined #ruby
stanis [stanis!~akhil@115.111.177.122] has joined #ruby
<rciovati> hi guys, sorry for the noob question but i'm an assolute beginner with ruby but my boss wants that i modify a code. i need to make an http post call with values url-encoded and keys not url-encoded. i saw that Net::HTTP.post_form automatically make urlencodes of all, but any idea on how to get what i need? thanks
mengu [mengu!~mengu@78.188.203.234] has joined #ruby
stanis [stanis!~akhil@115.111.177.122] has joined #ruby
arackna [arackna!~arackna@117.211.18.138] has joined #ruby
<stanis> i want to make a global exception notifier, if i monkey patch StandardError initializer, will it work?
frerich2 [frerich2!~frerich@mail.froglogic.com] has quit [#ruby]
nari [nari!~nari@2001:268:306:1:e81c:8aff:fe5c:ec6d] has joined #ruby
madrax [madrax!~Miguel@200.124.199.108] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
fr0gprince_mac [fr0gprince_mac!~fr0gprinc@178-85-90-223.dynamic.upc.nl] has joined #ruby
fermion [fermion!~textual@pool-108-7-224-176.bstnma.fios.verizon.net] has joined #ruby
canton7 [canton7!~canton7@87-194-161-58.bethere.co.uk] has joined #ruby
mengu [mengu!~mengu@78.188.203.234] has joined #ruby
alemos [alemos!~Adium@62.28.143.10] has joined #ruby
<alemos> hi. quick help for a noobie
<alemos> what am I doing wrong? "`load_missing_constant': uninitialized constant ActiveRecord::Base (NameError)"
adambeynon [adambeynon!~adambeyno@82-69-1-211.dsl.in-addr.zen.co.uk] has joined #ruby
<banseljaj> alemos: What exactly are you trying to do?
<banseljaj> It seems like you are accessing a constant that doesn't exist.
<alemos> class Patient < ActiveRecord::Base
<alemos> trying to use a database access
<alemos> inside the models
qelsi [qelsi!~qelsi@205.Red-83-33-84.dynamicIP.rima-tde.net] has joined #ruby
<alemos> "rake db:migrate --trace" is obviously also failing
<banseljaj> You get this error when?
<alemos> the first one when doing "ruby script/server"
<alemos> banseljaj: http://pastie.org/3301764
<banseljaj> let me see
<banseljaj> rails version?
<alemos> 2.3.8
<alemos> (it's on the pastie)
_srp [_srp!~quassel@119.82.126.162] has joined #ruby
<banseljaj> checking. stupid slow wifi
<alemos> ok, thanks banseljaj
TomJ [TomJ!~TomJ@unaffiliated/tomj] has joined #ruby
<banseljaj> alemos: looks like its a dependency problem.
waxjar [waxjar!~waxjar@ip11-49-212-87.adsl2.static.versatel.nl] has joined #ruby
sj26 [sj26!sj26@sj26.com] has joined #ruby
gianlucadv [gianlucadv!~gianlucad@rna.bio.disco.unimib.it] has joined #ruby
<alemos> banseljaj: yes, I've already realized that
<banseljaj> I could be wrong though.
<banseljaj> are you using bundle?
<banseljaj> try running bundle install again.
<alemos> ok
mengu [mengu!~mengu@78.188.203.234] has joined #ruby
snearch [snearch!~snearch@e178057112.adsl.alicedsl.de] has joined #ruby
<alemos> same problem banseljaj
bjensen [bjensen!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
ikaros [ikaros!~ikaros@studpool-wlan-74-225.fs.fbi.h-da.de] has joined #ruby
banseljaj [banseljaj!~imami@42.83.85.40] has joined #ruby
<banseljaj> alemos: Sorry for disappearing. Did nindle install work?
<alemos> banseljaj: no. problem persists
<aces23up> so i have a relative url that is ./ucp.php what would be the cool way to attach my scheme and host without having to cut off the . / before attaching it?
<banseljaj> alemos can you try upgrading rails?
emmanuelux [emmanuelux!~emmanuel@2a01:e35:2e4d:9010:21d:60ff:fe0e:b818] has joined #ruby
wenbert [wenbert!~wenbert@112.198.255.49] has joined #ruby
lorandi [lorandi!~lorandi@201-1-138-249.dsl.telesp.net.br] has joined #ruby
faber [faber!~faber@ppp-195-10.26-151.libero.it] has joined #ruby
akem [akem!~akem@253.195.84.79.rev.sfr.net] has joined #ruby
akem [akem!~akem@unaffiliated/akem] has joined #ruby
darthdeus [darthdeus!~darthdeus@customer-79-127-150-214.net.angelnet.cz] has joined #ruby
cousine [cousine!~cousine@196.218.42.9] has joined #ruby
Sliker [Sliker!~ponies@87.114.96.212] has joined #ruby
andyjeffries [andyjeffries!~andyjeffr@80.87.27.194] has joined #ruby
dyer [dyer!~dyer@unaffiliated/dyer] has joined #ruby
jcromartie [jcromartie!~jcromarti@c-69-140-238-182.hsd1.md.comcast.net] has joined #ruby
berserkr [berserkr!~david@212.122.111.205.dyn.user.ono.com] has joined #ruby
iocor [iocor!~textual@unaffiliated/iocor] has joined #ruby
djdb [djdb!~digitalbo@linux.minsk.tutby.com] has joined #ruby
tvw [tvw!~tv@212.79.9.150] has joined #ruby
tvw [tvw!~tv@212.79.9.150] has joined #ruby
nvez [nvez!~textual@bas1-montreal54-1279344164.dsl.bell.ca] has joined #ruby
nvez [nvez!~textual@unaffiliated/nvez] has joined #ruby
seme_ [seme_!~seme@02d8cebc.bb.sky.com] has joined #ruby
Mekkis [Mekkis!~MekkisFre@2a00:dd0:0:6:80a6:4fff:fec7:d456] has joined #ruby
bjensen_ [bjensen_!~brianj@87-104-178-171-dynamic-customer.profibernet.dk] has joined #ruby
LMolr [LMolr!~quassel@host29-216-dynamic.59-82-r.retail.telecomitalia.it] 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
cdepue [cdepue!~cdepue@186.8.210.94] has joined #ruby
senny [senny!~senny@edge.garaio.com] has joined #ruby