apeiros_ changed the topic of #ruby-lang to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
SuMo_D has joined #ruby-lang
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
_2_lolo has joined #ruby-lang
elia has joined #ruby-lang
_2_lolo has quit [Remote host closed the connection]
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
test24502 has quit [Quit: test24502]
elia has quit [Client Quit]
fujimura has quit [Ping timeout: 252 seconds]
DynamicMetaFlow has joined #ruby-lang
<DynamicMetaFlow> Hello
ta_ has joined #ruby-lang
ta has quit [Ping timeout: 252 seconds]
wprice has quit [Quit: wprice]
riotjones has joined #ruby-lang
jibaly has quit [Ping timeout: 265 seconds]
bruno- has quit [Read error: Connection reset by peer]
bruno- has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
bruno- has quit [Client Quit]
taylorrf has quit [Remote host closed the connection]
lytol has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
jibaly has joined #ruby-lang
riotjones has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 252 seconds]
piotrj has quit [Read error: Connection reset by peer]
Sgeo has quit [Read error: Connection reset by peer]
symm- has quit [Quit: Leaving...]
|jemc| has quit [Ping timeout: 240 seconds]
oleo__ has joined #ruby-lang
lytol has joined #ruby-lang
sankaber has joined #ruby-lang
oleo is now known as Guest68719
Guest68719 has quit [Ping timeout: 244 seconds]
jibaly has quit [Remote host closed the connection]
ruby-lang413 has joined #ruby-lang
tkuchiki has joined #ruby-lang
mikecmpbll has quit [Quit: ciao.]
arBmind1 has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
Antivan has joined #ruby-lang
ruby-lang413 has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 252 seconds]
arBmind has quit [Ping timeout: 240 seconds]
jibaly has joined #ruby-lang
|jemc| has joined #ruby-lang
bzb has joined #ruby-lang
mkaesz has joined #ruby-lang
caseydriscoll has joined #ruby-lang
jibaly has quit [Ping timeout: 265 seconds]
malconis has joined #ruby-lang
taylorrf has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 240 seconds]
mkaesz has quit [Ping timeout: 245 seconds]
malconis has quit [Client Quit]
taylorrf has quit [Ping timeout: 245 seconds]
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
piotrj has joined #ruby-lang
iamninja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nathanstitt has quit [Quit: I growing sleepy]
roamingdog has quit [Remote host closed the connection]
isale-eko has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
SuMo_D has quit [Quit: Off into this... Real world place...]
roamingdog has joined #ruby-lang
hahuang61 has quit [Ping timeout: 265 seconds]
DynamicMetaFlow has quit [Ping timeout: 265 seconds]
shinnya has quit [Ping timeout: 252 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DynamicMetaFlow has joined #ruby-lang
bzb has quit [Quit: I hate to quit but my bladder's full. :-(]
apeiros_ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
djbkd has joined #ruby-lang
Sgeo has joined #ruby-lang
bruno- has joined #ruby-lang
amsi has quit [Quit: Leaving]
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
piotrj has quit [Read error: Connection reset by peer]
piotrj_ has joined #ruby-lang
Sgeo has quit [Ping timeout: 244 seconds]
bruno- has quit [Ping timeout: 264 seconds]
meschi has quit [Quit: Leaving]
sankaber has joined #ruby-lang
DynamicMetaFlow has quit [Ping timeout: 265 seconds]
arooni-mobile has joined #ruby-lang
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
Sgeo has joined #ruby-lang
chouhoulis has quit [Ping timeout: 252 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wnd has quit [Ping timeout: 250 seconds]
DynamicMetaFlow has joined #ruby-lang
ghostpl_ has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Ping timeout: 256 seconds]
DynamicMetaFlow has quit [Ping timeout: 250 seconds]
piotrj_ has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby-lang
mkaesz has quit [Ping timeout: 244 seconds]
taylorrf has joined #ruby-lang
allomov has joined #ruby-lang
bruno- has quit [Ping timeout: 244 seconds]
shazaum has quit [Quit: This computer has gone to sleep]
bruno- has joined #ruby-lang
Antivan has joined #ruby-lang
taylorrf has quit [Ping timeout: 246 seconds]
allomov has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
<jdecuirm> Hey guys, good night, i finally got to understand a problem about parsing a sentence
yfeldblum has quit [Remote host closed the connection]
<jdecuirm> but i need your knowledge about how this works a bit
<jdecuirm> i have a method that gets an array of arrays, but i thought that every method inside worked with a copy of the array, not the same array
<jdecuirm> that was the problem why i wasn't understanding
DynamicMetaFlow has joined #ruby-lang
<jdecuirm> so, every time the array passes to a method the objects are shifted from them
<jdecuirm> so, every new method works with the new array shifted, not the original array? or what
<jdecuirm> sorry, that explanation made me dizzy
<|jemc|> jdecuirm: right, objects are passed "by reference"
<|jemc|> jdecuirm: so it's up to you to avoid mutating an argument passed to a method unless that's the intended purpose of a method
<jdecuirm> thank jemc
<jdecuirm> the problem i was having
<jdecuirm> was precisely that, i thought why in the heck i'm getting things done, if i am passing the supposed entire array
<jdecuirm> but every method do a shift,
bruno- has quit [Ping timeout: 264 seconds]
<|jemc|> jdecuirm: for more info try googling "ruby avoid mutating an array"
<jdecuirm> over the same object i guess, i printed the stack trace and i figured that out
piotrj has joined #ruby-lang
<jdecuirm> thank you very much!
<|jemc|> basically, your two options inside the method are: 1) dup the argument that comes in and throw away the original, 2) use only methods that don't mutate the original, like slice instead of shift
<jdecuirm> ok, so shift mutates the original array!
<jdecuirm> i get it!
rbowlby has joined #ruby-lang
<jdecuirm> that was i wasn't seen the whole picture!
<jdecuirm> thanks to your help and pry i understood a lot, thanks jemc!
jo__ has quit [Quit: Connection closed for inactivity]
sideshowcoder_ has joined #ruby-lang
unreal_ has joined #ruby-lang
hahuang61 has joined #ruby-lang
sideshowcoder has quit [Ping timeout: 246 seconds]
sideshowcoder_ is now known as sideshowcoder
yfeldblu_ has joined #ruby-lang
unreal has quit [Ping timeout: 264 seconds]
nathanstitt has joined #ruby-lang
<DynamicMetaFlow> Hello, I just started reading The Well-Grounded Rubyist and was wondering of other books to accompany it.
jibaly has joined #ruby-lang
<pipework> DynamicMetaFlow: Metaprogramming Ruby is great. the first half is about the object model, the second half is about actual metaprogramming using that model.
<pipework> The first half is pretty foundational, imo.
roamingdog has quit [Remote host closed the connection]
<DynamicMetaFlow> Thank you I'll take a look at it.
<DynamicMetaFlow> For my first project I want to work on something similar to this, either expand upon it or do it from scratch. I had started initially writing a few functions but then decided I need to learn Ruby. I did study Python beforehand but Ruby has a library that works with the Trello API where Python doesn't
ascarter has joined #ruby-lang
piotrj has quit [Ping timeout: 252 seconds]
Miphix has joined #ruby-lang
lytol has quit [Remote host closed the connection]
LMity has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby-lang
piotrj has joined #ruby-lang
caseydriscoll has joined #ruby-lang
mkaesz has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 246 seconds]
caseydriscoll has joined #ruby-lang
mkaesz has quit [Ping timeout: 264 seconds]
tenderlove has quit [Quit: Leaving...]
DynamicMetaFlow has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
slawrence00 has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
jibaly has quit [Remote host closed the connection]
ledestin has joined #ruby-lang
Musashi007 has joined #ruby-lang
Musashi007 has quit [Client Quit]
rbowlby_ has joined #ruby-lang
|jemc| has quit [Ping timeout: 264 seconds]
ghostpl_ has joined #ruby-lang
pepperbreath has quit [Quit: Leaving.]
pepperbreath has joined #ruby-lang
rbowlby has quit [Ping timeout: 245 seconds]
mkaesz has joined #ruby-lang
|jemc| has joined #ruby-lang
rbowlby_ has quit [Ping timeout: 246 seconds]
ghostpl_ has quit [Ping timeout: 245 seconds]
lytol has joined #ruby-lang
rbowlby has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
mkaesz has quit [Ping timeout: 240 seconds]
jo__ has joined #ruby-lang
taylorrf has joined #ruby-lang
rbowlby has quit [Ping timeout: 246 seconds]
rbowlby has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sideshowcoder has quit [Ping timeout: 246 seconds]
taylorrf has quit [Ping timeout: 264 seconds]
AKASkip has joined #ruby-lang
dik_dak has quit [Quit: Textual IRC Client: www.textualapp.com]
bruno- has joined #ruby-lang
rbowlby has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
apeiros_ has joined #ruby-lang
bruno- has quit [Ping timeout: 256 seconds]
dellavg_ has joined #ruby-lang
charliesome has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
<jdecuirm> hey guys, a little question, am i doing a correct test?
roamingdog has quit [Remote host closed the connection]
<jdecuirm> parse_sentence returns an object Sentence
<jdecuirm> assert_equal(parse_sentence([['noun','jorge'],['verb','eats'],['stop','a'],['noun','sandwich']]),Sentence.new('jorge','eats','sandwich'))
kyb3r_ has joined #ruby-lang
duderonomy has joined #ruby-lang
yfeldblu_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
<|jemc|> jdecuirm: that will only work if you've defined a Sentence#== method to compare two Sentence objects
<jdecuirm> oh...
<jdecuirm> i see then why assert_equal died there
<|jemc|> otherwise, the default implementation of #== will check if they are the same object
<jdecuirm> so i just have to override the method == ?
caseydriscoll has joined #ruby-lang
<jdecuirm> and compare for example Sentence.subject, Sentence.object and Sentence.verb?
<|jemc|> yes, with an implementation that returns true if the two Sentence objects should be considered to == one another
Donovan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jdecuirm> will this method be implemented on the test class jemc?
<|jemc|> implement it on your Sentence class
<jdecuirm> oh, thanks jemc, you are such a great help!
cryo28 has joined #ruby-lang
<jdecuirm> what will you suggest me to compare between objects?
<jdecuirm> the sentence attributes?
<|jemc|> only you can answer that for your own objects
<jdecuirm> thanks jemc i will test right now
caseydriscoll has quit [Ping timeout: 264 seconds]
amystephen has quit [Quit: amystephen]
<jdecuirm> i have tried to implement the ==
<jdecuirm> but when running test this happens
<jdecuirm> <#<Sentence:0x0000000192ad00 @obj="sandwich", @subject="jorge", @verb="eats">> expected but was
<jdecuirm> <#<Sentence:0x0000000192ac38 @obj="a", @subject="o", @verb="a">>
Donovan has joined #ruby-lang
Donovan has quit [Client Quit]
gix has quit [Ping timeout: 252 seconds]
charliesome has quit [Read error: Connection reset by peer]
charliesome has joined #ruby-lang
maso has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby-lang
gix has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
roamingdog has quit [Read error: No route to host]
roamingdog has joined #ruby-lang
cryo28 has quit [Ping timeout: 252 seconds]
cryo28 has joined #ruby-lang
rbowlby has joined #ruby-lang
mkaesz has joined #ruby-lang
rbowlby_ has joined #ruby-lang
Sgeo has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
rbowlby has quit [Ping timeout: 245 seconds]
j4cknewt has joined #ruby-lang
mkaesz has quit [Ping timeout: 250 seconds]
slumos has quit [Ping timeout: 272 seconds]
Mon_Ouie has quit [Ping timeout: 245 seconds]
Xzyx987X_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 252 seconds]
Xzyx987X has quit [Ping timeout: 256 seconds]
slumos has joined #ruby-lang
rbowlby_ has quit [Ping timeout: 265 seconds]
rbowlby has joined #ruby-lang
rbowlby_ has joined #ruby-lang
rbowlby__ has joined #ruby-lang
wnd has joined #ruby-lang
ur5us has joined #ruby-lang
rbowlby has quit [Ping timeout: 265 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby-lang
rbowlby_ has quit [Ping timeout: 250 seconds]
havenwood has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
thelastinuit has quit [Quit: Textual IRC Client: www.textualapp.com]
Sgeo has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
concernedcitizen has joined #ruby-lang
ur5us has joined #ruby-lang
kr3ssh has joined #ruby-lang
bruno- has quit [Ping timeout: 252 seconds]
lytol has quit [Remote host closed the connection]
kr3ssh has quit [Ping timeout: 250 seconds]
bb010g has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
|jemc| has quit [Ping timeout: 255 seconds]
ghostpl_ has joined #ruby-lang
havenwood has quit []
the1freeman has joined #ruby-lang
zillabags has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 252 seconds]
the1freeman has quit [Client Quit]
the1freeman has joined #ruby-lang
charliesome has quit [Quit: zzz]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
taylorrf has joined #ruby-lang
mkaesz has joined #ruby-lang
Thecrazylumberja has quit [Quit: Leaving]
taylorrf has quit [Ping timeout: 246 seconds]
Thecrazylumberja has joined #ruby-lang
Thecrazylumberja has quit [Read error: Connection reset by peer]
Thecrazylumberja has joined #ruby-lang
skade has joined #ruby-lang
mkaesz has quit [Ping timeout: 252 seconds]
riotjones has joined #ruby-lang
jo__ has quit [Quit: Connection closed for inactivity]
allomov has joined #ruby-lang
caseydriscoll has joined #ruby-lang
riotjones has quit [Ping timeout: 265 seconds]
jacecore has quit [Ping timeout: 246 seconds]
caseydriscoll has quit [Ping timeout: 264 seconds]
Vivex has quit [Ping timeout: 246 seconds]
fclausen has quit [Quit: leaving]
Vivex has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 256 seconds]
ascarter has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
amystephen has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
mkaesz has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
amystephen has quit [Ping timeout: 246 seconds]
mkaesz has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby-lang
ur5us has joined #ruby-lang
thebastl has joined #ruby-lang
lytol has joined #ruby-lang
charliesome has quit [Client Quit]
riotjones has joined #ruby-lang
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
lytol has quit [Ping timeout: 250 seconds]
ur5us has quit [Remote host closed the connection]
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
Averna has quit [Quit: Leaving.]
Mon_Ouie has quit [Ping timeout: 264 seconds]
doobi-sham-95717 has quit [Read error: Connection reset by peer]
allomov has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
concernedcitizen has quit [Remote host closed the connection]
lytol has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
mkaesz has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
kr3ssh has joined #ruby-lang
charliesome has joined #ruby-lang
charliesome has quit [Client Quit]
charliesome has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 252 seconds]
futilegames has joined #ruby-lang
the1freeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allomov has joined #ruby-lang
taylorrf has joined #ruby-lang
sideshowcoder has joined #ruby-lang
fusillicode has joined #ruby-lang
taylorrf has quit [Ping timeout: 246 seconds]
lytol has quit [Remote host closed the connection]
cornerma1 has joined #ruby-lang
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby-lang
cornerman has quit [Ping timeout: 240 seconds]
mkaesz has quit [Read error: No route to host]
mkaesz has joined #ruby-lang
ur5us has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
banister has joined #ruby-lang
j4cknewt has joined #ruby-lang
caseydriscoll has joined #ruby-lang
mnilsson has joined #ruby-lang
banister has quit [Client Quit]
lytol has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 246 seconds]
arBmind has joined #ruby-lang
dagda1_ has quit [Quit: Textual IRC Client: www.textualapp.com]
aghalarp has joined #ruby-lang
piotrj has joined #ruby-lang
strixd has joined #ruby-lang
zillabags has quit [Remote host closed the connection]
concernedcitizen has joined #ruby-lang
AlexAltea has quit [Ping timeout: 245 seconds]
roamingdog has joined #ruby-lang
piotrj has quit [Remote host closed the connection]
roamingdog has quit [Ping timeout: 246 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
sideshowcoder has quit [Ping timeout: 246 seconds]
mikecmpbll has joined #ruby-lang
elia has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
kyb3r_ has quit [Read error: Connection reset by peer]
ghostpl_ has joined #ruby-lang
yellowgh0st has joined #ruby-lang
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
concernedcitizen has quit [Remote host closed the connection]
amystephen has joined #ruby-lang
<yorickpeterse> morning
stamina has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
macscam1 has joined #ruby-lang
oleo__ has quit [Ping timeout: 264 seconds]
<macscam1> (byebug) @url && @local_store
<macscam1> nil ... why would i get this message? doesnt && return true/false?
mkaesz has quit [Read error: No route to host]
sideshowcoder has joined #ruby-lang
<tobiasvl> macscam1: not necessarily, no
lapide_viridi has joined #ruby-lang
<tobiasvl> macscam1: in this case one of the operands is nil, which is falsey
oleo__ has joined #ruby-lang
<tobiasvl> nil "evaluates" to false in boolean expressions
lytol has quit [Remote host closed the connection]
macscam1 has quit [Client Quit]
mkaesz has joined #ruby-lang
Musashi007 has joined #ruby-lang
fujimura has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
marr has joined #ruby-lang
rbowlby__ has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
the1freeman has joined #ruby-lang
sideshowcoder has quit [Ping timeout: 246 seconds]
taylorrf has joined #ruby-lang
rbowlby has joined #ruby-lang
tdy has quit [Quit: WeeChat 1.1.1]
ruskie has quit [Quit: ...]
taylorrf has quit [Ping timeout: 264 seconds]
djellemah_ has joined #ruby-lang
arBmind has quit [Ping timeout: 246 seconds]
prabeshshrestha has joined #ruby-lang
Ainieco has joined #ruby-lang
<Ainieco> hello
caseydriscoll has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
j4cknewt has joined #ruby-lang
caseydriscoll has quit [Ping timeout: 255 seconds]
ruskie has joined #ruby-lang
caseydriscoll has joined #ruby-lang
aghalarp has joined #ruby-lang
<Ainieco> is it possible to define method with same interface as some other method dynamically?
<Ainieco> i know target method's name and i'd like to use define_method or somethind similar to define another method but with same interface(arguments)
<apeiros_> Ainieco: what do you want to do with that method?
<apeiros_> the answer is probably: use def yourmethod(*args, &block)
roamingdog has joined #ruby-lang
concernedcitizen has joined #ruby-lang
rbowlby_ has joined #ruby-lang
<Ainieco> apeiros_: just a generic convenience wrapper around other methods
<apeiros_> then as I said
<Ainieco> apeiros_: *args doesn't work with keywords
<yorickpeterse> To catch keyword arguments you have to use **args I believe
ruskie has quit [Excess Flood]
<yorickpeterse> >> def foo(**args); args; end; p foo(a: 10, b: 20)
<yorickpeterse> eval-in__: ...
<yorickpeterse> charliesome: fix yo bot
roamingdog has quit [Ping timeout: 240 seconds]
eval-in__ has quit [Remote host closed the connection]
eval-in has joined #ruby-lang
piotrj has joined #ruby-lang
<apeiros_> Ainieco: yes it does
rbowlby_ has quit [Client Quit]
<Ainieco> yorickpeterse: *args catches keywords but when i try to splat args as arguments to wrapped method it doesn't work since keyword args treated as hash
ruskie has joined #ruby-lang
CM-Punk has quit [Ping timeout: 245 seconds]
<Ainieco> apeiros_: gimme a moment i'll show it you
rbowlby has quit [Ping timeout: 256 seconds]
<apeiros_> >> def wrapped(key: "word"); p key; end; def wrapper(*args); wrapped(*args); end; wrapper(key: "stuff")
<eval-in> apeiros_ => "stuff" ... (https://eval.in/289621)
<apeiros_> Ainieco: ^
<apeiros_> works fine
<apeiros_> yorickpeterse: don't use **kwargs for delegation
<apeiros_> it can cause issues. I'd have to figure which ones, though :)
<yorickpeterse> apeiros_: WHY DOES THE BOT WORK FOR YOU
<apeiros_> because I'm a special snowflake
CM-Punk has joined #ruby-lang
<yorickpeterse> :<
piotrj has quit [Ping timeout: 240 seconds]
caseydriscoll has quit [Ping timeout: 256 seconds]
piotrj_ has joined #ruby-lang
<Ainieco> apeiros_: oh, it does work, thanks!
piotrj has joined #ruby-lang
lytol has joined #ruby-lang
cryo28 has quit [Quit: leaving]
piotrj__ has joined #ruby-lang
piotrj_ has quit [Ping timeout: 256 seconds]
piotrj has quit [Ping timeout: 252 seconds]
lytol has quit [Ping timeout: 245 seconds]
yellowgh0st has joined #ruby-lang
ldnunes has joined #ruby-lang
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
piotrj__ has quit []
cryo28 has joined #ruby-lang
mnilsson has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
mnilsson has joined #ruby-lang
mkaesz has quit [Read error: No route to host]
mkaesz has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
concernedcitizen has quit [Remote host closed the connection]
Antivan has joined #ruby-lang
Missphoenix has joined #ruby-lang
concernedcitizen has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
isale-eko has joined #ruby-lang
Miphix has quit [Ping timeout: 256 seconds]
taylorrf has joined #ruby-lang
futilegames_ has joined #ruby-lang
futilegames has quit [Ping timeout: 240 seconds]
futilegames_ is now known as futilegames
taylorrf has quit [Ping timeout: 252 seconds]
<yorickpeterse> but it's to enhance the user experience
ruskie has quit [Quit: ...]
concernedcitizen has quit [Remote host closed the connection]
stamina has quit [Quit: WeeChat 1.1.1]
<djellemah_> Hey all. Anyone have a favourite pattern-matching gem that leverages ===? I already found egison-ruby.
prabeshshrestha has quit [Remote host closed the connection]
<darix> djellemah_: which problem are you trying to solve
arBmind has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
<djellemah_> darix: a deeply-nested conditional with repeated sub-conditions. 4 orthogonal dimensions so far. Prolog would be a good fit.
the1freeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stef204 has joined #ruby-lang
Integralist has joined #ruby-lang
intinig has joined #ruby-lang
the1freeman has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
yellowgh0st has joined #ruby-lang
vondruch has quit [Quit: Ex-Chat]
vondruch has joined #ruby-lang
ruskie has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
DynamicMetaFlow has joined #ruby-lang
yellowgh0st has joined #ruby-lang
kr3ssh has quit [Ping timeout: 264 seconds]
djellemah has quit [Quit: Leaving]
djellemah has joined #ruby-lang
kr3ssh has joined #ruby-lang
lapide_viridi has quit [Quit: Leaving]
yellowgh0st has quit [Ping timeout: 244 seconds]
yellowgh0st_ has joined #ruby-lang
Integralist has quit [Ping timeout: 265 seconds]
charliesome has quit [Quit: zzz]
Integralist has joined #ruby-lang
intinig has quit [Remote host closed the connection]
intinig has joined #ruby-lang
roamingdog has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
symm- has joined #ruby-lang
oleo has joined #ruby-lang
roamingdog has quit [Ping timeout: 265 seconds]
j4cknewt has quit [Remote host closed the connection]
intinig has quit [Ping timeout: 265 seconds]
ruby-lang687 has joined #ruby-lang
ruby-lang687 has quit [Client Quit]
intinig has joined #ruby-lang
charliesome has joined #ruby-lang
bruno- has joined #ruby-lang
lytol has joined #ruby-lang
Ainieco has quit [Quit: leaving]
lytol has quit [Ping timeout: 265 seconds]
yellowgh0st_ has quit [Quit: yellowgh0st_]
shazaum has joined #ruby-lang
shazaum has quit [Changing host]
shazaum has joined #ruby-lang
strixd has quit [Quit: 500]
taylorrf has joined #ruby-lang
taylorrf has quit [Read error: Connection reset by peer]
fujimura has joined #ruby-lang
taylorrf has joined #ruby-lang
djellemah has quit [Quit: Leaving]
djellemah has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
yellowgh0st has joined #ruby-lang
JohnBat26 has joined #ruby-lang
fujimura has quit [Ping timeout: 240 seconds]
strixd has joined #ruby-lang
JoshuaPaling has joined #ruby-lang
ocko has joined #ruby-lang
mnilsson has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Remote host closed the connection]
roamingdog has joined #ruby-lang
intinig has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
mnilsson has joined #ruby-lang
intinig has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 255 seconds]
cryo28 has quit [Quit: leaving]
cryo28 has joined #ruby-lang
cryo28 has quit [Client Quit]
cryo28 has joined #ruby-lang
dzejrou has joined #ruby-lang
mnilsson has quit [Ping timeout: 252 seconds]
intinig has quit [Ping timeout: 252 seconds]
|jemc| has joined #ruby-lang
mnilsson has joined #ruby-lang
sideshowcoder has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby-lang
intinig has joined #ruby-lang
intinig has quit [Remote host closed the connection]
dangerousdave has joined #ruby-lang
intinig has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
dangerousdave has quit [Client Quit]
mattwildig has joined #ruby-lang
mattwildig has quit [Client Quit]
djellemah_ has quit [Quit: Leaving]
taylorrf has quit [Remote host closed the connection]
Bwild has quit [Quit: leaving]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Integralist has quit [Ping timeout: 256 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
caseydriscoll has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
maso has joined #ruby-lang
caseydriscoll has joined #ruby-lang
yellowgh0st has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
roamingdog has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
<yorickpeterse> oh hey this is nice
<yorickpeterse> ruby 2.2 removed digest/hmac
<yorickpeterse> semantic versio..oh wait
<tbuehlmann> yea, beside it's not semver
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
sideshowcoder has quit [Ping timeout: 246 seconds]
tkuchiki has quit [Ping timeout: 265 seconds]
arooni-mobile has joined #ruby-lang
shinnya has joined #ruby-lang
jo__ has joined #ruby-lang
nathanstitt has joined #ruby-lang
CM-Punk has quit [Ping timeout: 245 seconds]
<DynamicMetaFlow> Hello everyone. I'm learning Ruby right now and was thinking if anyone can recommend any code they believe is 'good' to read so I can learn and improve
yellowgh0st has quit [Quit: yellowgh0st]
<ledestin> DynamicMetaFlow: I think Rails code is good
yellowgh0st has joined #ruby-lang
CM-Punk has joined #ruby-lang
<yorickpeterse> Rails is extremely difficult for newbies (the codebase that is)
<yorickpeterse> it's a massive project
<DynamicMetaFlow> I remember reading somewhere where someone also agreed Rails is 'good' code. I can also understand that it's difficult for newcomers.
yfeldblum has joined #ruby-lang
<DynamicMetaFlow> Well if anyone has any resources or a url to recommend that would be great. I'm going to focus on the book 'The Well-Grounded Rubyist' so I can work on creating a CLI for this application called Trello
<ledestin> DynamicMetaFlow: I use http://www.docsdoctor.org/. On the method level, it still gives some insights. I don’t understand Rails on higher level.
yfeldblum has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
<DynamicMetaFlow> Thank you ledestin
<ledestin> DynamicMetaFlow: yw
mkaesz has quit [Read error: Connection reset by peer]
concernedcitizen has joined #ruby-lang
enkristoffer has quit [Ping timeout: 264 seconds]
mkaesz has joined #ruby-lang
enkristoffer has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
dangerousdave has joined #ruby-lang
yellowgh0st has joined #ruby-lang
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
dangerousdave has quit [Client Quit]
iamninja has joined #ruby-lang
lytol has joined #ruby-lang
taylorrf has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 246 seconds]
sankaber has joined #ruby-lang
Integralist has joined #ruby-lang
lytol has quit [Ping timeout: 265 seconds]
mnilsson has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
workmad3 has joined #ruby-lang
tkuchiki_ has quit [Remote host closed the connection]
vondruch has quit [Quit: Ex-Chat]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malconis has joined #ruby-lang
taylorrf has quit [Remote host closed the connection]
iamninja has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has quit [Ping timeout: 264 seconds]
yjmsf20 has joined #ruby-lang
iamninja has joined #ruby-lang
<yjmsf20> titles = links.map{|link| Pismo[link].title}. How can I just discard every link for which the map operation fails?
yellowgh0st has quit [Quit: yellowgh0st]
banister has joined #ruby-lang
enebo has joined #ruby-lang
banister has quit [Max SendQ exceeded]
<ledestin> yjmsf20: map doesn’t fail, it just yields nil
<ledestin> when title is nil, if that’s what you mean
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
<yjmsf20> ah I mean, my map function raises an exception
<workmad3> yjmsf20: because Pismo[link] is nil, maybe?
fujimura has joined #ruby-lang
iamninja has quit [Client Quit]
<yjmsf20> I think it's just some implementation detail of the library
<yjmsf20> ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:224:in `open_loop': redirection forbidden: http://www.nytimes.com/2...\ (RuntimeError)
|jemc| has quit [Ping timeout: 245 seconds]
bruno- has quit [Quit: Lost terminal]
shinnya has quit [Ping timeout: 255 seconds]
enkristoffer has quit [Ping timeout: 264 seconds]
arooni-mobile has joined #ruby-lang
iamninja has joined #ruby-lang
<ledestin> yjmsf20: well, it’s got nothing to do with map
Missphoenix has quit [Quit: Leaving]
concernedcitizen has quit [Remote host closed the connection]
amystephen has quit [Ping timeout: 264 seconds]
malconis has quit [Remote host closed the connection]
Miphix has joined #ruby-lang
mnilsson has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
malconis has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
<yorickpeterse> ah yes
<yorickpeterse> once again upgrading Ruby is problematic
<yorickpeterse> you'd think that going from 2.1.5 to 2.2 would actually work for a chance
<yorickpeterse> but nooooo
iamninja has quit [Quit: WeeChat 1.1.1]
mkaesz has joined #ruby-lang
the1freeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
[H]unt3r has joined #ruby-lang
workmad3 has quit [Quit: Lost terminal]
banister has joined #ruby-lang
futilegames has quit [Quit: futilegames]
ruby-lang864 has joined #ruby-lang
<ruby-lang864> hi
thebastl has quit [Quit: Leaving...]
Voker57 has joined #ruby-lang
workmad3 has joined #ruby-lang
houhoulis has joined #ruby-lang
iamninja has joined #ruby-lang
taylorrf has joined #ruby-lang
matrisking has joined #ruby-lang
taylorrf has quit [Ping timeout: 264 seconds]
mnilsson has quit [Ping timeout: 245 seconds]
mattyohe has joined #ruby-lang
j4cknewt has joined #ruby-lang
enkristoffer has joined #ruby-lang
concernedcitizen has joined #ruby-lang
ascarter has joined #ruby-lang
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby-lang
chouhoul_ has joined #ruby-lang
chouhoulis has quit [Ping timeout: 245 seconds]
houhoulis has quit [Ping timeout: 264 seconds]
concernedcitizen has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
chouhoul_ has quit [Ping timeout: 244 seconds]
ruby-lang864 has quit [Ping timeout: 246 seconds]
houhoulis has joined #ruby-lang
chouhoul_ has joined #ruby-lang
chouhoul_ has quit [Remote host closed the connection]
bruno- has joined #ruby-lang
chouhoul_ has joined #ruby-lang
cmisenas has joined #ruby-lang
mkaesz has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby-lang
chouhoulis has quit [Ping timeout: 256 seconds]
tdy has joined #ruby-lang
maso has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
lytol has joined #ruby-lang
chouhoul_ has quit [Ping timeout: 246 seconds]
iamninja_ has joined #ruby-lang
iamninja_ has quit [Client Quit]
lytol has quit [Ping timeout: 246 seconds]
ledestin has quit [Quit: ledestin]
Sirupsen has joined #ruby-lang
whippythellama has joined #ruby-lang
[H]unt3r has quit [Quit: Leaving]
Integralist has quit [Quit: leaving]
|jemc| has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<strixd> ->
enkristoffer has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby-lang
mkaesz has quit [Quit: Leaving...]
chouhoulis has quit []
concernedcitizen has joined #ruby-lang
havenwood has joined #ruby-lang
AlexAltea has joined #ruby-lang
chouhoulis has joined #ruby-lang
thebastl has joined #ruby-lang
taylorrf has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 264 seconds]
riotjones has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
taylorrf has quit [Ping timeout: 252 seconds]
chadwtaylor has joined #ruby-lang
ocko has quit [Remote host closed the connection]
nikky has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
nikky has joined #ruby-lang
dzejrou has quit [Ping timeout: 264 seconds]
<DynamicMetaFlow> How would I use this? http://www.rubydoc.info/gems/ruby-trello/Trello/Board.all
nikky has left #ruby-lang [#ruby-lang]
yjmsf20 has quit [Quit: Textual IRC Client: www.textualapp.com]
yellowgh0st has joined #ruby-lang
ender|dkm has joined #ruby-lang
__butch__ has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
taylorrf has joined #ruby-lang
kfpratt has joined #ruby-lang
arBmind1 has joined #ruby-lang
kfpratt has quit [Read error: Connection reset by peer]
kfpratt has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
arBmind has quit [Ping timeout: 252 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
yellowgh0st has joined #ruby-lang
iamninja has joined #ruby-lang
yellowgh0st has quit [Client Quit]
centrx has joined #ruby-lang
enkristoffer has joined #ruby-lang
fusillicode has quit [Ping timeout: 252 seconds]
setanta_ has quit [Ping timeout: 264 seconds]
intinig has quit [Remote host closed the connection]
bb010g has quit [Quit: Connection closed for inactivity]
Miphix has quit [Quit: Leaving]
yellowgh0st has joined #ruby-lang
setanta_ has joined #ruby-lang
yellowgh0st has quit [Client Quit]
concernedcitizen has quit [Remote host closed the connection]
yellowgh0st has joined #ruby-lang
lytol has joined #ruby-lang
rippa has joined #ruby-lang
strixd has quit [Quit: 500]
lytol has quit [Ping timeout: 244 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
yellowgh0st has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
kfpratt has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
kfpratt has quit [Read error: No route to host]
enkristoffer has quit [Ping timeout: 250 seconds]
kr3ssh has quit [Ping timeout: 252 seconds]
solars has joined #ruby-lang
enkristoffer has joined #ruby-lang
wallerdev has joined #ruby-lang
ddd has joined #ruby-lang
scampbell has joined #ruby-lang
lytol has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
riotjones has joined #ruby-lang
kfpratt has joined #ruby-lang
hahuang61 has quit [Ping timeout: 250 seconds]
jsaak has quit [Ping timeout: 245 seconds]
amsi has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 246 seconds]
ldnunes has quit [Ping timeout: 252 seconds]
jsaak has joined #ruby-lang
riotjones has quit [Ping timeout: 245 seconds]
iamninja has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
jacecore has joined #ruby-lang
jacecore has quit [Client Quit]
iamninja has joined #ruby-lang
deol has joined #ruby-lang
fusillicode has joined #ruby-lang
ledestin has joined #ruby-lang
enebo has quit [Quit: enebo]
houhoulis has quit [Remote host closed the connection]
<DynamicMetaFlow> I must say rubymonk.com is great!
arBmind1 has quit [Ping timeout: 252 seconds]
arBmind has joined #ruby-lang
Sirupsen has quit [Ping timeout: 265 seconds]
<Senjai> DynamicMetaFlow: Probably exactly how it says you shoudl
<Senjai> Trello::Board.all
oleo has quit [Quit: Verlassend]
roamingdog has quit [Remote host closed the connection]
<DynamicMetaFlow> Thanks Senjai had figured it out. I still think I need to become more accustomed to Ruby before I work on my first project. Thank you for your help.
setanta_ has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby-lang
Sirupsen has joined #ruby-lang
lytol has quit [Remote host closed the connection]
centrx has quit [Quit: Shutting down, Please wait...]
wallerdev has joined #ruby-lang
roamingdog has joined #ruby-lang
cryo28 has quit [Quit: leaving]
hahuang61 has joined #ruby-lang
djbkd has joined #ruby-lang
dik_dak has joined #ruby-lang
dik_dak has quit [Max SendQ exceeded]
dik_dak has joined #ruby-lang
arBmind has quit [Ping timeout: 240 seconds]
oleo has joined #ruby-lang
skade has joined #ruby-lang
lytol has joined #ruby-lang
setanta_ has joined #ruby-lang
kr3ssh has joined #ruby-lang
Sirupsen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 245 seconds]
yellowgh0st has joined #ruby-lang
Sirupsen has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
j5s7 has joined #ruby-lang
arBmind has joined #ruby-lang
sgambino has joined #ruby-lang
j5s7 has quit [Client Quit]
priodev has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Quit: WeeChat 1.1.1]
waxjar has quit [Ping timeout: 246 seconds]
mnilsson has joined #ruby-lang
priodev has joined #ruby-lang
waxjar has joined #ruby-lang
kr3ssh has quit [Ping timeout: 265 seconds]
roamingdog has joined #ruby-lang
hahuang61 has joined #ruby-lang
mnilsson has quit [Ping timeout: 245 seconds]
hahuang61 is now known as hahuang62
arBmind has quit [Ping timeout: 252 seconds]
hahuang62 has quit [Client Quit]
arBmind has joined #ruby-lang
hahuang61 has joined #ruby-lang
yalue has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
iamninja has quit [Ping timeout: 246 seconds]
tdy has quit [Read error: Connection reset by peer]
tdy has joined #ruby-lang
dorei has joined #ruby-lang
tdy has quit [Client Quit]
tdy has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 255 seconds]
skade has joined #ruby-lang
arBmind has joined #ruby-lang
yfeldblum has joined #ruby-lang
arBmind1 has quit [Ping timeout: 245 seconds]
futilegames has joined #ruby-lang
symm- has joined #ruby-lang
djbkd has joined #ruby-lang
yfeldblum has quit [Ping timeout: 250 seconds]
enkristoffer has quit [Ping timeout: 255 seconds]
riotjones has joined #ruby-lang
enkristoffer has joined #ruby-lang
shinnya has joined #ruby-lang
riotjones has quit [Ping timeout: 246 seconds]
ghostpl_ has quit [Remote host closed the connection]
enebo has joined #ruby-lang
iamninja has joined #ruby-lang
chinmay_dd has joined #ruby-lang
enkristoffer has quit [Ping timeout: 252 seconds]
djellemah has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enkristoffer has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
banister has joined #ruby-lang
ur5us has joined #ruby-lang
<banister> yorickpeterse ping
skade has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
thebastl has quit [Quit: Leaving...]
Mon_Ouie has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
aghalarp has joined #ruby-lang
djellemah has joined #ruby-lang
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
roamingdog has quit [Remote host closed the connection]
enebo has quit [Ping timeout: 252 seconds]
enebo has joined #ruby-lang
kr3ssh has joined #ruby-lang
sideshowcoder has joined #ruby-lang
rbowlby has joined #ruby-lang
enkristoffer has quit [Ping timeout: 264 seconds]
lytol has quit [Remote host closed the connection]
meschi has joined #ruby-lang
oleo has quit [Quit: Verlassend]
ghostpl_ has joined #ruby-lang
kr3ssh has quit [Ping timeout: 245 seconds]
ascarter has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
ghostpl_ has joined #ruby-lang
pwnz0r has joined #ruby-lang
windies17 has joined #ruby-lang
blowmage` is now known as blowmage
<windies17> Hi folks, I am new to ruby so learning the basics, excuse the naivety. I am going to as a question. I have set up my models and want to include a mobile phone number in my table I type in t.integer :number, is this ok or there another thing I should do?
yellowgh0st has joined #ruby-lang
<djellemah> windies17: use integers only when you need to do arithmetic. A phone number is a string of digits.
kr3ssh has joined #ruby-lang
oleo has joined #ruby-lang
workmad3 has quit [Ping timeout: 240 seconds]
<wallerdev> +1 use a string
j0n3 has joined #ruby-lang
<windies17> Thankyou djellemah, How do you change that in migration from intgers to string of digits
cmisenas has quit [Quit: cmisenas]
duderonomy has joined #ruby-lang
houhoulis has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fusillicode has quit [Ping timeout: 264 seconds]
fusillicode has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
roamingdog has joined #ruby-lang
enkristoffer has joined #ruby-lang
allomov has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
Mon_Ouie has quit [Ping timeout: 250 seconds]
dellavg_ has quit [Ping timeout: 264 seconds]
allomov has joined #ruby-lang
yfeldblum has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
yellowgh0st has joined #ruby-lang
charliesome has joined #ruby-lang
windies17 has quit [Ping timeout: 246 seconds]
yellowgh0st has quit [Client Quit]
allomov has quit [Remote host closed the connection]
lytol has joined #ruby-lang
bb010g has joined #ruby-lang
enkristoffer has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby-lang
riotjones has joined #ruby-lang
cornerman has joined #ruby-lang
scampbell has quit [Ping timeout: 250 seconds]
sideshowcoder has quit [Ping timeout: 246 seconds]
cornerma1 has quit [Ping timeout: 245 seconds]
riotjones has quit [Ping timeout: 245 seconds]
sideshowcoder has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 252 seconds]
rbowlby_ has joined #ruby-lang
DynamicMetaFlow has quit [Ping timeout: 250 seconds]
rbowlby has quit [Ping timeout: 265 seconds]
yfeldblu_ has joined #ruby-lang
fusillicode has quit [Quit: Leaving.]
yfeldblu_ has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
fusillicode has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
shazaum has quit [Quit: This computer has gone to sleep]
yellowgh0st has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
taylorrf has quit [Remote host closed the connection]
taylorrf has joined #ruby-lang
yellowgh0st has quit [Quit: yellowgh0st]
wallerdev has joined #ruby-lang
ghostpl_ has quit [Remote host closed the connection]
djellemah has quit [Quit: Leaving]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
djbkd has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
hobbes has joined #ruby-lang
<hobbes> hello rubyist
<hobbes> i'm a noob starting code academy and had a quick question.
<hobbes> is there a way for me to check a string for both uppercase and lowercase letters using the .include? method?
<hobbes> and how would i write that code?
<hobbes> user_input.include? "s"
<hobbes> checks for lower case
<hobbes> s
<hobbes> i've searching on google and the answers i see is with mehtods have not yet been covered
<hobbes> anyone?
<hobbes> i'll check back later. thanks anyways
sideshowcoder has quit [Ping timeout: 246 seconds]
hobbes has quit [Ping timeout: 246 seconds]
isale-eko has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
sideshowcoder has joined #ruby-lang
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sideshowcoder has quit [Ping timeout: 246 seconds]
symm- has quit [Quit: Leaving...]
charliesome has quit [Quit: zzz]
sideshowcoder has joined #ruby-lang
<yxhuvud> hobbes: you mean like user_input =~ /s/i
<yxhuvud> ?
maso has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 252 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anjen has joined #ruby-lang
havenwood has quit []
wallerdev has quit [Quit: wallerdev]
caseydriscoll has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
anjen has quit [Client Quit]
symm- has joined #ruby-lang
zillabags has joined #ruby-lang
zoo-zed has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allomov has joined #ruby-lang
chinmay_dd has quit [Quit: Connection closed for inactivity]
futilegames has quit [Quit: futilegames]
arBmind has quit [Quit: Leaving.]
chadwtaylor has quit [Remote host closed the connection]
saramic has joined #ruby-lang
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tunaCanBruh has joined #ruby-lang
charliesome has joined #ruby-lang
pwnz0r has quit [Remote host closed the connection]
malconis has joined #ruby-lang
malconis has quit [Client Quit]
tunaCanBruh has quit [Ping timeout: 244 seconds]
shazaum has joined #ruby-lang
dziemid has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
elia has joined #ruby-lang
Antivan has joined #ruby-lang
wolves_cs has joined #ruby-lang
ghostpl_ has joined #ruby-lang
arBmind has joined #ruby-lang
<yorickpeterse> banister: pong
zillabags has quit [Read error: Connection reset by peer]
<banister> yorickpeterse do you know how bonuses are taxed in NL?
sideshowcoder has quit [Ping timeout: 246 seconds]
<pipework> banister: Pray to jesus.
yfeldblu_ has quit [Remote host closed the connection]
<yorickpeterse> banister: No
<yorickpeterse> are you talking about actual bonuses, or holiday allowances?
<banister> yorickpeterse okies np, actual bonuses
<banister> not vacanciegeld
oleo is now known as Guest20700
oleo__ has joined #ruby-lang
sideshowcoder has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 244 seconds]
oleo__ has quit [Read error: Connection reset by peer]
<yorickpeterse> banister: can't actually find anything on bonuses on belastingdienst.nl
<yorickpeterse> (which is odd)
yfeldblum has joined #ruby-lang
Guest20700 has quit [Ping timeout: 264 seconds]
<banister> yorickpeterse http://www.makethatthecatwise.nl/
solars has quit [Ping timeout: 246 seconds]
taylorrf_ has joined #ruby-lang
<yorickpeterse> seens it
ghostpl_ has joined #ruby-lang
taylorrf has quit [Ping timeout: 250 seconds]
skade has joined #ruby-lang
DynamicMetaFlow has joined #ruby-lang
oleo__ has joined #ruby-lang
ascarter has joined #ruby-lang
<banister> yorickpeterse i love the dutchglish used in the den haag kfc: "we have more spice than in some garden"
<banister> so cute
<banister> it's written in large letters on the wall
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
whippythellama has quit [Quit: whippythellama]
fujimura_ has joined #ruby-lang
wallerdev has joined #ruby-lang
fujimura_ has quit [Remote host closed the connection]
fujimura has joined #ruby-lang
fujimura has quit [Ping timeout: 256 seconds]
deol has joined #ruby-lang
lytol has quit [Remote host closed the connection]
deol has quit [Client Quit]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zoo-zed has quit [Quit: Leaving.]
lytol has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
skade has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Read error: No route to host]
roamingdog has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
kr3ssh has quit [Ping timeout: 240 seconds]
oleo has joined #ruby-lang
yfeldblum has joined #ruby-lang
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
AKASkip has quit [Ping timeout: 264 seconds]
arooni-mobile has joined #ruby-lang
Lewix has joined #ruby-lang
skade has joined #ruby-lang
Lewix has quit [Client Quit]
bruno- has quit [Quit: Lost terminal]
djbkd has quit [Remote host closed the connection]
matrisking has quit [Ping timeout: 245 seconds]
lytol has quit [Remote host closed the connection]
Antivan has joined #ruby-lang
nathanst_ has joined #ruby-lang
nathanst_ has quit [Client Quit]
sgambino has quit [Remote host closed the connection]
nathanstitt has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Quit: ciao.]
wolves_cs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Averna has joined #ruby-lang
charliesome has quit [Quit: zzz]
allomov has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
houhoulis has joined #ruby-lang
arBmind has quit [Ping timeout: 246 seconds]
Chaotix has joined #ruby-lang
Chaotix has left #ruby-lang [#ruby-lang]
charliesome has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
chadwtaylor has joined #ruby-lang
DynamicMetaFlow has quit [Quit: Leaving]