jhass changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.3, 2.4.5, 2.3.8, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
jcarl43 has quit [Quit: WeeChat 2.2]
johnny56 has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
cthulchu has quit [Ping timeout: 276 seconds]
stooj has quit [Ping timeout: 252 seconds]
stooj has joined #ruby
tdy has joined #ruby
ur5us has joined #ruby
marmotini_ has joined #ruby
johnaj has quit [Ping timeout: 244 seconds]
* timeless bangs head against ::Rack::Rewrite :-(
<timeless> I found https://stackoverflow.com/questions/15303112/middleman-dynamic-page-url-rewrite-with-wildcard and used it more or less as is (I had to add `::` before `Rack::Rewrite`)
<timeless> oh
* timeless gets it
* timeless really doesn't understand why the `::` was necessary as the examples all omit it
wolfshappen_ has quit [Remote host closed the connection]
wolfshappen has joined #ruby
ivanskie has joined #ruby
uplime has joined #ruby
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Ping timeout: 268 seconds]
ivanskie has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
nofxx has quit [Read error: Connection reset by peer]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bacteria has quit [Quit: Lost terminal]
kurko_ has joined #ruby
<timeless> did I do something spectacularly wrong? https://www.irccloud.com/pastebin/Hh663xI3/
<ruby[bot]> timeless: we in #ruby do not like irccloud.com, it has no syntax highlighting, distracting formatting and loads slowly for most. Please use https://gist.github.com
<timeless> -- i'll accept that it's slow, and may have distracting formatting, and probably loads slowly and that the channel has decided that they hate it, but is it really true that it does't have syntax highlighting? (it sure seems to, to my naive eye)
lxsameer has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
qolq3 has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
noobineer has quit [Ping timeout: 276 seconds]
meinside has joined #ruby
qolq has quit [Ping timeout: 252 seconds]
qolq3 is now known as qolq
AJA4350 has joined #ruby
xfbs has quit [Quit: afk]
AJA4350 has quit [Remote host closed the connection]
cagomez has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ivanskie has joined #ruby
michael_mbp has quit [Ping timeout: 246 seconds]
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
michael_mbp has joined #ruby
za1b1tsu_ has joined #ruby
esrse has joined #ruby
ta_ has joined #ruby
<timeless> (it certainly doesn't seem to be, when i use that line as is, `rake` screams)
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
arescorpio has joined #ruby
ta_ has quit [Ping timeout: 252 seconds]
marmotini_ has quit [Ping timeout: 252 seconds]
nadir has joined #ruby
justicefries has joined #ruby
nicesignal has quit [Quit: WeeChat 1.9.1]
nicesignal has joined #ruby
marmotini_ has joined #ruby
RougeR has quit [Ping timeout: 252 seconds]
arescorpio has quit [Read error: No route to host]
ShekharReddy has quit [Quit: Connection closed for inactivity]
d10n-work has quit [Quit: Connection closed for inactivity]
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
orbyt_ has joined #ruby
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
<baweaver> timeless: Gimme a sec, just logged back on.
kurko_ has joined #ruby
<timeless> Sure
kurko_ has quit [Client Quit]
<baweaver> Ah
<baweaver> Take a look at the syntax highlighting on L7
<baweaver> Notice how not is red?
kurko_ has joined #ruby
<baweaver> Quotes don't quite work like that
<baweaver> This: '--fail-fast --color --tags 'not @wip' --strict'
kurko_ has quit [Client Quit]
<baweaver> is two strings
<baweaver> '--fail-fast --color --tags ' and ' --strict'
kurko_ has joined #ruby
<timeless> Yeah, I didn't write that code
<baweaver> This just looks like the literal 'not' in Ruby and a variable reference: not @wip
kurko_ has quit [Client Quit]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* timeless naively assumed stuff might "just work"
<baweaver> Na, that's broken.
<timeless> Thanks, that's reassuring
<timeless> I have, what I thought was, a simple task... Replace `href="foo.html.md"` with `href="foo.html"`
<baweaver> Creating an issue for it, one sec.
<timeless> There's already a PR for it
ivanskie has joined #ruby
ivanskie has quit [Client Quit]
* timeless heads out for a bit
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marmotini_ has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
marmotini_ has joined #ruby
cd has quit [Quit: cd]
cagomez has joined #ruby
<baweaver> Hrm
<baweaver> Well now there are two.
<baweaver> Someone got lint happy and replaced a ton of double quotes with single quotes without checking the integrity of all the files.
ur5us has quit [Read error: Connection reset by peer]
cagomez has quit [Ping timeout: 272 seconds]
* timeless nods
<timeless> Actually, in this case, I think it was in response to a deprecation warning
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arescorpio has joined #ruby
kapil____ has joined #ruby
LiftLeft has quit [Ping timeout: 250 seconds]
dviola has joined #ruby
MoritaShinobu has joined #ruby
marmotini_ has quit [Ping timeout: 268 seconds]
LiftLeft has joined #ruby
lxsameer has joined #ruby
pharma_joe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 252 seconds]
dellavg_ has quit [Ping timeout: 252 seconds]
Pisuke has joined #ruby
marmotini_ has joined #ruby
MyMind has quit [Ping timeout: 272 seconds]
marmotini_ has quit [Read error: Connection reset by peer]
marmotini_ has joined #ruby
Sauvin has joined #ruby
ansraliant has joined #ruby
arescorpio has quit [Quit: Leaving.]
marmotini_ has quit [Read error: Connection reset by peer]
dviola has quit [Ping timeout: 245 seconds]
marmotini_ has joined #ruby
marmotini has joined #ruby
marmotini_ has quit [Ping timeout: 252 seconds]
tdy has quit [Ping timeout: 246 seconds]
reber has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
apeiros has quit [Remote host closed the connection]
marmotini has quit [Ping timeout: 252 seconds]
LiftLeft has quit [Ping timeout: 250 seconds]
apeiros has joined #ruby
apeiros has quit [Remote host closed the connection]
aufi has joined #ruby
DTZUZO_ has quit [Ping timeout: 246 seconds]
LiftLeft has joined #ruby
armyriad has joined #ruby
_whitelogger has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
lytol_ has joined #ruby
bsrd has left #ruby ["WeeChat 2.2"]
clemens3_ has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
vondruch has joined #ruby
alem0lars has joined #ruby
alem0lars has quit [Remote host closed the connection]
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
mikecmpbll has joined #ruby
lxsameer has joined #ruby
kapil____ has joined #ruby
venmx has joined #ruby
cesario has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
ansraliant has quit [Quit: My planet needs me]
mikecmpb_ has quit [Quit: inabit. zz.]
leitz has joined #ruby
konsolebox has joined #ruby
clemens3_ has quit [Remote host closed the connection]
phaul has joined #ruby
mikecmpbll has joined #ruby
xfbs has joined #ruby
clemens3 has joined #ruby
wojnar has joined #ruby
esrse has quit [Ping timeout: 245 seconds]
themsay has joined #ruby
reber has quit [Ping timeout: 245 seconds]
datazoo has joined #ruby
postmodern has quit [Quit: Leaving]
kapil____ has quit [Quit: Connection closed for inactivity]
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
cesario has quit [Max SendQ exceeded]
leitz has quit [Quit: Leaving]
mangold has joined #ruby
mangold has quit [Max SendQ exceeded]
mangold has joined #ruby
whysthatso has joined #ruby
Cthulu201 has joined #ruby
fernandobasso has joined #ruby
themsay has quit [Ping timeout: 272 seconds]
themsay has joined #ruby
fernandobasso has quit [Ping timeout: 256 seconds]
za1b1tsu_ has quit [Ping timeout: 246 seconds]
themsay has quit [Ping timeout: 244 seconds]
datazoo has quit [Remote host closed the connection]
AJA4350 has joined #ruby
DTZUZO_ has joined #ruby
infernix has quit [Ping timeout: 272 seconds]
aufi has quit [Ping timeout: 268 seconds]
za1b1tsu_ has joined #ruby
Tuor has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
infernix has joined #ruby
Nicmavr has joined #ruby
wojnar has quit [Remote host closed the connection]
egourlao has joined #ruby
mangold has quit [Quit: This computer has gone to sleep]
xfbs has quit [Quit: afk]
whysthatso has quit [Quit: whysthatso]
justicefries has joined #ruby
reber has joined #ruby
kurko_ has joined #ruby
cd has joined #ruby
whysthatso has joined #ruby
whysthatso has quit [Remote host closed the connection]
clemens3 has quit [Remote host closed the connection]
whysthatso has joined #ruby
rwb has quit [Ping timeout: 245 seconds]
elomatreb_ is now known as elomatreb
troulouliou_div2 has joined #ruby
phaul has quit [Ping timeout: 252 seconds]
clemens3 has joined #ruby
whysthatso has quit [Quit: whysthatso]
qolq3 has joined #ruby
qolq has quit [Read error: Connection reset by peer]
qolq3 is now known as qolq
za1b1tsu_ has quit [Ping timeout: 252 seconds]
themsay has joined #ruby
xfbs has joined #ruby
vonfry has joined #ruby
vonfry has quit [Quit: WeeChat 2.2]
mangold has joined #ruby
Azure has joined #ruby
apeiros has joined #ruby
phaul has joined #ruby
apeiros__ has joined #ruby
za1b1tsu_ has joined #ruby
apeiros has quit [Ping timeout: 245 seconds]
discopatrick has joined #ruby
Inline has quit [Read error: Connection reset by peer]
uplime has quit [Ping timeout: 245 seconds]
troulouliou_div2 has quit [Read error: Connection reset by peer]
SeepingN has joined #ruby
rwb has joined #ruby
rippa has joined #ruby
xfbs has quit [Quit: afk]
sidx64 has joined #ruby
marmotini_ has joined #ruby
egourlao has quit []
Inline has joined #ruby
al2o3-cr has quit [Quit: WeeChat 2.2]
al2o3-cr has joined #ruby
queip has quit [Quit: bye, freenode]
beefjoe has joined #ruby
uplime has joined #ruby
konsolebox has quit [Ping timeout: 252 seconds]
ivanskie has joined #ruby
sidx64 has quit [Ping timeout: 268 seconds]
ivanskie has quit [Client Quit]
mangold has quit [Quit: This computer has gone to sleep]
orbyt_ has joined #ruby
veloutin has joined #ruby
za1b1tsu has joined #ruby
za1b1tsu_ has quit [Ping timeout: 245 seconds]
za1b1tsu has quit [Quit: WeeChat 2.1]
chouhoulis has joined #ruby
whysthatso has joined #ruby
leafyleong has quit [Ping timeout: 272 seconds]
Dbugger has joined #ruby
marmotini_ has quit [Ping timeout: 250 seconds]
nowhere_man has quit [Ping timeout: 252 seconds]
marmotini_ has joined #ruby
za1b1tsu has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beefjoe has quit [Read error: Connection reset by peer]
leafyleong has joined #ruby
Rapture has joined #ruby
moei has joined #ruby
za1b1tsu has quit [Ping timeout: 244 seconds]
queip has joined #ruby
cthulchu_ has joined #ruby
za1b1tsu has joined #ruby
ivanskie has joined #ruby
apeiros__ has quit []
jcarl43 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
beowuff has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
mangold has joined #ruby
DTZUZO_ has quit [Ping timeout: 252 seconds]
Tuor has quit [Quit: Konversation terminated!]
tdy has joined #ruby
justicefries has joined #ruby
Eiam has quit [Ping timeout: 276 seconds]
apeiros_ has joined #ruby
sameerynho has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mangold has quit [Quit: This computer has gone to sleep]
MoritaShinobu has quit [Quit: Leaving]
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
akem__ has quit [Ping timeout: 250 seconds]
hightower2 has joined #ruby
<hightower2> Hey, regarding formatting with ( "This is %s" % ["a string"] ), is there a version of it which does named replacements, instead of just positional?
<phaul> hightower2: not really an answer to your question, but is there any reason you are avoiding string interpolation with #{} ?
<hightower2> yeah I'll use that, thanks
<al2o3-cr> >> "this is %{string}".% string: "a string"
<ruby[bot]> al2o3-cr: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
planigan_ has quit [Ping timeout: 244 seconds]
<phaul> doesn't look like eval.in is going to be fixed any time soon.. Anything you click is just 500 Internal Server Error..
<al2o3-cr> phaul: no, doesn't look like it :(
planigan has joined #ruby
<phaul> on the bright side, rubydoc will link the full stdlib pretty soon... almost there..
<al2o3-cr> phaul: oh cool, you making something similar to derpy?
<phaul> &ri Array
<phaul> list Array#s%
<phaul> oh, cc'mon..
<al2o3-cr> oops ;)
<phaul> &list Array#s%
<rubydoc> Array#sample, Array#select, Array#select!, Array#shift, Array#shuffle, Array#shuffle!, Array#size, Array#slice, Array#slice!, Array#sort, Array#sort!,...
<phaul> nah. & was missing, my fault
<al2o3-cr> ah right :P
<hightower2> Is there a built-in class or methods for converting strings to camel case and back?
<hightower2> oh yes, camelize and underscore on String. nice
<hightower2> (in Rails, but OK)
<baweaver> 'how_about_this'.gsub(/_\w/) { |cs| cs[1].upcase }
<hightower2> yeah I need more variations, and also various combinations of changing back and forth
<hightower2> so I just added active_support/core_ext/string/inflections
<baweaver> 'howAboutThis'.gsub(/[A-Z]/) { |c| "_#{c.downcase}" }
<baweaver> Fair fair.
segy has quit [Ping timeout: 276 seconds]
leafyleong has quit [Ping timeout: 244 seconds]
<al2o3-cr> "%3$s %2$s %1$s" % %w{you love i}
fredlinhares has joined #ruby
cats has quit [Ping timeout: 268 seconds]
cats has joined #ruby
ged has joined #ruby
c0ncealed3 has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 252 seconds]
segy has joined #ruby
fredlinhares has quit [Ping timeout: 250 seconds]
c0ncealed3 has joined #ruby
knight33 has joined #ruby
schneider has joined #ruby
SeepingN has quit [Ping timeout: 268 seconds]
Eiam has joined #ruby
fredlinhares has joined #ruby
raulp has quit [Ping timeout: 244 seconds]
kapil____ has joined #ruby
akem has joined #ruby
justicefries has joined #ruby
justicefries has quit [Client Quit]
leafyleong has joined #ruby
themsay has quit [Ping timeout: 246 seconds]
icarus has quit [Quit: Lost terminal]
tdy has quit [Ping timeout: 244 seconds]
wojnar has joined #ruby
anoob has joined #ruby
<anoob> Is it possible to read an ENV var within a .env file: `DATABASE_URL=postgres://username:passwd@localhost:5432/db_name<%= ENV['TEST_ENV_NUMBER'] %>` ?
xfbs has joined #ruby
<phaul> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
mikecmpbll has joined #ruby
<phaul> anoob: I was too fast. Ignore that ^^. Sorry ....
<anoob> No problem, phaul
<anoob> :)
im0nde has quit [Ping timeout: 276 seconds]
<ged> anoob: I think it depends on what is reading the .env file. If whatever is reading it does ERb expansion before assigning, then that looks like it should work.
<anoob> I receive an error: "URI::InvalidURIError: bad URI(is not URI?)" with the `<%= ENV['TEST_ENV_NUMBER'] %>` part ...
<anoob> But it does work without it ...
Junaos has quit [Quit: ZNC - http://znc.in]
Junaos has joined #ruby
clemens3 has quit [Ping timeout: 268 seconds]
snickers has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
onkelhotte has joined #ruby
segy has quit [Ping timeout: 250 seconds]
im0nde has joined #ruby
SeepingN has joined #ruby
tdy has joined #ruby
RougeR has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
tdy has joined #ruby
schneider has quit [Quit: WeeChat 2.0.1]
fredlinhares has quit [Ping timeout: 245 seconds]
fredlinhares has joined #ruby
segy has joined #ruby
segy has quit [Excess Flood]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bacteria has joined #ruby
onkelhotte has quit [Quit: WeeChat 2.2]
segy has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
anoob has quit [Ping timeout: 256 seconds]
xfbs has quit [Quit: afk]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
apeiros_ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
<tycoon177> hello, i am currently working on a sinatra app and was wondering what gems people are using to send emails from ruby since actionmailer isn't available without rails
apeiros has quit [Ping timeout: 245 seconds]
apeiros_ has joined #ruby
<tycoon177> i did find this gem that seems like it'd be a good fit and isn't abandoned :p https://github.com/mikel/mail
snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
granttrec has joined #ruby
<granttrec> hey all, trying to understand binary, and alus, I tried writing the code (https://ideone.com/aPn2ed) for a division on N show here https://imgur.com/a/3yGZnLL It looks to me that there is an extra iteration, but it doesnt work without, any ideas?
eckhardt has joined #ruby
fredlinhares has quit [Ping timeout: 246 seconds]
reber has quit [Remote host closed the connection]
<phaul> doesn't the flowchart also repeats 65 times not 64?
<phaul> *repeat*
<phaul> I mean if # iteration < 65 you iterate one last time...
<granttrec> it exits on 65 repetion so should be less than 65
<granttrec> so 64 iterations
<phaul> but when # iterations == 64 it goes back to the top...
xfbs has joined #ruby
<phaul> I guess it depends if the test is part of the iteration :) ie very first time is # iteration 0, or 1..
<granttrec> phaul: ok so are these equivalent c loop: for (int i = 0; i < 65; i++) ruby loop: for i in 1..65 ?
<granttrec> i would say no
<phaul> I agree. they aren't
fredlinhares has joined #ruby
RougeR has quit [Ping timeout: 268 seconds]
<phaul> does this algo work in C with for (int i = 0; i < 65; i++) ?
<granttrec> yeah it does, but ill check
<granttrec> the book is "c" based examples
<phaul> btw besides the point, but most rubiists would write 64.times do ...end
<phaul> rather than for loop
<granttrec> didnt no that existed tbh im new to ruby
ivanskie has joined #ruby
rwb has quit [Ping timeout: 260 seconds]
<phaul> np. It shouldn't make a difference but much easier/nicer to read
venmx has joined #ruby
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
wojnar has quit [Remote host closed the connection]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
<granttrec> phaul: so turns out the same range is needed https://ideone.com/8p1zes
<granttrec> im even more intrigued
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
<phaul> I think the flowchart can be interpreted two ways..
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
<phaul> #iterations is too vague
kurko_ has joined #ruby
<granttrec> well 64 makes sense since thats the number of binary places in the register but now idk
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
patr0clus has joined #ruby
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
kurko_ has joined #ruby
kurko_ has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
patr0clus has quit [Remote host closed the connection]
patr0clus has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
<tycoon177> for anyone wondering, the mail gem that i sent earlier is working poifectly
granttrec has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
rwb has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
<phaul> &list Array
<rubydoc> Array, Array (abbrev), Array (mkmf), Array (rexml), Array (shellwords)
<phaul> &ri Tempfile
<phaul> stdlib + core except io & net... the rest is there
DTZUZO_ has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
fredlinhares has quit [Ping timeout: 252 seconds]
fredlinhares has joined #ruby
ellcs has joined #ruby
rwb has quit [Remote host closed the connection]
rwb has joined #ruby
DTZUZO_ has quit [Ping timeout: 250 seconds]
venmx has quit [Remote host closed the connection]
nowhere_man has joined #ruby
troulouliou_dev has joined #ruby
fredlinhares has quit [Ping timeout: 252 seconds]
ellcs has quit [Ping timeout: 252 seconds]
<phaul> rubydoc.info is down..
<phaul> Error 503 Backend fetch failed
<phaul> works again
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Luffy has joined #ruby
patr0clus has quit [Ping timeout: 250 seconds]
marmotini_ has quit [Ping timeout: 252 seconds]
Azure has quit [Read error: Connection reset by peer]
patr0clus has joined #ruby
Azure|dc has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
patr0clus has quit [Ping timeout: 245 seconds]
Azure|dc has quit [Read error: Connection reset by peer]
Azure has joined #ruby
patr0clus has joined #ruby
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 246 seconds]
sameerynho has quit [Ping timeout: 244 seconds]
patr0clus has quit [Ping timeout: 252 seconds]
nine_milli_ has joined #ruby
<nine_milli_> how come 6 >= 43.49 in ruby?
<havenwood> nine_milli_: #=> false
patr0clus has joined #ruby
<nine_milli_> php so much better, numbers are way more accurate
<havenwood> nine_milli_: Trolling isn't allowed here. Please stop or you'll be banned.
<havenwood> Rational ftw.
<nine_milli_> havenwood, you can not stifle the voice of truth, youll get punched in the face sooner or later
<havenwood> nine_milli_: So you don't have any actual Ruby questions or code to share?
<nine_milli_> lol, what kinda loser actually writes ruby code
<havenwood> I'll take that as a "no."
<nine_milli_> i use php like a normal person
<havenwood> !troll nine_milli_
nine_milli_ was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
rewaant has joined #ruby
rewaant has left #ruby [#ruby]
<havenwood> o/
za1b1tsu has quit [Ping timeout: 250 seconds]
Azure|dc is now known as Azure
akem has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 268 seconds]
akem has joined #ruby
marmotini_ has joined #ruby
lytol_ has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 260 seconds]
DTZUZO_ has joined #ruby
<ivanskie> hi
<ivanskie> I
<ivanskie> i'm not sure how to formulate my question.
phaul has quit [Ping timeout: 245 seconds]
uplime has quit [Quit: WeeChat 2.2]
<ivanskie> Config.profiles returns an array of ruby objects
<ivanskie> Config.applications is also an array of ruby objects.
<ivanskie> Config.applications.first.profile returns a name of a profile. But I'd like it to return that particular ruby object from Config.profiles
<ivanskie> I already have to_s method in Profile class. im not sure how to find one profile?
<ivanskie> i guess i need to search an array of ruby objects
<ivanskie> by ruby objects i mean... classes
nowhere_man has joined #ruby
<ivanskie> Config.profiles => [#<Profile:0x00007fba7b1baef8 ...>, #<Profile:0x00007fba7b1bae08 ...>, etc]
<ivanskie> im not in rails.
<ivanskie> so how do i search array of classes?
cthulchu_ has quit [Ping timeout: 252 seconds]
hightower2 has quit [Ping timeout: 252 seconds]
patr0clus has quit [Ping timeout: 250 seconds]
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has joined #ruby
hightower2 has joined #ruby
beowuff has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Dbugger has quit [Remote host closed the connection]
uplime has joined #ruby