<burgestrand>
Bish I hope it answers your question :)
<apeiros>
Bish: nothing wrong with being explicit
<nofxx>
Bish, you'll get notmethod error for #include? otherwise... but makes it more readble
<nofxx>
I would parenthesis it
<apeiros>
I prefer !ary.include?(x) over !ary.include? x
<tobiasvl>
when in doubt, use parens! no reason not to.
<burgestrand>
when in doubt, test it ;)
<tobiasvl>
well, sure. but if you use parens you don't have to test ;)
<Bish>
Burgestrand: not really, if ! is highest, then why doesn't it bind to the array?
nankyokusei has quit [Ping timeout: 252 seconds]
ta_ has quit [Ping timeout: 258 seconds]
<Bish>
apeiros: yet would be good to understnad
<tobiasvl>
. is highest
<Bish>
i think it will always scare me
jaguarmagenta has quit [Ping timeout: 250 seconds]
<burgestrand>
Bish true! they should have "." on there
<nofxx>
On another subject, any idea why I'm installing a gem, no problems, just checked and it's not yanked, but on servers: "Could not find <gem> in any of the sources" ?
<apeiros>
aaahaha, "NOTE: 1.9 has a horrible extension to allow you to define !=, !~, !, and not. A special place in hell is reserved for you if you define any of these."
webus has joined #ruby
araujo__ has quit [Client Quit]
araujo_ has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
<burgestrand>
Cool, so you could have (a == b && a != b) # => true!
kedare has joined #ruby
<Bish>
is that still true?
codecop has quit [Ping timeout: 276 seconds]
<burgestrand>
Haha, yep.
araujo has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
<Bish>
ohgod
<apeiros>
>> a = "hi"; b = "hi"; def a.!=(other); true; end; (a == b && a != b)
chouhoulis has quit [Remote host closed the connection]
GodFather has joined #ruby
nando293921 has quit [Ping timeout: 260 seconds]
malconis has quit [Remote host closed the connection]
<naftilos76>
soud, thanks, probably what i am looking for.
nettoweb has quit [Ping timeout: 240 seconds]
kareeoleez has quit [Ping timeout: 260 seconds]
agit0 has joined #ruby
jgt has joined #ruby
pawnbox has joined #ruby
conta1 has joined #ruby
conta has quit [Ping timeout: 244 seconds]
conta1 is now known as conta
malconis has joined #ruby
nando294021 has joined #ruby
dhruvasagar has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpb_ is now known as mikecmpbll
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ncthom91 has joined #ruby
aryaching has joined #ruby
Xeago_ has joined #ruby
chip_ has quit [Ping timeout: 250 seconds]
jtd has joined #ruby
nankyokusei has joined #ruby
jaguarmagenta has joined #ruby
`tim` has joined #ruby
ta__ has quit [Remote host closed the connection]
macsteps has joined #ruby
prestorium has joined #ruby
jhack has joined #ruby
mattwashere has joined #ruby
yardenbar has joined #ruby
blackmes1 has joined #ruby
ponga has quit []
jaguarmagenta has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 272 seconds]
marcos_ has joined #ruby
swills has joined #ruby
jhack has quit [Client Quit]
ramortegui has quit [Remote host closed the connection]
ramortegui has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
<swills>
is there some equivilant to the --sparse flag for cp in ruby's fileutils?
jhack has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
dc4 has joined #ruby
tristanp has joined #ruby
fujinuma has joined #ruby
aryaching has quit [Remote host closed the connection]
<marcos_>
Hey guys! I'm new in this channel, are there specific rules that I should know about? I'd like to show and get feedback about a gem I published yesterday :)
<fujinuma>
I'm new in testing is this a good way to test a method which returns a full name of a person class?
<naftilos76>
fujinuma, i was looking at that before asking you. that is not a guide
dopamean1 has quit [Ping timeout: 244 seconds]
dc4 has quit [Ping timeout: 272 seconds]
<marcos_>
fujinuma: if you want a good short example for training your testing skills, I've found creating an automated user handle based on the user's name is quite challenging
<naftilos76>
fujinuma, i was looking for a regex guide
craigp has quit [Ping timeout: 240 seconds]
<fujinuma>
naftilos76: I don't understand here is ruby channel I think you should join #regex
<marcos_>
fujinuma: For example, given a name like: first name = "John"; last_name = "Doe", the handle method could return @jdoe
<marcos_>
fujinuma: but there's several edge cases, for example the person having more than one first name, more than one last name, having dashes in the name
Guest99267 has joined #ruby
Asher has quit [Quit: Leaving.]
<marcos_>
after that, it's interesting to implement a method that parses a string looking for mentions by users handles and checking against a pool of existing users
ullu_ has joined #ruby
<fujinuma>
marcos_: I think it relates to NER (Named Entity Recognition) in Natural language processing.
macsteps has quit [Remote host closed the connection]
smathy has joined #ruby
Meeh_ has joined #ruby
<fujinuma>
marcos_: so based on that, there's a lot of challenging stuff.
jhack has quit [Quit: jhack]
RegulationD has joined #ruby
<fujinuma>
marcos_: give me a break :D
Meeh has quit [Ping timeout: 244 seconds]
banisterfiend` is now known as banisterfiend
workmad3 has quit [Ping timeout: 240 seconds]
aryaching has joined #ruby
<marcos_>
fujinuma: haha, kinda, but much simpler than that, the proposed method is just a simple pattern matching exercise with some validation in the results at the end
mattwashere has quit [Remote host closed the connection]
mdw has joined #ruby
mdw has quit [Max SendQ exceeded]
omphe has joined #ruby
Asher has joined #ruby
mattwashere has joined #ruby
Vingador_ has quit [Ping timeout: 252 seconds]
mdw has joined #ruby
<marcos_>
fujinuma: similar to how Twitter mentions work, in a text containing "Hey @marcos_ and @fujinuma, meet my good friend @weirdnamethatdoesntexist", the algorithm would return @marcos_ and @fujinuma :)
ullu_ has quit [Ping timeout: 250 seconds]
mattwashere has quit [Read error: Connection reset by peer]
mattwashere has joined #ruby
<marcos_>
fujinuma: I've used this example for some of my students and it worked quite well, is simple enough and yet practical
<fujinuma>
marcos_: would you give me references/clues about the topic?
diegoviola has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
smathy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Neobenedict has joined #ruby
<marcos_>
fujinuma: sure! I'll write a detailed specification of the expected behaviour, just a second :)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
smathy has joined #ruby
floatingpoint has joined #ruby
dhruvasagar has quit [Quit: WeeChat 1.5]
<fujinuma>
what's the difference between these two methods? def initialize(first_name:, last_name:) and def def initialize(first_name, last_name)
floatingpoint has quit [Max SendQ exceeded]
<fujinuma>
I think first_name with colon after it is wrong? that's not symbol right?
wldcordeiro has quit [Quit: WeeChat 1.4]
floatingpoint has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
emilkarl has joined #ruby
araujo_ has quit [Quit: Leaving]
dminuoso_ has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
synthroid has quit [Remote host closed the connection]
mattwashere has quit [Remote host closed the connection]
<hanmac>
fujinuma: named (keyword) argument
mattwashere has joined #ruby
mattwashere has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 276 seconds]
mattwashere has joined #ruby
<fujinuma>
hanmac: it's actually hash if I'm correct.
omphe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hanmac>
fujinuma: it's not directly a hash, but you can think about it as if it would be one
<fujinuma>
hanmac: so what is it under the hook?
ramfjord has joined #ruby
edwinvdgraaf has joined #ruby
edwinvdg_ has quit [Read error: Connection reset by peer]
dopamean_ has joined #ruby
<hanmac>
very deep under the hook? hm i am not 100% for sure, but they are a different type of method parameters than normal ones
<smathy>
fujinuma, hanmac is right, it's a named arg.
kareeole_ has quit [Remote host closed the connection]
malconis_ has joined #ruby
<smathy>
...required args at that.
<hanmac>
that are the different kind of parameters ruby does support:
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<fujinuma>
alright, thanks for giving me the insight.
malconis has quit [Ping timeout: 244 seconds]
sarbs has quit [Max SendQ exceeded]
<hanmac>
in your case they are "keyreq" means required key parameters
amcoder has joined #ruby
sarbs has joined #ruby
<smathy>
fujinuma, what is sometimes confusing is that the calling of those methods didn't change, and looks exactly the same no matter if the method has keyword args or accepts a hash.
skywritergr has joined #ruby
sarbs has quit [Max SendQ exceeded]
neo_ has joined #ruby
diego2 has joined #ruby
<smathy>
(I say "didn't change" meaning between ruby 1.9 and ruby 2.0 when keyword args were added to the language)
diego2 has quit [Changing host]
diego2 has joined #ruby
sarbs has joined #ruby
thatsnotjack has joined #ruby
diegoviola is now known as Guest97513
diego2 is now known as diegoviola
skywritergr has quit [Client Quit]
Guest97513 has quit [Ping timeout: 272 seconds]
kobain has joined #ruby
orangey has quit [Quit: No Ping reply in 180 seconds.]
dhruvasagar has joined #ruby
orangey has joined #ruby
macsteps has joined #ruby
neo__ has joined #ruby
nocco has quit [Remote host closed the connection]
<marcos_>
Hope it's helpful to you as it is to me :)
joonty has joined #ruby
malconis has joined #ruby
james1 is now known as jtperreault
dionysus69 has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
saneax is now known as saneax_AFK
davedev24 has joined #ruby
isberg has joined #ruby
davedev__ has quit [Ping timeout: 250 seconds]
carella has quit [Read error: Connection timed out]
carella has joined #ruby
terrabl has joined #ruby
Xeago_ has quit [Remote host closed the connection]
<terrabl>
Hey guys, I have a string like the following (<ul><li><u>sadfasd</u></li><li><u>asdfasdf</u></li></ul>) and I want to add "class = list-group" to every instance of ul but not /ul and I want to add "class = list-group-item" to every instance of li but not /li, I know I can't use gsub because gsub would replace that part, is their something similar to gsub but for addition?
<hxegon>
terrabl: don't use regexes to parse html plz
<terrabl>
Not parsing, the html comes in through a form and I need to add these classes to it
<terrabl>
I know I should do it javascript but its a WYSIWYG editor and this is the only way I have found to get the string.
<hxegon>
parsing is the wrong word, sorry.
<hxegon>
ah.
<adaedra>
yeah, best would be to use a XML/HTML parser to parse it, inject it correctly and re-render it.
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hxegon>
marcos_: I'm looking it over. I don't use these types of things, but I'm liking the repo either way
fclausen has joined #ruby
<hxegon>
terrabl: i would still suggest not using regex, but you can use capture groups to do it, and if you know that the tag is ul, then you don't even need those
nocco has joined #ruby
<terrabl>
in ruby?
synthroid has joined #ruby
<marcos_>
hxegon: :D
xaxisx has quit [Quit: xaxisx]
floatingpoint has quit [Quit: Goodnight]
xaxisx has joined #ruby
solars has quit [Ping timeout: 244 seconds]
<smathy>
terrabl, think of replacing <ul and <li not ul and li - then the /s won't be an issue.
xaxisx has quit [Client Quit]
<hxegon>
>> '<ul>'.gsub(/<ul/, '<ul class = list-group-item')
andikr has quit [Read error: Connection reset by peer]
<terrabl>
Thank you, I didn't even think about just using gsub to replace ul when I find ul
<hxegon>
marcos_: is MiniTest::Assertions#refute_raises defined in your test_helper similar to expect(foo).to_not raise_error?
<terrabl>
I was thinking I had to add to ul
<agent_white>
Mornin'
allcentury has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
nocco has quit [Ping timeout: 240 seconds]
<hxegon>
morning agent_white
^mtkd has quit [Ping timeout: 260 seconds]
floatingpoint has quit [Ping timeout: 244 seconds]
rodfersou is now known as rodfersou|lunch
karapetyan has joined #ruby
mtkd has joined #ruby
terrabl has quit [Quit: Page closed]
ciampix has quit [Ping timeout: 244 seconds]
tomdp has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
peteykun has joined #ruby
<tomdp>
Does anyone know how I can assign a block to a variable if block_given? I've seen `yield if block_given?`, but what about `@the_block = block if block_given?`? AFAIK, I can only run the block that was passed, through yield, not treat it as an object
arooni has quit [Ping timeout: 244 seconds]
<hxegon>
tomdp: as in a default block that is used if there is no block given by the caller?
<tomdp>
hxegon: not really, as in some way to refer to the block that was passed by the caller, if a block was passed
<tomdp>
From within the method, I want to refer to the block passed (easy if it's defined as explicitly requiring a block), but also want the block to be optional
mistermocha has joined #ruby
blaxter has quit [Quit: foo]
<marcos_>
hxegon: Yep, exactly like that :)
<marcos_>
hxegon: I'm not fluent in MiniTest, I've been using RSpec for the last 6 years, but I wanted to give it a try
<hxegon>
tomdp: that works with the method I gave you; for example
Vingador has quit [Remote host closed the connection]
<tomdp>
The bit that doesn't work is @a_block = block, because there is no block parameter in that case. I can yield if block_given? but I need to not yield but assign the block to an instance variable
<marcos_>
hxegon: Not very much so far, but I reckon that's probably because I'm too used to RSpec. I'll stick with it for some time and see if I like it better
karapetyan has quit [Remote host closed the connection]
Wildfyr has joined #ruby
karapetyan has joined #ruby
TheWhip has quit [Remote host closed the connection]
<hxegon>
tomdp: Could you give some trivial but concrete functionality to put into code? I'm still not 100% on what you are asking about.
<marcos_>
tomdp: What do you expect that code to return? You need to use the @a_block somehow
<tomdp>
Yes. One sec
nocco has quit [Remote host closed the connection]
sepp2k has joined #ruby
amcoder has quit []
omphe has joined #ruby
amcoder has joined #ruby
<marcos_>
tomdp: For example, if you later call bar.instance_variable_get(:@a_block).call, it's going to work
Danny_ has joined #ruby
ferr1 has quit [Quit: WeeChat 1.5]
<Danny_>
hi...having some trouble using ruby to parse a simple yaml file
<ljarvis>
thought you'd dropped it into a gist and it worked
<ljarvis>
I was all oO wat
Vingador has joined #ruby
<allcentury>
monoprotic: yep, I read the docs but still dont' understand what I'm missing.
<monoprotic>
the first char in the first arugment is replaced by the first char in the second argument, etc
karapetyan has quit [Remote host closed the connection]
<monoprotic>
it doesnt do the same thing as sub
<monoprotic>
namely you cant replace one character with two like you're trying to
karapetyan has joined #ruby
jgt has quit [Ping timeout: 276 seconds]
<allcentury>
I see, i didn't realize the length o f from_str and to_str were being used
edwinvdgraaf has quit [Ping timeout: 260 seconds]
<monoprotic>
did you read the docs?
<allcentury>
the docs don't say that
camilasan has joined #ruby
<allcentury>
Returns a copy of str with the characters in from_str replaced by the corresponding characters in to_str. If to_str is shorter than from_str, it is padded with its last character in order to maintain the correspondence.
<hxegon>
allcentury: they do have the example
<monoprotic>
corresponding characters.. then the bit about padding is surely related to length
<allcentury>
'maintain the correspondence' means index of the arguments strings. that is not very clear
<hxegon>
though
<monoprotic>
anyway the examples would have made it clear
<Danny_>
one more: how can i convert a hash object into something where i can use dot notation to access the properties?
Vingador has quit [Remote host closed the connection]
<hxegon>
Danny_: OpenStruct
floatingpoint has joined #ruby
<allcentury>
Danny_: OpenStruct
<allcentury>
ya
<allcentury>
:)
<tomdp>
hxegon marcos_: Here's a really really dumb example use of this: https://eval.in/598548 This could really better off just use attr_accessor, instead of this dumb accessor-and-mutator-in-one method, so it's a contrived example, but it should show the problem. There's no variable `block` if I don't explicitly require it in the method parameters, so how do I assign it to an instance variable if it gets passed?
<Danny_>
not something as easy as obj.to_something.prop?
dopamean_ has quit [Quit: WeeChat 1.3]
karapetyan has quit [Remote host closed the connection]
<hxegon>
Danny_: not really, I mean you could define #to_struct on Hash to do that though
<Danny_>
ok, thanks!
solars has joined #ruby
<hxegon>
Danny_: I would just recommend using OpenStruct.new rather than monkey patching though
omphe has quit [Ping timeout: 244 seconds]
<Danny_>
gotcha
<allcentury>
Another question if anyone has time, I'm using PP.pp(hash, "") to print a nicely formatted hash in an ERB template. I've read through the PP docs but can't get indentation to work. Anyone have an experience w/ that std lib?
Vingador_ has quit [Remote host closed the connection]
Couch has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
Vingador has joined #ruby
<marcos_>
tomdp: It's exactly as I stated in my previous message, just use Proc.new and it's going to work :)
<marcos_>
tomdp: I know that's really weird, I myself just found this "feature" recently
karapetyan has quit [Remote host closed the connection]
gnufied has joined #ruby
karapetyan has joined #ruby
floatingpoint has quit [Max SendQ exceeded]
agit0 has quit [Quit: zzzZZZ….]
<tomdp>
So it does work! Thanks. I didn't look at https://eval.in/598540 close enough to see that it worked then, sorry about that.
macsteps has quit [Remote host closed the connection]
macsteps has joined #ruby
<hxegon>
I prefer this style because what Proc.new really does isn't 100% clear https://eval.in/598555
floatingpoint has joined #ruby
symm- has joined #ruby
polishdub has joined #ruby
karapetyan has quit [Remote host closed the connection]
aupadhye has joined #ruby
mustmodify has joined #ruby
nshahpazov has joined #ruby
<mustmodify>
Apparently the #rubyonrails crowd doesn't want this kind of question, so I'm cross-posting. :)
<mustmodify>
I have a collection of strategies (classes) to do some work. I want to ask each strategy whether it handles an object. First one that says yes will be asked to do it. Should the interface be StrategyOne.handles?( obj ) and then StrategyOne.new(obj).fire? or s = StrategyOne.new(obj).handled? then s.fire
<mustmodify>
My thinking is the first, even though that would mean some of the strategies would have to do duplicate work. But it would mean I wouldn't have to keep instances of strategies I'm not using, which seems sloppy...
<mustmodify>
and it's not like there is a big efficiency issue. I mean, we have some efficiency issues, but this won't be one of them.
r_rios_ has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
tomdp has quit [Quit: Page closed]
<hxegon>
I feel like the first one is clearer, but this feels like you need polymorphism somewhere
<hxegon>
like you need obj.appropriate_strategy or something
macsteps has quit [Ping timeout: 250 seconds]
<toretore>
yuck, no
aep-shoutlet has joined #ruby
<hxegon>
just my opinion, but it really depends on what obj is
nshahpazov has left #ruby ["ruby"]
mic_e has quit [Ping timeout: 240 seconds]
<toretore>
then every single object that could ever be considered for "handling" would have to know about this
<smathy>
mustmodify, the code you're talking about here is hidden inside some factory class or something right? Like the external callers would really just do something like: `s = StrategyFactory.get_strategy_for obj; s.call` right?
karapetyan has quit [Remote host closed the connection]
<hxegon>
toretore: good point.
freerobby has quit [Quit: Leaving.]
<hxegon>
also, I'm just starting to get not terrible at OO design, so take my stuff with a grain of salt
freerobby has joined #ruby
<hxegon>
smathy: Are you saying that is the way you'd do it, or there is a better way to do it than that?
<toretore>
mustmodify: i lean to the second solution, as it does not suppose a class-oriented design
jaguarmagenta has joined #ruby
<smathy>
hxegon, I was asking if that's how it was being done, I'd hate to imagine external callers are having to iterate over the strategies themselves.
<smathy>
hxegon, because if that's how it's being done then it matters a lot less what the internals of that factory are like.
<toretore>
maybe it doesn't even have to have answer "do you handle this object?", but just "handle this object, and do whatever you want"
<smathy>
...well that'd be the factory approach that I suggested toretore
<toretore>
though this is quite procedural and assumes that side effects is what you want
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
LoneHerm_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
<hxegon>
I like the StrategyFactory approach best
davedev24 has quit [Remote host closed the connection]
workmad3 has joined #ruby
blackmes1 has joined #ruby
jaguarmagenta has quit [Ping timeout: 250 seconds]
rkazak has joined #ruby
neo__ has quit [Remote host closed the connection]
neo_ has joined #ruby
TheWhip has joined #ruby
amclain has joined #ruby
slackbotgz has quit [Remote host closed the connection]
solars has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 240 seconds]
AnoHito_ has joined #ruby
nankyokusei has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
AnoHito has quit [Ping timeout: 272 seconds]
<mustmodify>
smathy: Yes, it's in a 'factory' class.
<naftilos76>
can anybody help on how to remove random number of white space chars from the beginning and end of a phrase like " ruby rocks " with gsub(//, "") ?
<mustmodify>
use case: we have routes. We confirm appointments on those routes in different ways. Early on, we confirm them by emailing every customer at the same time. Later, we confirm via automated call. But in that case, the VoiceConfirmationStrategy will just pick a single appointment to confirm, not all of them. (because if they don't like that appointment, the rest of the schedule changes.) etc. So each strategy does different things and operates within differen
nankyokusei has quit [Ping timeout: 240 seconds]
aegis3121 has quit [Ping timeout: 260 seconds]
<naftilos76>
toretore, gratefull thanks, i did not know strip
shinnya has joined #ruby
<mustmodify>
So I have a ConfirmationStrategyFactory, whose sole purpose is to (a) on the class level, find a list of routes that could be confirmed, then create instances of the factory for each. (b) on the instance level, to figure out which strategy to use and call that one. Then stop. Then the strategies (a) know which routes they can handle and (b) do that.
<mustmodify>
So is the consensus to leave it at the class level and have some instances do some work twice?
synthroi_ has joined #ruby
<mustmodify>
TBH I had called it an Aide instead of a Factory because I hadn't thought of it being a factory. But obviously that's what it is.
GinoManWorks_ has joined #ruby
synthro__ has joined #ruby
dc4 has quit [Ping timeout: 260 seconds]
joonty has quit [Quit: This computer has gone to sleep]
synthroid has quit [Ping timeout: 240 seconds]
f4cl3y has quit [Ping timeout: 260 seconds]
swills has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 264 seconds]
TheWhip has quit [Remote host closed the connection]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
GinoManWorks has quit [Ping timeout: 276 seconds]
TheWhip has joined #ruby
synthroi_ has quit [Ping timeout: 240 seconds]
Es0teric has joined #ruby
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
isberg has quit [Read error: Connection reset by peer]
mistermocha has quit [Remote host closed the connection]
hutch34 has joined #ruby
mistermocha has joined #ruby
whathappens has joined #ruby
senayar_ has quit []
RegulationD has quit [Ping timeout: 250 seconds]
kareeoleez has joined #ruby
<Wildfyr>
How would I make an infix calculator
psmmr has joined #ruby
jenrzzz has joined #ruby
<mustmodify>
(a) not enough information to answer (b) i'm sure Google knows.
rkazak has quit [Ping timeout: 244 seconds]
xall has joined #ruby
karapetyan has quit [Remote host closed the connection]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
<Wildfyr>
mustmodify: okay
swills has joined #ruby
nogic has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
gnufied has quit [Quit: Leaving]
Danny_ has quit [Remote host closed the connection]
<Wildfyr>
mustmodify: what info would be relevant
mark_66 has quit [Remote host closed the connection]
workmad3 has joined #ruby
Danny_ has joined #ruby
blackmes1 has joined #ruby
TheWhip has quit []
Hobogrammer has joined #ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
araujo has quit [Quit: Leaving]
araujo has joined #ruby
<mustmodify>
Is this something you want as a DSL? Or you want to parse strings and do it? Or like... what's the use case?
<mustmodify>
but also, I would check google.
whathappens has quit [Quit: Leaving...]
AndrewIsHere has joined #ruby
<mustmodify>
in summary, (a) use tdd (b) keep state :)
<Wildfyr>
mustmodify: parse string and do it
Danny_ has quit [Ping timeout: 252 seconds]
<Wildfyr>
as for use-case, well it's a project i want to try as i think it would be a good learning experience
workmad3 has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
<Wildfyr>
From some googling it seems like the best way is to convert into an RPN equation and then calculate it
mistermocha has quit []
giz|work|2 has quit [Ping timeout: 246 seconds]
diegoviola has quit [Quit: WeeChat 1.5]
mikecmpbll has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
tomphp has quit [Ping timeout: 240 seconds]
swills has quit [Remote host closed the connection]
<mustmodify>
that's certainly an option, but if you're using eval that's the "quick and dirty" way to do it... if you really want to learn Ruby, maybe parse each string and build the calculation using OO parts.
SCHAAP137 has joined #ruby
<soud>
Wildfyr: check out dijkstra's shunting yard algorithm
<mustmodify>
AH! I knew there was a name for what I meant. I meant you should build an AST.
zacstewart has quit [Ping timeout: 240 seconds]
* Wildfyr
googles AST
nankyokusei has quit [Ping timeout: 264 seconds]
<soud>
well if he just wishes to evaluate it, that's not actually needed, but would be a good exercise regardless
<hakunin>
could swear heard somebody (maybe JEG2) mention that you can have actual default block parameters, but can't find any reference to it anymore
<sethetter>
I have a box provisioned with chef using the rvm cookbook and installing some global gems. When I run the cap deploy with the deploy user it's unable to access those gems (can't find compass, etc). But if I log in as the deploy user they are there. Any help?
<hakunin>
i mean def foo(&block = -> {}) type of thing
<fujinuma>
marcos_: hey
<sethetter>
I've tried setting `pty` to true in my deploy config, even though it's suggested against, but to no avail.
<hakunin>
maybe dreamt it…
pgib has joined #ruby
blackmes1 has joined #ruby
<fujinuma>
marcos_: can I pm you?
Xeago_ has quit [Ping timeout: 276 seconds]
AnoHito has joined #ruby
AnoHito_ has quit [Ping timeout: 272 seconds]
xall has quit [Ping timeout: 260 seconds]
nanoz has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
futilegames has joined #ruby
ur5us has quit [Remote host closed the connection]
futilegames has quit [Client Quit]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox_ has joined #ruby
xall has joined #ruby
kies has joined #ruby
swills has quit [Remote host closed the connection]
korzybski has quit [Quit: korzybski]
emiltin has quit [Quit: Computer has gone to sleep.]
giz|work|2 has joined #ruby
ur5us has joined #ruby
bmurt has joined #ruby
djbkd has joined #ruby
Devalo has quit [Remote host closed the connection]
l4v2 has joined #ruby
workmad3 has joined #ruby
Hyuk has joined #ruby
hakunin has quit []
korzybski has joined #ruby
floatingpoint has quit [Quit: Goodnight]
pgib has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
roamingdog has joined #ruby
isberg has quit [Quit: I'm out]
smathy has joined #ruby
armatechnicos has joined #ruby
KensoDev has joined #ruby
codecop has quit [Remote host closed the connection]
Silthias1 has quit [Quit: Leaving.]
fmcgeough has quit [Quit: fmcgeough]
DenSchub has quit [Ping timeout: 250 seconds]
Xeago_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
agentmeerkat has joined #ruby
blackgoat has joined #ruby
TomyLobo has joined #ruby
weaksauce has joined #ruby
tfitts has joined #ruby
weaksauce has quit [Read error: Connection reset by peer]
spiette has quit [Quit: :qa!]
Oclair has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
[Butch] has quit [Quit: I'm out . . .]
karapetyan has quit [Remote host closed the connection]
CJKinni has quit [Read error: Connection reset by peer]
Limix has quit [Quit: Limix]
karapetyan has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
replay has joined #ruby
replay has quit [Max SendQ exceeded]
mdw has joined #ruby
replay has joined #ruby
<nofxx>
Any idea why I'm installing a gem, bundle install local no problems, also checked and gem is not yanked, but on servers: "Could not find <gem> in any of the sources" ?
<karapetyan>
hello, how to break block execution and return value to method?
dn5 has joined #ruby
nankyokusei has joined #ruby
<dn5>
howdy everyone :))
skade has joined #ruby
<nofxx>
karapetyan, next or return
jenrzzz has quit [Ping timeout: 250 seconds]
diegoviola has joined #ruby
Xeago__ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
Xeago- has joined #ruby
<karapetyan>
nofxx: could you explain please what difference? return will stop execution method? next will go to next iteration in method and execute block again?
Xeago__ has quit [Remote host closed the connection]
phrozen77 has quit [Ping timeout: 246 seconds]
chouhoulis has joined #ruby
Xeago has quit [Ping timeout: 276 seconds]
Xeago- is now known as Xeago
<nofxx>
karapetyan, you already did ;)
minimalism has joined #ruby
ptierno has joined #ruby
ptierno has quit [Changing host]
ptierno has joined #ruby
<nofxx>
karapetyan, next also accepts the return... eg: next "foo" if bar?
<karapetyan>
and one more question, how can i make return and chars.next! (i want return current char and call .next! after return) ?
Xeago_ has quit [Ping timeout: 276 seconds]
<nofxx>
karapetyan, you may end.next! but, not the beautiful thing around
<nofxx>
just assign a var I think
nankyokusei has quit [Ping timeout: 240 seconds]
yardenbar has quit [Ping timeout: 264 seconds]
<nofxx>
personally I like end.method hehe, rubocop doesn't
<karapetyan>
nofxx: thanks!
<smathy>
nofxx, connection problems from your server to source server.
ptierno has quit [Client Quit]
Oclair has quit [Read error: Connection reset by peer]
Oclair has joined #ruby
<nofxx>
smathy, logged in and pinged rubygems, installed the gem manually and all good! =/
<smathy>
Weird.
<nofxx>
just when bundle install problem happens....
<smathy>
Maybe temporary.
<smathy>
Oh, still now?
<nofxx>
smathy, yeah, thank you anyway
<nofxx>
smathy, started yeasterday, today still can't deploy heheh
atmosx is now known as atmosx_alt
<nofxx>
bundle stdout: Could not find fog-core-1.40.1 in any of the sources
<smathy>
Puzzling.
<nofxx>
only that gem... dunno if next one will fail too
<nofxx>
also, rm -rf all gems in bundler shared/bundler and what not to test....
wldcordeiro has quit [Ping timeout: 276 seconds]
<nofxx>
gem 2.6.4, bundler 1.12.5, ruby 2.3.1
ChiefAlexander has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
ChiefAlexander has joined #ruby
aegis312_ has joined #ruby
workmad3 has quit [Quit: leaving]
polysics has joined #ruby
aegis3121 has quit [Ping timeout: 276 seconds]
biberu has quit []
epitron has quit [Remote host closed the connection]
ocbtec has quit [Ping timeout: 252 seconds]
epitron has joined #ruby
ocbtec has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
GodFather has quit [Ping timeout: 246 seconds]
anisha has joined #ruby
polysics has quit []
fclausen has joined #ruby
anisha has quit [Client Quit]
grill has quit [Quit: yolo.swag]
<smathy>
Your Gemfile.lock doesn't have it coming from a different source or something?
sergio_101 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Limix has joined #ruby
<smathy>
Hmm, I just added "fog-core" to a Gemfile of mine and it decided to grab 1.40.0
<smathy>
Yep, nofxx, if I force it then I get the same error: Could not find gem 'fog-core (= 1.40.1)' in any of the gem sources listed in your Gemfile or available on this machine.
ramortegui has quit [Quit: Ex-Chat]
nogic has quit [Ping timeout: 240 seconds]
dn5 has quit [Ping timeout: 276 seconds]
<smathy>
Maybe some rubygems mirror doesn't have the .1 version or something./
dmr8 has quit [Quit: Leaving]
emiltin has quit [Quit: Computer has gone to sleep.]
fclausen has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
blackmes1 has joined #ruby
johzsum has joined #ruby
johzsum has left #ruby [#ruby]
ramfjord has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
ramfjord has joined #ruby
symm- has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 252 seconds]
vuoto has quit [Remote host closed the connection]
zeroDi has joined #ruby
codezomb has joined #ruby
deuterium has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
pLaToOn has quit [Ping timeout: 240 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
vuoto has joined #ruby
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby
nogic has joined #ruby
macsteps has joined #ruby
nogic has quit [Max SendQ exceeded]
TomyLobo has quit [Ping timeout: 260 seconds]
ldnunes has quit [Quit: Leaving]
ramfjord has quit [Ping timeout: 276 seconds]
wldcordeiro has joined #ruby
vuoto has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
helpa-bot has joined #ruby
nhhc has quit [Quit: Leaving]
mozzarel1 has joined #ruby
dn5 has joined #ruby
helpa has quit [Remote host closed the connection]
Nahra`` has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
SCHAAP137 has quit [Ping timeout: 276 seconds]
mr_rich102 has joined #ruby
armin has joined #ruby
mozzarella has quit [Remote host closed the connection]
Nahra` has quit [Remote host closed the connection]
mr_rich101 has quit [Ping timeout: 244 seconds]
flopsec has quit [Ping timeout: 244 seconds]
amitchellbullard has quit [Ping timeout: 248 seconds]
amitchellbullard has joined #ruby
devster31 has quit [Excess Flood]
devster31 has joined #ruby
dennisvennink has joined #ruby
tomphp has joined #ruby
banisterfiend` has joined #ruby
iamvery has quit [Ping timeout: 252 seconds]
Amnez777 has joined #ruby
banisterfiend` has quit [Read error: Connection reset by peer]
Amnez777- has quit [Ping timeout: 244 seconds]
bqscott_ has joined #ruby
bqscott has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
aegis312_ has quit [Ping timeout: 264 seconds]
slackbotgz has joined #ruby
solocshaw has joined #ruby
solocshaw has quit [Client Quit]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Some-body_ has joined #ruby
solocshaw has joined #ruby
neo__ has joined #ruby
firstdayonthejob has joined #ruby
solocshaw has quit [Read error: Connection reset by peer]
staticfox has quit [Disconnected by services]
staticfox` has joined #ruby
solocshaw has joined #ruby
staticfox` is now known as staticfox
aegis3121 has joined #ruby
spidermario has joined #ruby
<havenwood>
Hark ye, Rails 5!
SCHAAP137 has joined #ruby
darix- has joined #ruby
spider-mario has quit [Disconnected by services]
spidermario is now known as spider-mario
darix- has quit [Client Quit]
agentmeerkat has quit [Ping timeout: 250 seconds]
neo_ has quit [Ping timeout: 244 seconds]
darix- has joined #ruby
Limix has quit [Quit: Limix]
neo__ has quit [Ping timeout: 246 seconds]
klaas- has joined #ruby
ramfjord has joined #ruby
_derpy has joined #ruby
kspencer- has joined #ruby
yfeldblum has joined #ruby
adam12_ has joined #ruby
thejoecarroll_ has joined #ruby
iNs- has joined #ruby
poguez_ has joined #ruby
yqt has joined #ruby
aegis3121 has quit [Ping timeout: 250 seconds]
KensoDev has quit [*.net *.split]
hutch34 has quit [*.net *.split]
wigust has quit [*.net *.split]
aupadhye has quit [*.net *.split]
amcoder has quit [*.net *.split]
Ishido has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
cb- has quit [*.net *.split]
trampi has quit [*.net *.split]
kriskropd has quit [*.net *.split]
wnd has quit [*.net *.split]
Xiti has quit [*.net *.split]
khelair has quit [*.net *.split]
eljimmy has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
DEac- has quit [*.net *.split]
JeanCarloMachado has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
iNs has quit [*.net *.split]
KillerFox has quit [*.net *.split]
darix has quit [*.net *.split]
lucas has quit [*.net *.split]
kspencer has quit [*.net *.split]
`derpy has quit [*.net *.split]
FastJack has quit [*.net *.split]
klaas has quit [*.net *.split]
adam12 has quit [*.net *.split]
DanKnox_ has quit [*.net *.split]
thoraxe has quit [*.net *.split]
joast has quit [*.net *.split]
Antiarc has quit [*.net *.split]
callumacrae has quit [*.net *.split]
kith has quit [*.net *.split]
webhat has quit [*.net *.split]
tw1sted has quit [*.net *.split]
forgot has quit [*.net *.split]
hypnosb has quit [*.net *.split]
mame3 has quit [*.net *.split]
Some-body_ is now known as DarthGandalf
darix- is now known as darix
mattwashere has quit []
adam12_ is now known as adam12
armatechnicos has quit [Quit: Leaving]
KrzaQ has joined #ruby
unshadow has quit [Ping timeout: 276 seconds]
Regulati_ has quit [Remote host closed the connection]
mikeiniowa has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
jaguarmagenta has joined #ruby
kspencer- has quit [Changing host]
kspencer- has joined #ruby
kspencer- is now known as kspencer
djbkd has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 250 seconds]
pawnbox_ has quit [Remote host closed the connection]
solocshaw has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
kavanagh has joined #ruby
wrkrcoop has joined #ruby
<wrkrcoop>
so we deployed our code
<wrkrcoop>
and one of the other teams is getting a ‘sinatra doesnt know this ditty’
edwinvdgraaf has joined #ruby
<wrkrcoop>
but the endpoint works from postman, and from rest client … anyone know they might be getting a 404? someone said maybe their request is getting mutated on the way
jaguarmagenta has quit [Ping timeout: 260 seconds]
<wrkrcoop>
no backtrace in the logs
ddffg has joined #ruby
Gasher has joined #ruby
rbennacer has quit [Remote host closed the connection]
solocshaw has quit [Ping timeout: 250 seconds]
edwinvdgraaf has quit [Client Quit]
mtkd has joined #ruby
dn5 has quit [Ping timeout: 276 seconds]
freerobby has quit [Quit: Leaving.]
skade has quit [Quit: Computer has gone to sleep.]
pawnbox has joined #ruby
kareeoleez has quit [Remote host closed the connection]
John2496 has quit []
dn5 has joined #ruby
blackmes1 has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has quit [Quit: Sleeping Zzzzz]
Limix has joined #ruby
dc4 has joined #ruby
toretore has quit [Ping timeout: 276 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
slackbotgz has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
Guest36894 has quit [Read error: Connection reset by peer]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
burgestrand has joined #ruby
dn5 has quit [Quit: Lost terminal]
RegulationD has joined #ruby
moos3 has joined #ruby
RegulationD has quit [Client Quit]
pilne has joined #ruby
dc4 has joined #ruby
moos3 has left #ruby [#ruby]
kavanagh has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 258 seconds]
memorasus has quit [Ping timeout: 260 seconds]
symm- has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
polishdub has quit [Quit: Leaving]
memorasus has joined #ruby
fclausen has joined #ruby
agent_white has quit [Quit: leaving]
ndrst has joined #ruby
ndrst is now known as Guest88101
ramfjord has joined #ruby
djbkd has joined #ruby
zenlot has joined #ruby
djbkd has quit [Remote host closed the connection]
kavanagh has joined #ruby
l4v2 has quit [Quit: l4v2]
djbkd has joined #ruby
zenlot6 has quit [Ping timeout: 264 seconds]
ullu_ has joined #ruby
iooner has quit [Ping timeout: 258 seconds]
memorasus1 has joined #ruby
agentmeerkat has joined #ruby
mrodrigues has joined #ruby
memorasus has quit [Ping timeout: 276 seconds]
memorasus1 is now known as memorasus
giz|work|2 has quit [Ping timeout: 246 seconds]
iooner has joined #ruby
fclausen has quit [Ping timeout: 240 seconds]
ChiefAlexander has quit [Quit: Leaving...]
jhack has quit [Quit: jhack]
agentmeerkat has quit [Ping timeout: 276 seconds]
fclausen has joined #ruby
DTZUZU has quit [Read error: Connection reset by peer]
vdamewood has quit [Quit: Life beckons.]
jgt has quit [Ping timeout: 252 seconds]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
moei has quit [Quit: Leaving...]
ddffg has quit [Quit: Leaving]
<mrodrigues>
Hey guys, where would you recommend that I announce the new gem I released? I'd like to hear helpful feedback and see other people trying to use it :)
Amnez777 has quit [Ping timeout: 244 seconds]
patrick_star is now known as patrick_not_star
jgt has joined #ruby
moei has joined #ruby
<smathy>
mrodrigues, you can do that here, although earlier in the (majority of timezones in the US) would be better than now.
<elomatreb>
mrodrigues: You could try the Ruby subreddit at reddit.com/r/ruby
AndrewIsHere has quit [Ping timeout: 250 seconds]
patrick_not_star is now known as ttttttttt8
Amnez777 has joined #ruby
kirun has quit [Quit: Client exiting]
neanderslob has quit [Read error: Connection reset by peer]
dc4 has quit [Ping timeout: 272 seconds]
<ule>
Hi there
mesamoo has quit [Quit: Konversation terminated!]
<ule>
how can I convert json to xml?
<baweaver>
what have you tried?
<ule>
nothing yet
<baweaver>
try a few things, search around a bit, see what you find
<ule>
I just asked here because I already googled
<ule>
with no luck
Es0teric has joined #ruby
<baweaver>
there are a number of promising results in the first page of google results
<ule>
maybe someone has some idea
<ule>
I was thinking to use Nokogiri gem since I already had a chance to parse xml with it
<baweaver>
?g json to xml ruby
<ruby[bot]>
baweaver: I don't see no json, whom should I tell about g?
<ruby[bot]>
baweaver: I don't know anything about g
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
skade has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
leea has joined #ruby
spider-mario has quit [Remote host closed the connection]
memorasus has quit [Ping timeout: 272 seconds]
naftilos76 has quit [Ping timeout: 264 seconds]
<leea>
are there any ruby open source projects that make it friendly for people to find issues that are "easy first bugs"? Like how FB's react tags their issues https://github.com/facebook/react/issues
<baweaver>
There may be a few, but for the most part I would focus on finding a few projects you like and fixing documentation
<baweaver>
gives you a good base understanding of the project, what it does, and how it works
<baweaver>
then phase into minor bugs as they come through
willardg has quit [Ping timeout: 258 seconds]
<leea>
hmm that's a good suggestion baweaver
<leea>
thanks
<baweaver>
not a problem. There are probably a number of them but none come immediately to mind
<baweaver>
the Ruby AWS SDK needs a lot of love in documentation
neo_ has joined #ruby
<baweaver>
and has a very wide audience
JohanTux has quit [Ping timeout: 240 seconds]
al2o3-cr has joined #ruby
ahmetkapikiran has joined #ruby
Dimik has joined #ruby
neo_ has quit [Remote host closed the connection]
neo_ has joined #ruby
<mrodrigues>
smathy: thanks, will do that tomorrow :)
<mrodrigues>
elomatreb: thanks! I've never used reddit before, I'll give it a try! :)
dangerousdave has quit [Ping timeout: 276 seconds]
<smathy>
mrodrigues, np.
roamingdog has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
deuterium has quit [Ping timeout: 250 seconds]
<ule>
Nokogiri has a Builder
banisterfiend has joined #ruby
<ule>
but I need to specify all the fields from the json manually
<ule>
I was thinking on something automaticly
sepp2k has quit [Quit: Leaving.]
hutch34 has joined #ruby
hahuang61 has quit [Ping timeout: 264 seconds]
burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
burgestrand has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ocbtec has quit [Remote host closed the connection]
Azure has quit [Remote host closed the connection]
Azure has joined #ruby
CloCkWeRX has joined #ruby
<ule>
Managed to do it
<ule>
thanks
mrodrigues has quit [Quit: leaving]
leea has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has quit [Ping timeout: 250 seconds]
<al2o3-cr>
ule: use your initiative
<ule>
Sometimes you guys are so jerk
<ule>
It's a channel to change experiences
leea has joined #ruby
<ule>
what's the problem if I ask for an opinion? What's the problem to listen someone that had to do this before and can give to me a nice tip?
<ule>
You guy should be more humble. Just because I asked a simple question doesn't mean I'm a junior dev or just a lazy person
<ule>
That's why this channel stands here for
unshadow has joined #ruby
<al2o3-cr>
ule: whoa
<ule>
welcome
<shevy>
look what you did al2o3-cr!
agentmeerkat has joined #ruby
* smathy
learns why he's here - transcendental maan!
queequeg2 has joined #ruby
<al2o3-cr>
ule: chill
<elomatreb>
Please don't actually be the mentioned jerks
<smathy>
The absolute worst way to get someone to chill is to tell them to chill.
<shevy>
freeze!
<smathy>
:)
queequeg1 has quit [Ping timeout: 244 seconds]
arnonhongklay has joined #ruby
<al2o3-cr>
unfreeze
<elomatreb>
.freeze
<al2o3-cr>
don't get worked up
dc4 has joined #ruby
<al2o3-cr>
smathy: coming from exp. obvio..
agentmeerkat has quit [Ping timeout: 240 seconds]
<smathy>
In as much as all my knowledge comes from some experience, yes.
<al2o3-cr>
it's text for fuck sake
dennisvennink has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chipotle has joined #ruby
dennisvennink has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
Dimik has quit []
scottj has joined #ruby
<baweaver>
quite enough of that
wigust has joined #ruby
<baweaver>
if you want to continue it ule, feel free in #ruby-offtopic.
Devalo has joined #ruby
<baweaver>
but realize that if we don't know what you've tried we may be covering the same ground again. Also, I'd mentioned a SO link that covered the AR way.
Wsewolod has quit [Quit: Leaving]
<ule>
I'm fine thank you
edwardly has quit [Ping timeout: 252 seconds]
queequeg2 has quit [Ping timeout: 276 seconds]
Devalo has quit [Ping timeout: 244 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
<baweaver>
If you have an issue, feel free to ping me later.
<baweaver>
and if I came off as condescending by asking about a search, I apologize
ramfjord has joined #ruby
Senjai has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
queequeg1 has joined #ruby
jaguarmagenta has joined #ruby
`tim` has joined #ruby
rhllor has joined #ruby
Senjai has quit [Client Quit]
vdamewood has quit [Quit: Life beckons.]
<al2o3-cr>
shevy: i'd give it a rest if i were you
jaguarmagenta has quit [Ping timeout: 250 seconds]
dsea has joined #ruby
<shevy>
al2o3-cr I'd give you some pink shirts if I were you
<baweaver>
?ot
<ruby[bot]>
this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!