mikeg has quit [Remote host closed the connection]
nemesit|znc has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
DonRichie has quit [Ping timeout: 245 seconds]
nemesit|znc has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
staafl has joined #ruby
blackmes1 has joined #ruby
DonRichie has joined #ruby
DrCode has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
mstksg has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
<FDj>
what cache_store do you use in a test environment to prevent issues from finding stale records from a previous test run?
subbyyy_ has joined #ruby
poga has joined #ruby
pr0ggie has joined #ruby
danshultz has quit [Ping timeout: 245 seconds]
nari has quit [Ping timeout: 245 seconds]
Hanmac1 has joined #ruby
tkuchiki has joined #ruby
havenwood has quit [Remote host closed the connection]
Kovensky has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
marcdel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylersmith has joined #ruby
maycon has joined #ruby
Mattix has joined #ruby
Hanmac1 has quit [Ping timeout: 248 seconds]
marr has quit [Ping timeout: 240 seconds]
havenwood has quit [Ping timeout: 240 seconds]
eka has quit [Quit: Computer has gone to sleep.]
DanKnox is now known as DanKnox_away
zarubin has joined #ruby
buzzybron has joined #ruby
twoism_ has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
Dreamer3 has joined #ruby
druonysus has quit [Quit: Konversation terminated!]
doritostains has quit [Quit: Leaving...]
druonysus has joined #ruby
dillwithers has joined #ruby
momomomomo has quit [Quit: momomomomo]
<FDj>
ah, found it... config.cache_store = :null_store
beneggett has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 240 seconds]
Notte has quit [Ping timeout: 245 seconds]
cburyta has quit [Remote host closed the connection]
cburyta has joined #ruby
arya_ has joined #ruby
dillwithers is now known as queston
cpruitt has quit [Quit: cpruitt]
apeiros has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
sevenseacat has joined #ruby
terrellt has quit [Ping timeout: 260 seconds]
etcetera has quit [Quit: etcetera]
Solnse has quit [Quit: Leaving.]
jamesaanderson has joined #ruby
pkrnj has joined #ruby
TheRealPygo is now known as pygospa
bradhe_ has quit [Remote host closed the connection]
bradhe has joined #ruby
bzitzow has quit [Ping timeout: 240 seconds]
Voodoofish430 has quit [Quit: Leaving.]
blarghmatey has joined #ruby
<blarghmatey>
Anyone in here who does contract work? If so what do you guys generally charge for an hourly rate? Region where you are located would be helpful too.
tylersmith has quit [Remote host closed the connection]
<blarghmatey>
I'm asking because I'm trying to get a feel for what to set my rate at for freelancing in my area (Boston, MA, USA)
v0n has quit [Ping timeout: 240 seconds]
tylersmith has joined #ruby
vlad_starkov has joined #ruby
Meatant has quit [Ping timeout: 248 seconds]
agjacome has joined #ruby
Gooder has joined #ruby
ffranz has quit [Quit: Leaving]
djbkd has quit [Quit: Leaving]
bradhe has quit [Ping timeout: 245 seconds]
cantonic has joined #ruby
<fryguy>
blarghmatey: freelancing rate depends on a whole lot more than just location
<fryguy>
level of experience, clientel etc all matter.
Davey has joined #ruby
<fryguy>
i work in boston, but don't freelance/consult. If I was doing consulting, I'd probably charge $125-175/hr
<blarghmatey>
fryguy: Understood. I'm taking that into account as well. Just trying to get a feel for what I should use as my upper and lower bounds.
tylersmith has quit [Ping timeout: 248 seconds]
<havenwood>
also how long the contract is for, i lower rates if the relationship is maintained
<havenwood>
and remote versus on-site
nari has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
<blarghmatey>
havenwood: All good points. I'm planning on doing this on a remote basis, primarily in the evenings and some weekend work.
fgo has joined #ruby
ffranz has joined #ruby
queston has quit [Remote host closed the connection]
ThePicard has joined #ruby
DeanH has joined #ruby
Es0teric has joined #ruby
banjara has joined #ruby
momomomomo has joined #ruby
blarghmatey has quit [Remote host closed the connection]
ffio has joined #ruby
bnagy_ is now known as bnagy
Guest33963 has quit [Ping timeout: 240 seconds]
robscomputer has quit [Remote host closed the connection]
earthquake has quit [Quit: earthquake]
beneggett has quit [Quit: beneggett]
robscomputer has joined #ruby
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
pskosinski has quit [Quit: Til rivido Idisti!]
twoism has joined #ruby
Spooner has quit [Quit: Leaving]
nemesit|znc has quit [Ping timeout: 240 seconds]
staafl has quit [Ping timeout: 248 seconds]
kizzx2 has joined #ruby
viszu has quit [Quit: Leaving.]
anildigital has quit [Ping timeout: 245 seconds]
gnutz has joined #ruby
robscomputer has quit [Ping timeout: 240 seconds]
anildigital has joined #ruby
popl has joined #ruby
Meatant has joined #ruby
blackmes1 has quit [Remote host closed the connection]
marcgg has quit [Read error: No route to host]
marcgg has joined #ruby
JZTech101 has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the world of IRC]
nemesit|znc has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Davey is now known as Eomar
etcetera has joined #ruby
jesly has quit [Quit: Leaving.]
Guest__ has joined #ruby
dhruvasagar has joined #ruby
brianpWins has quit [Quit: brianpWins]
Guest__ has quit [Client Quit]
jamesaanderson has joined #ruby
danshultz has joined #ruby
blarghmatey has joined #ruby
inimit has quit [Quit: inimit]
jamesaanderson has quit [Client Quit]
buzzybron1 has joined #ruby
queston has joined #ruby
nemesit|znc has quit [Ping timeout: 245 seconds]
momomomomo has quit [Quit: momomomomo]
dhruvasagar has quit [Ping timeout: 240 seconds]
buzzybron has quit [Ping timeout: 248 seconds]
nemesit|znc has joined #ruby
maxmanders has joined #ruby
jamesaanderson has joined #ruby
rupee has quit [Quit: Leaving]
danshultz has quit [Ping timeout: 245 seconds]
Hanmac has joined #ruby
CaptainJet has quit []
maxmanders has quit [Max SendQ exceeded]
ffranz has quit [Quit: Leaving]
phracker has quit [Ping timeout: 240 seconds]
CaptainJet has joined #ruby
DanKnox_away is now known as DanKnox
codesoda_ has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
jrendell has quit [Quit: jrendell]
TJNII has joined #ruby
codesoda has quit [Ping timeout: 248 seconds]
<TJNII>
Does Array #uniq require the array to be sorted?
<sevenseacat>
nope.
<TJNII>
Nifty. ty.
lys has quit [Quit: lys]
v0n has joined #ruby
mstksg has quit [Quit: leaving]
twoism has quit [Ping timeout: 240 seconds]
jalcine has joined #ruby
ttt has joined #ruby
mary5030 has quit [Remote host closed the connection]
denken has quit [Quit: leaving]
gildo_ has quit [Ping timeout: 248 seconds]
denken has joined #ruby
jesly has joined #ruby
jlast has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
CaptainJet has quit []
ntus1017 has joined #ruby
zeade has joined #ruby
CaptainJet has joined #ruby
banjara has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 240 seconds]
zarubin has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
robustus has quit [Ping timeout: 248 seconds]
cheese1756 has joined #ruby
tylersmith has joined #ruby
zeade has quit [Ping timeout: 256 seconds]
robustus has joined #ruby
bradhe has quit [Ping timeout: 256 seconds]
danshultz has joined #ruby
tylersmith has quit [Ping timeout: 256 seconds]
fridim_ has joined #ruby
gildo_ has joined #ruby
yacks has quit [Quit: Leaving]
krz has joined #ruby
`MArceLL` has quit [Read error: Connection reset by peer]
matt-chars has quit [Ping timeout: 240 seconds]
io_syl has quit [Ping timeout: 248 seconds]
`MArceLL` has joined #ruby
matt-chars has joined #ruby
GeissT has joined #ruby
gnutz has left #ruby ["Konversation terminated!"]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
nemesit|znc has quit [Ping timeout: 240 seconds]
DrShoggoth has quit [Remote host closed the connection]
zeromodulus has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
phantomcircuit_ has joined #ruby
havenwood has joined #ruby
cortexman1 has quit [Quit: Leaving.]
BombStrike has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yosafbridge` has joined #ruby
tr4656 has joined #ruby
daidoji70 has quit []
bmn_ has joined #ruby
moshee- has joined #ruby
fridim_ has quit [*.net *.split]
Jb___ has quit [*.net *.split]
_main_ has quit [*.net *.split]
willrax has quit [*.net *.split]
DanKnox has quit [*.net *.split]
fcoury has quit [*.net *.split]
machuga has quit [*.net *.split]
FDj has quit [*.net *.split]
phantomcircuit has quit [*.net *.split]
atno has quit [*.net *.split]
dmyers has quit [*.net *.split]
error404 has quit [*.net *.split]
blob has quit [*.net *.split]
wereHams1er has quit [*.net *.split]
talntid has quit [*.net *.split]
KarlHungus has quit [*.net *.split]
choobie has quit [*.net *.split]
kloeri has quit [*.net *.split]
txdv_ has quit [*.net *.split]
Azure has quit [*.net *.split]
moeSeth has quit [*.net *.split]
bmn has quit [*.net *.split]
queequeg2 has quit [*.net *.split]
moshee has quit [*.net *.split]
vaicine_ has quit [*.net *.split]
banghouse has quit [*.net *.split]
kpwz has quit [*.net *.split]
Koshian__ has quit [*.net *.split]
Daemoen has quit [*.net *.split]
conner has quit [*.net *.split]
Quadlex has quit [*.net *.split]
fuleo has quit [*.net *.split]
micah` has quit [*.net *.split]
sross has quit [*.net *.split]
robwilliamsuk has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
prsn has quit [*.net *.split]
banzounet has quit [*.net *.split]
Dwarf has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
vadeliusOFF has quit [*.net *.split]
tessi has quit [*.net *.split]
faulkner has quit [*.net *.split]
Niichan has quit [*.net *.split]
farn has quit [*.net *.split]
JStoker has quit [*.net *.split]
sonne has quit [*.net *.split]
ohcibi has quit [*.net *.split]
rayfinkle has quit [*.net *.split]
ddv has quit [*.net *.split]
faulkner- is now known as faulkner
robwilliamsukio is now known as robwilliamsuk
phite is now known as tessi
queequeg1 has joined #ruby
fcoury_ is now known as fcoury
machuga has joined #ruby
machuga has quit [Excess Flood]
jmeeuwen_ is now known as jmeeuwen
jesly1 has joined #ruby
Azure has joined #ruby
vadelius has joined #ruby
nemesit|znc has quit [Ping timeout: 248 seconds]
phantomcircuit_ is now known as phantomcircuit
banghouse has joined #ruby
DanKnox has joined #ruby
banghouse is now known as Guest25434
banzounet has joined #ruby
havenwood has quit [Read error: Connection reset by peer]
wesside has joined #ruby
havenwood has joined #ruby
<buzzybron1>
i'm trying do a query with multiple tables, and i wld like to loop through the sql with a table_names array, how can i construct the sql string? i am using the pg gem without AR
nijan has joined #ruby
nemesit|znc has joined #ruby
jesly1 has quit [Client Quit]
machuga has joined #ruby
machuga is now known as Guest9704
jesly has quit [Ping timeout: 240 seconds]
this has joined #ruby
__main__ has joined #ruby
choobie has joined #ruby
conner has joined #ruby
Quadlex has joined #ruby
inimit has joined #ruby
farn has joined #ruby
atno has joined #ruby
fridim_ has joined #ruby
<TJNII>
buzzybron1: I'm guessing you just need a query using a JOIN statement
<nijan>
Hello, I have very simple code snippet. I initialize an array as a class variable in a module, and then call the push method on it. However, I got a no method error. Here is the code. http://pastie.org/8130013
wesside has quit [Quit: I think I heard an ice cream truck..]
rezzack has quit [Quit: Leaving.]
pipework has joined #ruby
Guest94144 is now known as Niichan
havenwood has quit [Remote host closed the connection]
Niichan is now known as Guest7089
Guest7089 has quit [Changing host]
Guest7089 has joined #ruby
Guest7089 is now known as Niichan
jlast has joined #ruby
wesside has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
kevinykchan has joined #ruby
zastern has joined #ruby
anay has joined #ruby
kofno has joined #ruby
NsOmNiAc has joined #ruby
blarghmatey has quit [Read error: Connection reset by peer]
DanKnox is now known as DanKnox_away
<buzzybron1>
TJNII : i'm looping through a couple of tables with the same structure, not looking at union
<buzzybron1>
i meant join
<zastern>
I'm having a really weird issue. I'm writing a small script in ruby, and it worked fine for a while, but now all of the sudden returns an odd result. https://gist.github.com/zacharyalexstern/5972203 - the issue is that the url that ends up being generated is not interpolating the variables in the order I have them listed in the string, and I can't figure out why
prsn has joined #ruby
<zastern>
e.g. #{apikey} is being appended to the end
bionoid has joined #ruby
headius has joined #ruby
wesside has quit [Quit: I think I heard an ice cream truck..]
wesside has joined #ruby
<kizzx2>
zastern: your method call seems off
<kizzx2>
def get_issues(apikey,startdate,enddate,projectid,status) <— apikey is the first parameter
<[narcan]>
before i go too crazy here, how do I get a DateTime object into UTC ?
vlad_starkov has quit [Ping timeout: 240 seconds]
ssvo has joined #ruby
eliasp_ has quit [Ping timeout: 264 seconds]
kofno has quit [Remote host closed the connection]
wargasm has joined #ruby
pkrnj has joined #ruby
NsOmNiAc has joined #ruby
jonkri has quit [Quit: jonkri]
Opettaja has joined #ruby
kofno has joined #ruby
<bnagy>
they're not in any timezone
<bnagy>
they're just a point in time
<kizzx2>
maybe ActiveSupport::TimeWithZone
eliasp has joined #ruby
<havenwood>
utc should be DateTime.now.new_offset
<[narcan]>
i'm talking ruby here
<[narcan]>
i'm guessing ActiveSupport is rails
<[narcan]>
hmm, where is new_offset in the documentation ?
<[narcan]>
i've been starting at the docs for 15 mins and cant see it there
<zastern>
Does ruby do any kind of caching of any sort? E.g. I was querying an api that retuns json. Then I changed to the xml endpoint but I still get json. When I put the URL in my browser that ruby is using, I get xml
<bnagy>
havenwood: oh wow, first time I've seen that
<[narcan]>
zastern: ruby the language doesnt, your framework might be
<zastern>
[narcan]: no framework just raw ruby
<zastern>
it's odd
<buzzybron1>
it's a different url?
<zastern>
yes.
<[narcan]>
id' double check you're actually running the new version, put a debug line out for the url you're calling directly before it's called or something
<[narcan]>
just to ensure your editor isnt playing tricks on you etc
<buzzybron1>
yeap same here, that is the most likely prob
<stormbytes>
looks like DBM might be exactly the kind of thing i was looking for
maxmanders has joined #ruby
<stormbytes>
initially i considered using MongoDB but I'm not thrilled about having another background process that in itself is enitrely overkill for my needs
noname001 has joined #ruby
Zai00 has joined #ruby
ghr has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
Proshot is now known as statarb3
michaeldeol has quit [Ping timeout: 276 seconds]
renderful has joined #ruby
ellipse has quit [Read error: Connection reset by peer]
Gooder` has quit [Read error: Connection reset by peer]
ellipse has joined #ruby
Gooder` has joined #ruby
mklappstuhl has joined #ruby
Gooder`` has joined #ruby
elaptics`away is now known as elaptics
supki_ is now known as supki
timonv has joined #ruby
seitensei has quit [Ping timeout: 246 seconds]
yacks has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
renderful has quit [Ping timeout: 276 seconds]
Gooder` has quit [Ping timeout: 264 seconds]
kpwz_ is now known as kpwz
timonv has joined #ruby
niceguyjames has joined #ruby
Spooner has joined #ruby
razi has joined #ruby
BizarreCake has joined #ruby
codeplay has quit [Ping timeout: 250 seconds]
cads has quit [Quit: Leaving]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
cads has joined #ruby
sondr34 has quit [Ping timeout: 240 seconds]
Freeaqingme has left #ruby ["Ex-Chat"]
monkegji_ has joined #ruby
icecandy has joined #ruby
away_sondr3 has joined #ruby
ttt has quit [Remote host closed the connection]
niklasb has joined #ruby
nemesit|znc has quit [Ping timeout: 248 seconds]
monkegj__ has joined #ruby
monkeg___ has joined #ruby
nemesit|znc has joined #ruby
monkegjinni has quit [Ping timeout: 248 seconds]
nari has quit [Ping timeout: 245 seconds]
adambeynon has joined #ruby
monkegji_ has quit [Ping timeout: 276 seconds]
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
monkegj__ has quit [Ping timeout: 256 seconds]
icecandy has quit [Remote host closed the connection]
<nijan>
Hello, I am creating a class attribute array in a module and then using push() on it, but I get a NoMethodError. Any clue? http://pastie.org/813063
bradhe_ has joined #ruby
<stormbytes>
hanmac have you used gdbm?
bradhe has quit [Read error: Connection reset by peer]
hamakn_ has joined #ruby
xardas_ has joined #ruby
krainboltgreene has joined #ruby
xardas_ has quit [Changing host]
xardas_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
dodosan has quit [Remote host closed the connection]
xardas has quit [Ping timeout: 240 seconds]
xardas_ is now known as xardas
nemesit|znc has joined #ruby
sevenseacat has quit [Quit: Leaving.]
monkeg___ has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
monkegji_ has joined #ruby
MrBoolean has quit [Quit: Leaving...]
rippa has joined #ruby
MrBoolean has joined #ruby
persand has quit [Ping timeout: 240 seconds]
persand has joined #ruby
zooz has joined #ruby
<zooz>
hey people
TIJ has joined #ruby
<zooz>
how do I print first and third item from a list?
jimg has joined #ruby
Hanmac has quit [Quit: Leaving.]
zooz has left #ruby [#ruby]
<apeiros>
not much patience, this zooz guy…
<Giorgio>
zooz: puts list[0]
<Giorgio>
puts list[2]
<apeiros>
he's gone
<Giorgio>
oh
<Giorgio>
:D
choobie has quit [Ping timeout: 246 seconds]
axsuul has quit [Ping timeout: 248 seconds]
jimg has quit [Ping timeout: 240 seconds]
blaxter_ has joined #ruby
<apeiros>
hence my comment about his lacking patience ;-)
maxmanders has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 276 seconds]
filipe_ has quit [Ping timeout: 276 seconds]
arya__ has joined #ruby
Emmanuel_Chanel has joined #ruby
Hanmac has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
<Giorgio>
i was little distracted and dont see when he/she left
kung has left #ruby ["Bye!"]
kung has joined #ruby
bradhe_ has quit [Remote host closed the connection]
Gooder``` has joined #ruby
arya__ has quit [Ping timeout: 248 seconds]
bradhe has joined #ruby
<apeiros>
2min after asking the question ;-)
<apeiros>
right before my comment
Guest82982 has quit [Changing host]
Guest82982 has joined #ruby
Guest82982 is now known as robert_
Gooder`` has quit [Ping timeout: 246 seconds]
LimitSupremum has joined #ruby
choobie has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
mklappstuhl has joined #ruby
jbpros has quit [Quit: jbpros]
<Giorgio>
maybe he/shje got enlightenment
Speed has joined #ruby
trepidaciousMBR has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
browndawg has joined #ruby
filipe_ has joined #ruby
pedda has joined #ruby
cj3kim has joined #ruby
mklappstuhl has quit [Ping timeout: 264 seconds]
doritostains has quit [Quit: Leaving...]
arya_ has joined #ruby
peterhellberg has quit [Read error: Operation timed out]
Niamkik_ has quit [Remote host closed the connection]
Niamkik has joined #ruby
DonRichie has quit [Quit: Verlassend]
cj3kim has quit [Ping timeout: 240 seconds]
filipe_ has quit [Ping timeout: 246 seconds]
browndawg has quit [Ping timeout: 240 seconds]
persand has quit [Quit: persand]
peterhellberg has joined #ruby
<nijan>
Hello, I am creating a class attribute array in a module and then using push() on it, but I get a NoMethodError. Any clue? http://pastie.org/813063
yashshah has joined #ruby
<tobiasvl>
Sorry, there is no pastie #813063 or it has been removed. Why not create a new pastie?
<Hanmac>
nijan: the @stack in line 2 and the @stack in line 4 are two different things
<nijan>
Do you mind if I ask you why?
<Hanmac>
nijan: in line 2 the @stack is a variable of the module itself, in line 4 the @stack is an variable of an instance of an class that includes the module or of an object that extends the module
cha1tanya has quit [Ping timeout: 240 seconds]
<nijan>
so, can I refer to the module variable, or I should move @stack to be a class variable?
Gooder``` has quit [Ping timeout: 245 seconds]
<tobiasvl>
you probably want it to be an instance variable of the instances of the class that includes the module?
<tobiasvl>
(you shouldn't use class variables, use class instance variables instead)
jibi has joined #ruby
<nijan>
but then I cannot refer to it in the module, because the variable doesn't exist at the time of the method definition
filipe_ has joined #ruby
persand has joined #ruby
<tobiasvl>
module Test; def initialize; @var = []; end; end; class Test2; include Test; def test(var); @var = var; end; end
<tobiasvl>
something like that?
<tobiasvl>
what do you mean refer to it?
timonv has quit [Read error: Connection reset by peer]
timonv has joined #ruby
crazysim has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
bradhe has joined #ruby
codeplay has joined #ruby
ehaliewicz has quit [Remote host closed the connection]
gstamp has quit [Quit: Computer has gone to sleep.]
crazysim has joined #ruby
mklappstuhl has joined #ruby
ctp has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
jdripper has quit [Ping timeout: 245 seconds]
nemesit|znc has quit [Ping timeout: 240 seconds]
<nijan>
tobiasvl, so the problem is that I haven't defined @stack in initialize
raddy has joined #ruby
<raddy>
Hello Everybody
<nijan>
By including it into init it works. But I still don't get why, isn't the variable created if not in intialize?
cj3kim has joined #ruby
Zai00_ has joined #ruby
<raddy>
I am getting No route matches error for specific projects in redmine
<raddy>
Please assist me in resolving the issue
<tobiasvl>
nijan: you need to understand what @var means. if it's in initialize, that method gets included by the class that includes the module, and the @var is created as an instance variable on the instance of the class
Domon has quit [Remote host closed the connection]
zets has quit [Ping timeout: 256 seconds]
camilasan has quit [Remote host closed the connection]
codesoda_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Czupa has quit [Remote host closed the connection]
swordsmanz has joined #ruby
ffio has joined #ruby
guns has quit [Quit: guns]
jimg has joined #ruby
eaWPq4nU has quit [Ping timeout: 240 seconds]
stormbytes has quit [Quit: Leaving...]
filipe_ has joined #ruby
matematikaadit has quit [Ping timeout: 240 seconds]
codesoda_ has quit [Remote host closed the connection]
eaWPq4nU has joined #ruby
tonini has joined #ruby
Guga_ has joined #ruby
nemesit|znc has quit [Ping timeout: 246 seconds]
jimg has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
nemesit|znc has joined #ruby
Fuzai has joined #ruby
jprovazn has quit [Quit: Leaving]
binaryplease has joined #ruby
<Fuzai>
Hi I did a gem update and it broke my application from starting. I'm not sure how to fix this http://pastebin.com/rdDvyUDN could someone look at this and tell me what to do here?
jprovazn has joined #ruby
shaunbaker has quit [Remote host closed the connection]
blarghmatey has joined #ruby
BeanDip has quit [Quit: No Ping reply in 180 seconds.]
BeanDip has joined #ruby
shaunbaker has joined #ruby
krz has quit [Quit: krz]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
k610 has joined #ruby
tk has joined #ruby
yacks has joined #ruby
tk is now known as Guest2097
jprovazn has quit [Ping timeout: 264 seconds]
blarghmatey has quit [Read error: Operation timed out]
graydot has quit [Quit: graydot]
shaunbaker has quit [Remote host closed the connection]
chrisja has joined #ruby
queston has joined #ruby
lkba has quit [Ping timeout: 256 seconds]
kris has joined #ruby
<Olipro>
if I have: do_something(val) { |x| 1 ; 2 }
elliptical has joined #ruby
<Olipro>
is there a keyword I can put in front of 1 so that the return value of the block would be 1 rather than 2
<kris>
hi to all
osvico has quit [Ping timeout: 248 seconds]
vinny has joined #ruby
<Fuzai>
Olipro, maybe return?
<Olipro>
nope
ellipse has quit [Ping timeout: 276 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
Xeago_ has joined #ruby
mercwithamouth has joined #ruby
ctp has quit [Ping timeout: 240 seconds]
julweber has joined #ruby
raddy has left #ruby [#ruby]
camilasan has joined #ruby
vinny has left #ruby [#ruby]
kofno has joined #ruby
KarlHung1s is now known as KarlHungus
braincrash has joined #ruby
binarypl1 has joined #ruby
[0x1a] has joined #ruby
jprovazn has joined #ruby
<Hanmac>
Olipro: do you mean {|x| x ? 1 : 2}
binaryplease has quit [Read error: No route to host]
n1x has quit [Ping timeout: 245 seconds]
<kris>
how to convert int to string
<Olipro>
.to_s
<Hanmac>
or "%d" % int
vinny has joined #ruby
binarypl1 is now known as binaryplease
anay has quit [Read error: Connection reset by peer]
vinny has quit [Quit: leaving]
<Olipro>
hanmac: well, in this instance, let's say I don't care about x
<Olipro>
so |_| if you like
anay has joined #ruby
cantonic has joined #ruby
dhruvasagar has quit [Ping timeout: 248 seconds]
<Hanmac>
Olipro so what about {next 1; 2 }
atno has quit [Ping timeout: 245 seconds]
<Olipro>
ah, next
<Olipro>
that is most probably it
ctp has joined #ruby
cj3kim has joined #ruby
Michae___ has quit [Remote host closed the connection]
storm has joined #ruby
Michae___ has joined #ruby
moura has quit [Quit: Computer has gone to sleep.]
<Olipro>
yep, that did the trick
cpruitt has joined #ruby
storm is now known as Guest57189
WarChief has joined #ruby
tonini has quit [Remote host closed the connection]
andikr has quit [Read error: Connection reset by peer]
jprovazn has quit [Quit: Leaving]
zeromodulus has joined #ruby
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
huttan has joined #ruby
mark_locklear has joined #ruby
jprovazn has joined #ruby
cj3kim has quit [Ping timeout: 256 seconds]
jbpros has quit [Quit: jbpros]
n1x has joined #ruby
browndawg has quit [Ping timeout: 246 seconds]
kpshek has joined #ruby
tommyvyo has quit [Client Quit]
<kris>
exit
kris has quit [Quit: Page closed]
wudofyr___ has quit [Remote host closed the connection]
jbpros has joined #ruby
wudofyr___ has joined #ruby
pr0ggie has joined #ruby
Guest57189 has quit [Ping timeout: 240 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
blaxter_ has quit [Ping timeout: 245 seconds]
jprovazn has quit [Ping timeout: 240 seconds]
tommyvyo has joined #ruby
emergion has joined #ruby
tommyvyo has quit [Client Quit]
anay has quit [Remote host closed the connection]
graydot has joined #ruby
postmodern has quit [Quit: Leaving]
xardas has quit [Read error: Connection reset by peer]
pipework has quit [Remote host closed the connection]
<linduxed>
in bin/main_executable i do "#!/usr/bin/env ruby" and "require_relative '../lib/main_lib_file'" which has a lot of require's
blaxter_ is now known as blaxter
<linduxed>
these require's don't work, i get LoadError
<linduxed>
probably because they're not relative or something like that
<linduxed>
is there a way to fix that without making all of them relative?
ellipse has quit [Read error: Connection reset by peer]
KazW_ has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
brbcoding has joined #ruby
KazW_ has joined #ruby
ellipse has joined #ruby
sambao21 has joined #ruby
browndawg has quit [Ping timeout: 245 seconds]
elliptical has quit [Ping timeout: 240 seconds]
jimg has quit [Ping timeout: 264 seconds]
queston has quit [Remote host closed the connection]
moura has joined #ruby
cantonic has quit [Quit: cantonic]
zz_pinage404 has quit [Read error: Operation timed out]
shaunbaker has joined #ruby
kiela has quit [Read error: Operation timed out]
brtdv has quit [Ping timeout: 245 seconds]
TheNumb_ has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
freerobby has joined #ruby
ellipse has quit [Ping timeout: 240 seconds]
eregon has quit [Quit: No Ping reply in 180 seconds.]
ellipse has joined #ruby
thejoecarroll_ has quit [Ping timeout: 264 seconds]
matti has quit [Ping timeout: 240 seconds]
freerobby has quit [Client Quit]
JZTech101 has joined #ruby
kiela has joined #ruby
realDAB has joined #ruby
thejoecarroll has joined #ruby
eregon has joined #ruby
matti has joined #ruby
lkba has joined #ruby
TheNumb has joined #ruby
pinage404 has joined #ruby
browndawg has joined #ruby
DaniG2k has quit [Quit: Leaving.]
clocKwize has joined #ruby
DeanH has joined #ruby
Xeago has quit [Remote host closed the connection]
Michae___ has quit [Remote host closed the connection]
MrBoolean has quit [Quit: Leaving...]
nemesit|znc has quit [Ping timeout: 264 seconds]
Xeago_ has quit [Remote host closed the connection]
amarraja has joined #ruby
freerobby has joined #ruby
nemesit|znc has joined #ruby
swordsmanz has quit [Ping timeout: 256 seconds]
Guest9704 is now known as machuga
tbn` is now known as tbn
atno has joined #ruby
browndawg has quit [Ping timeout: 248 seconds]
wmoxam has joined #ruby
wmoxam has joined #ruby
wmoxam has quit [Changing host]
cpruitt has quit [Quit: cpruitt]
joonty has quit [Ping timeout: 246 seconds]
asobrasil has joined #ruby
angusiguess has joined #ruby
timonv has quit [Ping timeout: 256 seconds]
pranny has quit [Quit: Leaving.]
pedda has joined #ruby
matematikaadit has joined #ruby
jbpros has quit [Quit: jbpros]
DylanJ has quit [Ping timeout: 240 seconds]
wesside has quit [Quit: Computer has gone to sleep.]
atyz has quit [Quit: Leaving...]
DylanJ has joined #ruby
graydot has quit [Quit: graydot]
kofno has quit [Remote host closed the connection]
fuzzyhorns has joined #ruby
fuhgeddaboudit has joined #ruby
cofin has joined #ruby
joonty has joined #ruby
nemesit|znc has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
doritostains has joined #ruby
banghouse has joined #ruby
axl_ has joined #ruby
browndawg has joined #ruby
banghouse is now known as Guest22476
timonv has joined #ruby
nemesit|znc has joined #ruby
jamesaanderson has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
realDAB has quit [Quit: realDAB]
freerobby has joined #ruby
lutfidemirci has joined #ruby
atyz has joined #ruby
Xeago has quit [Remote host closed the connection]
splittingred has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
huoxito has joined #ruby
codecop has quit [Remote host closed the connection]
fredjean has quit [Ping timeout: 246 seconds]
realDAB has joined #ruby
nemesit|znc has quit [Ping timeout: 246 seconds]
graydot has joined #ruby
browndawg has quit [Ping timeout: 264 seconds]
realDAB has quit [Client Quit]
burlyscudd has joined #ruby
darth_chatri has quit [Quit: Leaving.]
nemesit|znc has joined #ruby
h8R has joined #ruby
cofin has quit [Quit: cofin]
MrBoolean has joined #ruby
burlyscudd has quit [Client Quit]
cofin has joined #ruby
banister`gym has joined #ruby
afd__ has quit [Ping timeout: 240 seconds]
kasper has joined #ruby
cpruitt has joined #ruby
michaeldeol has joined #ruby
gildo_ has quit [Ping timeout: 240 seconds]
darth_chatri has joined #ruby
Gugster has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
sailias has quit [Quit: Leaving.]
dash__ has quit [Ping timeout: 248 seconds]
sailias has joined #ruby
afd__ has joined #ruby
burlyscudd has joined #ruby
Guga_ has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Changing host]
burlyscudd has joined #ruby
himsin has quit [Quit: himsin]
v0n has joined #ruby
michaeldeol has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Remote host closed the connection]
anay has quit [Remote host closed the connection]
Gugster has quit [Remote host closed the connection]
zchrykng has joined #ruby
MrBoolean has quit [Read error: Connection reset by peer]
Guga_ has joined #ruby
MrBoolean has joined #ruby
dash_ has joined #ruby
browndawg has joined #ruby
maycon has joined #ruby
dhruvasagar has joined #ruby
jlast has joined #ruby
pipework has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
zchrykng has quit []
browndawg has quit [Ping timeout: 248 seconds]
zchrykng has joined #ruby
hamakn has joined #ruby
Davey has joined #ruby
lkba has joined #ruby
jprovazn has quit [Ping timeout: 246 seconds]
darth_chatri has quit [Ping timeout: 240 seconds]
Guest22476 is now known as banghouse
carloslopes has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
banister`gym is now known as banister
hamakn has quit [Ping timeout: 256 seconds]
ffio has joined #ruby
banister has quit [Remote host closed the connection]
jefflyne has joined #ruby
baroquebobcat has joined #ruby
realDAB has joined #ruby
alistar has joined #ruby
MrBoolean has quit [Quit: Leaving...]
theRoUS has joined #ruby
wallerdev has joined #ruby
niklasb has joined #ruby
michael_mbp has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
realDAB has quit [Client Quit]
cmarques has joined #ruby
AndChat| has joined #ruby
<michael_mbp>
How come one can do class Foo; def bar;end;end and Foo.undef_method :bar but calling undef_method on Foo's eigenclass fails?
jamesaanderson has joined #ruby
zastern has joined #ruby
cj3kim has joined #ruby
<alistar>
Afternoon :) I have an array and I'm looking to create copies of this array, one for each of the elements in the array excluding the first each with a unique order like https://gist.github.com/alistar79/e160ae0cf3ece3b69ecb What's the best way to attack this?
matematikaadit has quit [Quit: Leaving]
fernandoaleman has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
MrBoolean has joined #ruby
Skelz0r has quit [Ping timeout: 256 seconds]
browndawg has joined #ruby
<bnagy>
alistar: you probably want ary.permutation.each
<alistar>
bnagy: Looking at the docs that doesn't ensure each array order is unique and doesnt seem to work if i need one array of a set order per each element in the array
<rcedillor>
a good book to learn ruby
<rcedillor>
?
browndawg has quit [Ping timeout: 256 seconds]
anonymuse has joined #ruby
dash_ has joined #ruby
MrThePlague has joined #ruby
<alistar>
unique as in no value is in the same position in any array
mikecmpbll has joined #ruby
<bnagy>
alistar: I have no idea what docs you're reading or what you mean by unique
camilasan has quit [Remote host closed the connection]
<bnagy>
alistar: well, you can sort if you want
<alistar>
those are the docs and what i need is if i have an array of 4 elements i need one in the given order then another 3 in a different order but in all the arrays the same value should never be in the same index as it is in another array
<bnagy>
I have no idea what your use case is
nanoxd has joined #ruby
jimg has quit [Ping timeout: 248 seconds]
<bnagy>
alistar: that's what combination(3) does for a 4 element array
<alistar>
im trying to create in this case 4 syslog configs each one has the syslog servers listed in a unique order
queston has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
hogeo has quit [Ping timeout: 276 seconds]
kevinykchan has quit [Ping timeout: 245 seconds]
thesheff17 has quit [Remote host closed the connection]
codeplay has quit [Quit: Page closed]
sambao21 has joined #ruby
jerius has joined #ruby
camilasan has joined #ruby
jerius has quit [Client Quit]
cortexman has quit [Client Quit]
nemesit|znc has quit [Ping timeout: 264 seconds]
browndawg has quit [Client Quit]
cofin has joined #ruby
Maoko has joined #ruby
keyword1 has joined #ruby
kevinykchan has joined #ruby
<keyword1>
hi guys I have a question I need generate a uuid but using some format or algorithm so I can know that this uuid is generate from my app, like if I apply some chode to the UUID it returns always 0
graydot has joined #ruby
<zastern>
When I parse json in ruby, e.g. JSON.parse('some string containing json'), what is actually returned? A hash?
jimg has joined #ruby
nemesit|znc has joined #ruby
geekbri has joined #ruby
cj3kim has joined #ruby
cads has quit [Ping timeout: 264 seconds]
<ericwood>
yes
<ericwood>
you then smoke said hash
<zastern>
ericwood: if only
niklasb has quit [Ping timeout: 246 seconds]
<bnagy>
keyword1: questions like that are why I love #ruby
neokya has joined #ruby
DrCode has quit [Ping timeout: 240 seconds]
DrCode_ has joined #ruby
<keyword1>
bnagy: jaja do you have the way?
jjbohn has joined #ruby
<bnagy>
no, because it's a retarded question
joey133 has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
<keyword1>
bnagy: really? why?
DrCode_ is now known as DrCode
<bnagy>
basically you're a ticking time bomb until you do something stupid with cookies
<bnagy>
and I don't want to be there
kevinykchan has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Quit: Leaving.]
<ericwood>
booooom
<joey133>
can anyone take a look at some code, i'm having an issue where my code works fine with ruby 1.8.7 but breaks on 1.9.3
<ericwood>
joey133: can you give us the error message as well?
jimg has quit [Ping timeout: 264 seconds]
neokya has left #ruby [#ruby]
storm has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
<joey133>
i keep getting
<keyword1>
bnagy: I have to create thounsand of this uuid
<joey133>
Its been 5 seconds im bored...
<joey133>
./sandbox.rb:30:in `block in monitor_changes': break from proc-closure (LocalJumpError)
<joey133>
\
<joey133>
from ./sandbox.rb:7:in `block in every_n_seconds'
theRoUS has quit [Remote host closed the connection]
storm is now known as Guest82040
<keyword1>
bnagy: so I need an algo like a cc
<joey133>
ignore that last \
<joey133>
sorry
<keyword1>
bnagy: but seems taht you are really a ruby rock star jajajaja
nomenkun has quit [Remote host closed the connection]
[riot] has joined #ruby
<ericwood>
we are all rockstars
<ericwood>
*guitar solo*
anonymuse has quit [Remote host closed the connection]
* ericwood
lights computer on fire
MrBoolean has quit [Ping timeout: 245 seconds]
Maior has joined #ruby
anay has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Gugster has joined #ruby
<joey133>
i've scoured the web looking for the problem
realDAB has joined #ruby
anay has quit [Remote host closed the connection]
<joey133>
the most i've gotten is you can only use break if your inside an iterator
<joey133>
for a proc
<ericwood>
joey133: nothing jumps out at me, but I haven't used 1.8.7 in years
<joey133>
and i am
<joey133>
this is from an old cookbook im going through
<joey133>
its pissing me off lol
<bnagy>
it's a really clumsy way to approach the problem
<bnagy>
I guess you're not on linux? otherwise use inotify
ahawkins has joined #ruby
Guga_ has quit [Ping timeout: 248 seconds]
Gugster has quit [Client Quit]
<ericwood>
I wish OS X had inotify
<ahawkins>
does anyone know how marshal works internally? I have very simple objects, but I'm getting annoying cannot dump object with default proc errors.
jlast_ has quit [Remote host closed the connection]
persand has quit [Quit: persand]
kevinykchan has joined #ruby
<bnagy>
ericwood: there's a similar thing, but I forget the name fs-something
Davey has joined #ruby
<ericwood>
ah yeah
sambao21 has joined #ruby
Guest82040 has quit [Ping timeout: 264 seconds]
<bnagy>
ahawkins: you can't Marshal procs
<Maior>
if I'm switching to using an array as a hash value instead of a single string, should replacing `if attributes[:deb_init]` with `attributes.fetch(:deb_init, []).each do |init|` Just Work...? (modulo fiddling with the inside of the block)
freerobby has quit [Ping timeout: 276 seconds]
<ericwood>
there's no *good* cross-platform way
wallerdev has quit [Quit: wallerdev]
persand has joined #ruby
sarkis has joined #ruby
<ahawkins>
bnagy: yes I know, but I don't have any (that I know of). I don't understand what data marshal is using to dump the stuff
carloslopes has quit [Remote host closed the connection]
pitzips has joined #ruby
jlast has quit [Remote host closed the connection]
echevemaster has joined #ruby
zastern has quit [Remote host closed the connection]
acrussell has left #ruby [#ruby]
browndawg has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anay has quit [Remote host closed the connection]
queston has joined #ruby
jonathanwallace has joined #ruby
geggam has joined #ruby
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
vlad_starkov has joined #ruby
optimusprimem has joined #ruby
burlyscudd has joined #ruby
marcdel has joined #ruby
maxmanders has joined #ruby
anay has joined #ruby
bradhe has joined #ruby
<joey133>
blah
<joey133>
even forking
<joey133>
gives unexpected break
Maior has left #ruby [#ruby]
<joey133>
fuk it
<joey133>
moving on through this book
Squarepy has joined #ruby
<joey133>
thanks
devoldmx has quit [Ping timeout: 240 seconds]
sysop2 has joined #ruby
anonymuse has joined #ruby
<sysop2>
hi
djbkd has joined #ruby
devoldmx has joined #ruby
<sysop2>
"checking for webkit-1.0... yes. checking for main() in -lwebkit-1.0... no" what do I need to do to fix this? I can provide the mkaf.log if you want.
niklasb has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
<sysop2>
I have tried doing gem installs of the various webkit gems and nothing seems to help.
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
<heftig>
check config.log
burlyscudd has quit [Read error: Connection reset by peer]
burlyscudd1 has joined #ruby
<sysop2>
ok thanks. brb
bradhe has quit [Ping timeout: 240 seconds]
marcdel has quit [Ping timeout: 264 seconds]
<heftig>
sysop2: also, ruby-gir_ffi provides webkit, too
<Hanmac>
sysop2: install the libwebkit dev packages
hamakn has quit [Remote host closed the connection]
<sysop2>
I think I have already install ed the libwebkit dev packages. so would I do gem install ruby-gir_ffi ?
blackmesa has joined #ruby
marcdel has joined #ruby
<heftig>
sysop2: gir_ffi and gir_ffi-gtk
<sysop2>
apt-get or gem install?
dash_ has quit [Ping timeout: 264 seconds]
<sysop2>
I just did an apt-get install of girl_ffi
zchrykng_ has joined #ruby
Notte_ has joined #ruby
zchrykng has quit [Disconnected by services]
zchrykng_ is now known as zchrykng
freerobby has quit [Quit: Leaving.]
Notte has quit [Ping timeout: 246 seconds]
Guga_ has joined #ruby
cjsarette has quit [Ping timeout: 245 seconds]
dash_ has joined #ruby
<heftig>
sysop2: no, do gem install
RichardBaker has joined #ruby
timonv has quit [Remote host closed the connection]
<sysop2>
did both will that matter?
<sysop2>
should I remove the apt-get installed packages?
cburyta has quit [Remote host closed the connection]
nuba has quit [Remote host closed the connection]
anay has quit [Remote host closed the connection]
lindenle has joined #ruby
<sysop2>
btw still same error. very weird.
ybart has quit [Quit: ybart]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<heftig>
what error?
cpruitt has quit [Remote host closed the connection]
mary5030 has joined #ruby
wallerdev has joined #ruby
alistar has quit [Read error: Connection reset by peer]
<sysop2>
"checking for webkit-1.0... yes. checking for main() in -lwebkit-1.0... no" that error
maycon has joined #ruby
maycon has joined #ruby
<sysop2>
it fails when I run ruby extconf.rb
viszu has joined #ruby
<sysop2>
I am trying to get yamr running.
mary5030_ has quit [Ping timeout: 276 seconds]
lnormous has joined #ruby
lnormous has quit [Client Quit]
lnormous has joined #ruby
kasper has quit [Remote host closed the connection]
persand has quit [Quit: persand]
kasper has joined #ruby
<heftig>
sysop2: yamr?
kasper has quit [Read error: Connection reset by peer]
browndawg has quit [Ping timeout: 264 seconds]
kasper has joined #ruby
brunoro has joined #ruby
threesome has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
robscomputer has joined #ruby
lutfidemirci has joined #ruby
alup has quit [Quit: Leaving]
k610 has quit [Quit: Leaving]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lutfidemirci has quit [Remote host closed the connection]
anay has joined #ruby
anonymuse has joined #ruby
saarinen has joined #ruby
burlyscudd has joined #ruby
javiferrer has joined #ruby
javiferrer has joined #ruby
atno has joined #ruby
ffranz has joined #ruby
fabionl has joined #ruby
JZTech101 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
rgreen has quit [Quit: Konversation terminated!]
Michae___ has quit [Remote host closed the connection]
Michae___ has joined #ruby
mjc_ has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
browndawg has joined #ruby
Micha____ has joined #ruby
redgirl has quit [Quit: This computer has gone to sleep]
Michae___ has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 240 seconds]
Micha____ has quit [Remote host closed the connection]
Es0teric has joined #ruby
Michae___ has joined #ruby
mary5030 has joined #ruby
huttan has quit [Remote host closed the connection]
Michae___ has quit [Read error: Connection reset by peer]
Michae___ has joined #ruby
realDAB has quit [Quit: realDAB]
Michae___ has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
chjunior has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
Tamae has joined #ruby
Zai00 has quit [Quit: Zai00]
johnnyfuchs has quit [Remote host closed the connection]
brunoro has joined #ruby
jimg has joined #ruby
kirun has joined #ruby
mljsimone is now known as mljsimone|away
Skelz0r has quit [Ping timeout: 264 seconds]
mljsimone|away is now known as mljsimone
interactionjaxsn has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
weeb1e has quit [Quit: No Ping reply in 180 seconds.]
jimg has quit [Ping timeout: 246 seconds]
trepidaciousMBR has quit [Ping timeout: 256 seconds]
c0rn has joined #ruby
weeb1e has joined #ruby
Notte_ has quit [Remote host closed the connection]
thesheff17 has quit [Read error: Connection reset by peer]
elaptics is now known as elaptics`away
bakingbread has quit [Ping timeout: 245 seconds]
bradhe has quit [Remote host closed the connection]
skane has joined #ruby
browndawg has quit [Ping timeout: 276 seconds]
interactionjaxsn has quit [Ping timeout: 240 seconds]
axl_ has quit [Quit: axl_]
wsterling has quit [Remote host closed the connection]
wsterling has joined #ruby
persand has joined #ruby
persand has quit [Client Quit]
dhruvasagar has quit [Ping timeout: 246 seconds]
baordog has joined #ruby
Zeeo has quit [Quit: and then one day you'll pack up, fly down south... hide your head in the sand]
jamesaanderson has joined #ruby
cjsarette has joined #ruby
bradhe has joined #ruby
rgreen has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
axl_ has joined #ruby
<rgreen>
how would I write html code to a file, since it contains characters like "&#<> which wont work, but if i escape these characters then my HTML code will be altered and wont work
shaunbaker has joined #ruby
Skelz0r has joined #ruby
shaunbaker has quit [Remote host closed the connection]
<havenwood>
rgreen: What's the prob with writing those chars to file?
kdaigle has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rgreen>
well lets say that i just wanted to do puts "some html text"
<rgreen>
puts will get stuck on those chars
fernandoaleman has joined #ruby
cjsarette has quit [Ping timeout: 240 seconds]
dmyers- has quit [Remote host closed the connection]
<BlakeRG>
it says "if num has a zero" - think they mean "if number IS a zero"
<BlakeRG>
right?
ukd1__ has quit [Ping timeout: 264 seconds]
ukd1 has joined #ruby
yxhuvud2 is now known as yxhuvud
luckyruby has quit [Remote host closed the connection]
<slash_nick>
it makes perfect sense... has a zero value
<slash_nick>
is a zero value sounds badly... you misquote?
<havenwood>
or looking at earlier docs?
<havenwood>
nope, linked 2.0 :P
<slash_nick>
:)
ArnaudR has quit [Quit: Connection closed for inactivity]
realDAB has joined #ruby
burlyscudd has quit [Quit: Leaving.]
kadoo has joined #ruby
burlyscudd has joined #ruby
<havenwood>
couldn't find anything to name simple encryption gem, anything related to vault or cypher all taken... so i try "encrypt" and that is available >.>
<havenwood>
worst gem name i ever did was "update", which people download in droves, I think trying to update RubyGems :O
mklappstuhl has quit [Ping timeout: 264 seconds]
<ericwood>
hahahahaha
<ericwood>
that's amazing
<havenwood>
was trying to think whether to deprecate the gem any forward on to update-rubygems, or maybe better to simply yank all version
<havenwood>
s/any/and
<havenwood>
`gem install update`
mansi has joined #ruby
tonini has quit [Remote host closed the connection]
cantonic_ has joined #ruby
cantonic has quit [Ping timeout: 264 seconds]
cantonic_ is now known as cantonic
cjsarette has joined #ruby
nbouscal has joined #ruby
freerobby has quit [Quit: Leaving.]
<havenwood>
45,000+ (mistaken) downloads
n1x has joined #ruby
realDAB has quit [Quit: realDAB]
<ericwood>
that's too awesome
<ericwood>
I love it
goshakkk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ortuna_ has quit [Quit: Computer has gone to sleep.]
Ortuna has joined #ruby
breakingthings has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
bakingbread has joined #ruby
jbpros has quit [Quit: jbpros]
maxmanders has quit [Quit: Computer has gone to sleep.]
<louism2_>
Hey everyone, I am curious as to people's opinion of catching errors on the save method? You wouldn't 'expect' save to fail but it obviously could. Does catching exceptions of save seem like overkill?
vlad_starkov has quit [Remote host closed the connection]
sepp2k has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mahmoudimus has joined #ruby
ffranz has quit [Ping timeout: 256 seconds]
citizensinspace has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
burlyscudd has joined #ruby
daniel_hinojosa has joined #ruby
jds has joined #ruby
bionoid has joined #ruby
cantonic has quit [Quit: cantonic]
jbpros has quit [Quit: jbpros]
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
alex__c2022 has joined #ruby
agjacome has joined #ruby
saarinen has quit [Quit: saarinen]
bionoid has quit [Remote host closed the connection]
moura has quit [Quit: Computer has gone to sleep.]
niklasb has joined #ruby
saintcajetan has quit [Quit: Leaving]
saarinen has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
cjsarette has quit [Ping timeout: 245 seconds]
krainboltgreene has joined #ruby
freerobby has joined #ruby
michaeldeol has quit [Remote host closed the connection]
jlast_ has joined #ruby
momomomomo has joined #ruby
BizarreCake has quit [Ping timeout: 264 seconds]
denver has joined #ruby
<sethetter>
I need to do two-way encryption of a string into a 48 character hash string. Currently I'm using openssl/cipher with AES128, but what I'm getting is not human readable. Am I on the right track at least?
<sethetter>
I tried SHA1 then realized it was not reversible..
ffranz has joined #ruby
jbpros has joined #ruby
x1337807x has joined #ruby
rupee has quit [Quit: Leaving]
jlast has quit [Ping timeout: 240 seconds]
kdaigle has joined #ruby
CaptainJet has quit []
<onewheelskyward>
You are, but do you need the 48 character hash to be human readable?
Notte has quit [Remote host closed the connection]
<sethetter>
onewheelskyward: Just as in alphanumeric.
<onewheelskyward>
And that's not a lot of characters for an encrypted payload.
<onewheelskyward>
I hope you aren't trying to send more than a few bytes.
redgirl has joined #ruby
<onewheelskyward>
alphanumeric limits your character set to 60 instead of the full 255.
sambao21 has quit [Quit: Computer has gone to sleep.]
axsuul is now known as axsuul
burlyscudd1 has joined #ruby
burlyscudd has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sethetter>
Hmm..
goshakkk has joined #ruby
momomomomo has quit [Ping timeout: 240 seconds]
realDAB has joined #ruby
krisfremen-home has quit [Remote host closed the connection]
bionoid has joined #ruby
krisfremen-home has joined #ruby
sambao21 has joined #ruby
CaptainJet has joined #ruby
mcpierce has quit [Ping timeout: 246 seconds]
jmimi has joined #ruby
cjsarette has joined #ruby
DonRichie has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Quit: Leaving.]
daniel__2 has quit [Ping timeout: 240 seconds]
jztech101_ has joined #ruby
wsterlin_ has joined #ruby
xardas_ has joined #ruby
DonRichie has joined #ruby
javiferrer has quit [Remote host closed the connection]
<onewheelskyward>
Why the 48 character limit?
Asher1 has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
mercwith1mouth has joined #ruby
jeremy_c_ has joined #ruby
jayne_ has joined #ruby
fabionl has quit [Quit: fabionl]
xardas_ has quit [Changing host]
xardas_ has joined #ruby
<ericwood>
48 chars outta be enough for anybody
<onewheelskyward>
If it's text you're sending you may be better off with a simpler letter substitution scheme. It depends on how important the security is.
jimg has joined #ruby
yugui_zzz_ has joined #ruby
mmitchel_ has joined #ruby
bluenemo has joined #ruby
bluenemo has quit [Changing host]
bluenemo has joined #ruby
didlix_ has joined #ruby
axsuul1 has joined #ruby
ffranz has quit [Ping timeout: 260 seconds]
carloslopes has joined #ruby
ainame_ has joined #ruby
wildcard1 has joined #ruby
fredjean_ has joined #ruby
Anarch_ has joined #ruby
Patteh_ has joined #ruby
skogis_ has joined #ruby
gf3_ has joined #ruby
matrixis1 has joined #ruby
mcpierce has joined #ruby
pedda_ has joined #ruby
burlyscudd1 has quit [Quit: Leaving.]
jibi_ has joined #ruby
Nakilon has joined #ruby
elnormous has joined #ruby
punkrawkR^Home has joined #ruby
<sethetter>
Not really important
dash__ has joined #ruby
SecretAgent has joined #ruby
<sethetter>
It's to generate an api key for use by a client, the key is to be generated from some client specific information, and should be reversible.
yashshah has quit [Read error: Connection reset by peer]
<sethetter>
The 48 character limit was put in place before they decided to make it a generated key instead of a random one, now I'm stuck with it :(
dallasm has quit []
jimg has quit [Ping timeout: 264 seconds]
<sethetter>
I may be able to bump the limit, but it has to stay alphanumeric.
axl_ has quit [Quit: axl_]
<sethetter>
The client info string wouldn't be verylong, no more than 15-20 chars.
badquanta has quit [Ping timeout: 245 seconds]
denver has quit [Remote host closed the connection]
momomomomo has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
otters has joined #ruby
locriani has joined #ruby
s00pcan has joined #ruby
bier_ has joined #ruby
hanoi has joined #ruby
Astral__ has quit [Read error: Connection reset by peer]
companion_ has joined #ruby
Astral__ has joined #ruby
axl_ has joined #ruby
badquanta has joined #ruby
<zastern>
I'm trying to parse some json, and then pp (pretty print) it. I e..g `pp jsonparsed`. I thought parsed json was a hash, and you can pretty print hashes. Am I missing some intermediary step?
tvw has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
tvw has joined #ruby
tvw has quit [Client Quit]
wsterling has quit [*.net *.split]
johnnyfuchs has quit [*.net *.split]
JZTech101 has quit [*.net *.split]
johnmilton has quit [*.net *.split]
zeropx has quit [*.net *.split]
_carloslopes has quit [*.net *.split]
axsuul has quit [*.net *.split]
threesome has quit [*.net *.split]
lindenle has quit [*.net *.split]
lnormous has quit [*.net *.split]
djbkd has quit [*.net *.split]
dash_ has quit [*.net *.split]
fredjean has quit [*.net *.split]
punkrawkR has quit [*.net *.split]
mmitchell has quit [*.net *.split]
pedda has quit [*.net *.split]
xardas has quit [*.net *.split]
Fuzai has quit [*.net *.split]
mercwithamouth has quit [*.net *.split]
jibi has quit [*.net *.split]
crazysim has quit [*.net *.split]
Alveric has quit [*.net *.split]
WhereIsMySpoon has quit [*.net *.split]
companion has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
matchaw has quit [*.net *.split]
skogis has quit [*.net *.split]
matrixise has quit [*.net *.split]
z has quit [*.net *.split]
jokke has quit [*.net *.split]
YaNakilon has quit [*.net *.split]
chxane has quit [*.net *.split]
madnificent has quit [*.net *.split]
TJNII has quit [*.net *.split]
Asher has quit [*.net *.split]
Patteh has quit [*.net *.split]
SecretAg1nt has quit [*.net *.split]
wildcard0 has quit [*.net *.split]
didlix has quit [*.net *.split]
prophile has quit [*.net *.split]
jayne has quit [*.net *.split]
Anarch has quit [*.net *.split]
airtonix has quit [*.net *.split]
wchun has quit [*.net *.split]
Desert_eagle has quit [*.net *.split]
jeremy_c has quit [*.net *.split]
yugui_zzz has quit [*.net *.split]
ainame has quit [*.net *.split]
joelteon has quit [*.net *.split]
s00pcan_ has quit [*.net *.split]
epochwolf has quit [*.net *.split]
bier has quit [*.net *.split]
gf3 has quit [*.net *.split]
idoru has quit [*.net *.split]
coaster has quit [*.net *.split]
ainame_ is now known as ainame
gf3_ is now known as gf3
companion_ is now known as companion
companion has quit [Changing host]
companion has joined #ruby
eldariof has joined #ruby
punkrawkR^Home is now known as punkrawkR
otters is now known as joelteon
didlix_ is now known as didlix
Desert_eagle has joined #ruby
renderful has joined #ruby
jeremy_c_ is now known as jeremy_c
goodgame has joined #ruby
<zastern>
ah i think i got it
Alveric has joined #ruby
Notte has joined #ruby
TJNII has joined #ruby
Fuzai has joined #ruby
axl_ has quit [Ping timeout: 240 seconds]
chxane has joined #ruby
crazysim has joined #ruby
prophile has joined #ruby
jokke has joined #ruby
hamed_r has joined #ruby
threesome has joined #ruby
RichardBaker has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
reset has quit [Ping timeout: 256 seconds]
mary5030 has joined #ruby
babykosh has joined #ruby
babykosh has quit [Client Quit]
ayonix has quit [Quit: cya]
babykosh has joined #ruby
realDAB has quit [Quit: realDAB]
PaulePanter has joined #ruby
Desert_eagle has quit [Ping timeout: 240 seconds]
locriani has quit [Remote host closed the connection]
goodgame has quit [Ping timeout: 246 seconds]
locriani has joined #ruby
michaeldeol has joined #ruby
cortexman has joined #ruby
z has joined #ruby
cortexman has quit [Max SendQ exceeded]
michael_mbp is now known as zz_michael_mbp
cortexman has joined #ruby
cortexman has quit [Max SendQ exceeded]
z is now known as Guest27592
yashshah has joined #ruby
Ortuna has quit [Quit: Computer has gone to sleep.]
ayonix has joined #ruby
timonv has joined #ruby
coaster has joined #ruby
lindenle has joined #ruby
airtonix has joined #ruby
madnificent has joined #ruby
zeropx has joined #ruby
WhereIsMySpoon has joined #ruby
idoru has joined #ruby
matchaw has joined #ruby
johnnyfuchs has joined #ruby
workmad3 has joined #ruby
epochwolf has joined #ruby
baordog_ has joined #ruby
horofox_ has joined #ruby
byprdct has quit [Ping timeout: 264 seconds]
<BlakeRG>
question: if i try to access an array index that does not exist will i get an error?
<apeiros>
end_guy: the bot is for demonstration purposes only. please use your irb/pry for experiments.
<yekta>
Its a fresh irb session, I thought `rib` just loads ruby and nothing else
<yekta>
irb*
<apeiros>
yekta: well, obviously it also loads irb :-p
burlyscudd has quit [Read error: Connection reset by peer]
<apeiros>
it also loads ~/.irbrc
Guest25981 has quit [Client Quit]
locriani has quit [Remote host closed the connection]
<end_guy>
:(
burlyscudd has joined #ruby
havenwood has joined #ruby
zastern has quit [Remote host closed the connection]
<apeiros>
if you want plain ruby, you can try `ruby -e 'p Date'`
locriani has joined #ruby
<apeiros>
that will tell you that the Date constant does not exist.
jcarouth` has joined #ruby
adamholt_ has joined #ruby
<yekta>
interesting
hakunin has quit [Remote host closed the connection]
sepp2k1 has joined #ruby
_br_- has joined #ruby
wookiehangover_ has joined #ruby
hakunin has joined #ruby
sam113101_ has joined #ruby
brjannc has quit [Ping timeout: 246 seconds]
kevinfagan has quit [Ping timeout: 246 seconds]
Zeeraw has quit [Ping timeout: 246 seconds]
tchebb has quit [Ping timeout: 246 seconds]
Iszak has quit [Ping timeout: 246 seconds]
nick_h_ has quit [Ping timeout: 246 seconds]
ekarlso- has quit [Ping timeout: 246 seconds]
wookiehangover has quit [Ping timeout: 246 seconds]
notbrent___ has quit [Ping timeout: 246 seconds]
danbeck has quit [Ping timeout: 246 seconds]
Mars` has quit [Ping timeout: 246 seconds]
io_syl has quit [Ping timeout: 246 seconds]
Elfix_113 has quit [Ping timeout: 246 seconds]
xybre has quit [Ping timeout: 246 seconds]
neektza1 has quit [Ping timeout: 246 seconds]
Kov|abx has quit [Ping timeout: 246 seconds]
kirun has quit [Ping timeout: 246 seconds]
Skelz0r has quit [Ping timeout: 246 seconds]
lkba has quit [Ping timeout: 246 seconds]
lusory has quit [Ping timeout: 246 seconds]
_br_ has quit [Ping timeout: 246 seconds]
gtc has quit [Ping timeout: 246 seconds]
niftylettuce has quit [Ping timeout: 246 seconds]
wyrd1 has quit [Ping timeout: 246 seconds]
chiel has quit [Ping timeout: 246 seconds]
sirecote has quit [Ping timeout: 246 seconds]
calmyournerves has quit [Ping timeout: 246 seconds]
jcarouth has quit [Ping timeout: 246 seconds]
devyn has quit [Ping timeout: 246 seconds]
Bish has quit [Ping timeout: 246 seconds]
slightair has quit [Ping timeout: 246 seconds]
sam113101 has quit [Ping timeout: 246 seconds]
ssvo has quit [Ping timeout: 246 seconds]
fuhgeddaboudit has quit [Ping timeout: 246 seconds]
psychouroboros has quit [Ping timeout: 246 seconds]
s0ber has quit [Ping timeout: 246 seconds]
paul_k has quit [Ping timeout: 246 seconds]
dawkirst has quit [Ping timeout: 246 seconds]
bubbajones has quit [Ping timeout: 246 seconds]
jetblack has quit [Ping timeout: 246 seconds]
Xuerian has quit [Ping timeout: 246 seconds]
WanderingGlitch has quit [Ping timeout: 246 seconds]
multi_io_ has quit [Ping timeout: 246 seconds]
brian` has quit [Ping timeout: 246 seconds]
Rennex has quit [Ping timeout: 246 seconds]
Nom- has quit [Ping timeout: 246 seconds]
BlakeRG has quit [Ping timeout: 246 seconds]
flagg0204 has quit [Ping timeout: 246 seconds]
ericwood has quit [Ping timeout: 246 seconds]
Gnubie has quit [Ping timeout: 246 seconds]
thejoecarroll has quit [Ping timeout: 246 seconds]
adamholt has quit [Ping timeout: 246 seconds]
QKO has quit [Ping timeout: 246 seconds]
Dekade has quit [Ping timeout: 246 seconds]
Sou|cutter has quit [Ping timeout: 246 seconds]
ping-pong has quit [Ping timeout: 246 seconds]
Morrolan has quit [Ping timeout: 246 seconds]
mahlon has quit [Ping timeout: 246 seconds]
Niamkik has quit [Ping timeout: 246 seconds]
Scient has quit [Ping timeout: 246 seconds]
UltimateBlackMan has quit [Ping timeout: 246 seconds]
<Olipro>
is there a better way to do "somestring = [somestring] if somestring.is_a? String"
Dekade has joined #ruby
tchebb_ is now known as tchebb
wookiehangover_ is now known as wookiehangover
Guest53666 has joined #ruby
s0ber_ is now known as s0ber
danbeck_ is now known as danbeck
Mars` has joined #ruby
BlakeRG_ is now known as BlakeRG
slightair_ has joined #ruby
Sou|cutter has joined #ruby
wyrd1 has joined #ruby
maxmanders has joined #ruby
sirecote has joined #ruby
sepp2k has quit [Ping timeout: 256 seconds]
<apeiros>
Olipro: there are other ways, but IMO none which is better.
Desert_eagle has joined #ruby
paul_k has joined #ruby
<mjc_>
Olipro: what do you mean by that exactly? you probably don't actually want to do that at all
deadalus has joined #ruby
<mjc_>
.is_a? is avoidable
<Guest53666>
is there a way to run code before restarting a loop (like perl's `continue`)? Very useful if I want to introduce a delay before restarting a loop, but not when ending the loop, or before the first itration
Guest53666 is now known as qubit
thesheff17 has joined #ruby
Scient has joined #ruby
Morrolan has joined #ruby
thejoecarroll has joined #ruby
<mjc_>
Guest1988: can you show us the code in a gist?
momomomomo has quit [Quit: momomomomo]
<yekta>
apeiros: thanks for explaining… I'm trying to show my pythonista friend how friendly ruby is, this was a bit magical I'm afraid
<apeiros>
yekta: well, that's how it is - ruby is superficially easy, but some things still require a deep understanding if you want to know why&how
timonv has quit [Remote host closed the connection]
hakunin has quit [Ping timeout: 240 seconds]
hanoi has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
pskosinski has quit [Remote host closed the connection]
freerobby has joined #ruby
<mjc_>
qubit: tjat
<mjc_>
er
RobertC1arke is now known as tehKitten
Maoko has joined #ruby
babykosh has joined #ruby
pskosinski has joined #ruby
ping-pong has joined #ruby
<mjc_>
that's like [0..3].each do |i|; print "i=#{i}"; sleep 1 if i < 3; end, no?
<qubit>
mjc_: well that was just a simple example showing what continue is. My actual usage right now is a bit more complex. I have a loop, and during the loop I might call `next` to skip to next iteration early, or I might let it run through the full thing. But i'd like the `continue` block to run in both cases
vlad_starkov has joined #ruby
hakunin has joined #ruby
alex__c2022 has joined #ruby
x1337807x has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
<louism2_>
Hey everyone, I'm new to ruby and I'm having some issue with exception handling. The following code runs the rescue block even though no error is thrown so I am put into an infinite loop because of the retry statement. Any ideas? Thanks. https://gist.github.com/louism2/5979178
spider-mario has quit [Remote host closed the connection]
Kabaka has quit [Remote host closed the connection]
romockee has joined #ruby
anonymuse has quit [Ping timeout: 260 seconds]
<mjc_>
jkline: so basically you want it to not be able to overwrite the monogram once it's created?
Kabaka has joined #ruby
<jkline>
mjc_: I want a class method to be able to do things to instances that other methods cannot do. I think particular example it is a factory method setting a monogram.
stretchlimo has joined #ruby
deadalus has quit [Excess Flood]
maxmanders has joined #ruby
<mjc_>
jkline: well in this particular example you can just use ||= so that once it's set it can't be reset, it looks like
<mjc_>
will mostly give you the same thing
<jkline>
I guess i'm a bit confused about how ruby handles private vs public methods. For whatever reason i'm used to being able to call private methods on an instance from static methods on the same class
corrito has joined #ruby
rezzack has quit [Quit: Leaving.]
corrito has quit [Max SendQ exceeded]
banister_ has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
jibi has joined #ruby
BillCriswell has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
mmitchel_ has quit [Ping timeout: 260 seconds]
jude0_ has left #ruby [#ruby]
<interactionjaxsn>
jkline: you may be confusing private and public methods with class and instance methods
roadt has quit [Ping timeout: 260 seconds]
deadalus has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
rezzack has joined #ruby
cofin has quit [Quit: cofin]
CaptainJet has quit []
smiles_ has joined #ruby
smiles_ has quit [Max SendQ exceeded]
<jkline>
interactionjaxsn: maybe
arya__ has joined #ruby
jds has quit [Remote host closed the connection]
realDAB has joined #ruby
forrest has joined #ruby
CaptainJet has joined #ruby
jimg has joined #ruby
cofin has joined #ruby
maroloccio has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
m8 has quit [Quit: Sto andando via]
choobie has quit [Quit: choobie]
druonysus has quit [Quit: Konversation terminated!]
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
druonysus has quit [Client Quit]
apeiros has quit [Remote host closed the connection]
<heftig>
vim will load whatever libruby it was compiled against
interactionjaxsn has quit [Remote host closed the connection]
agjacome has quit [Quit: leaving]
interactionjaxsn has joined #ruby
<fdelacruz>
heftig libruby??
asobrasil has left #ruby [#ruby]
<jkline>
interactionjaxsn: thanks. That SO article basically tells me I should just leave everything public rather than try to do this type of restriction.
sethetter has quit [Quit: Lost terminal]
<jkline>
I guess ruby has no such thing as "can call from instances or class methods of your same type"