havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
montanonic has joined #ruby
duderono_ has quit [Quit: Textual IRC Client: www.textualapp.com]
millerti has joined #ruby
charliesome has joined #ruby
dopamean_ has joined #ruby
nowhere_man has quit [Remote host closed the connection]
hutch34 has joined #ruby
nowhereman has joined #ruby
gigetoo has quit [Ping timeout: 240 seconds]
gigetoo has joined #ruby
marxarelli is now known as marxarelli|afk
BrokeBumBludger has joined #ruby
<BrokeBumBludger> oi
<BrokeBumBludger> i drink pee
<BrokeBumBludger> and wee
<BrokeBumBludger> and watery poo
<BrokeBumBludger> yummy yum yum
<BrokeBumBludger> any guys in here wanna play with my limp dick?
jrafanie has joined #ruby
<banisterfiend> BrokeBumBludger why's it limp? you're a young, virile man.
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
govg has joined #ruby
montanonic has quit [Ping timeout: 245 seconds]
<havenwood> !troll BrokeBumBludger
BrokeBumBludger was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jshjsh has joined #ruby
<havenwood> cagomez: (answer from #RubyOnRails): function gem-install-check-version() { gem install "$1" --explain | tail -n 1 | rev | cut -d- -f1 | rev }
<havenwood> ?crosspost
<ruby[bot]> Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
saslam has joined #ruby
JoshS has quit [Ping timeout: 256 seconds]
gigetoo has quit [Read error: Connection reset by peer]
enterprisey has joined #ruby
gigetoo has joined #ruby
Kiki_ has joined #ruby
Kiki_ has quit [Ping timeout: 260 seconds]
koldbrutality has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
tercenya has quit [Remote host closed the connection]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
tercenya has joined #ruby
montanonic has joined #ruby
polishdub has quit [Quit: leaving]
saneax is now known as saneax-_-|AFK
gigetoo has quit [Ping timeout: 260 seconds]
ruby618 has joined #ruby
gigetoo has joined #ruby
jdawgaz has joined #ruby
dc4 has joined #ruby
skweek has joined #ruby
minimalism has joined #ruby
montanonic has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
bkxd has joined #ruby
ruby618 has quit [Quit: Page closed]
bkxd has quit [Ping timeout: 255 seconds]
gigetoo has quit [Read error: Connection reset by peer]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toretore has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 264 seconds]
TomyLobo has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
jenrzzz has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.7]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
montanonic has joined #ruby
lmc has quit [Quit: Leaving...]
Hobbyboy has joined #ruby
kht has joined #ruby
jshjsh is now known as JoshS
mikecmpbll has quit [Quit: inabit. zz.]
simmib_ has joined #ruby
devon21 has quit [Quit: devon21]
simmib_ has quit [Ping timeout: 240 seconds]
tolerablyjake has joined #ruby
nebiros has joined #ruby
Devalo has joined #ruby
frozengeek___ has quit [Quit: frozengeek___]
tyang has joined #ruby
devon21 has joined #ruby
Definity has joined #ruby
tyang_ has joined #ruby
tyang__ has joined #ruby
infernix has quit [Ping timeout: 272 seconds]
tyang has quit [Ping timeout: 255 seconds]
tyang_ has quit [Ping timeout: 255 seconds]
devon21 has quit [Quit: devon21]
aryaching has quit [Read error: Connection reset by peer]
montanonic has quit [Ping timeout: 264 seconds]
devon21 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aryaching has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
snockerton has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
arescorpio has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
OMSQ has quit [Quit: Textual IRC Client: www.textualapp.com]
ramfjord has quit [Ping timeout: 276 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whathappens has quit [Quit: Leaving...]
DroidBurgundy has joined #ruby
jhack has joined #ruby
cagomez has quit []
gusrub has quit []
snockerton has quit [Quit: Leaving.]
infernix has joined #ruby
ddffg has quit [Ping timeout: 248 seconds]
Xentil has quit [Ping timeout: 258 seconds]
ramfjord has joined #ruby
Fin1te has joined #ruby
Channel6 has joined #ruby
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
AndBobsYourUncle has joined #ruby
AndBobsYourUncle has quit [Client Quit]
ramfjord has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
devon21 has quit [Quit: devon21]
djbkd_ has quit [Remote host closed the connection]
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
_djbkd has joined #ruby
devon21 has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
jdawgaz has joined #ruby
_djbkd has quit [Ping timeout: 258 seconds]
csplugins has joined #ruby
amagawdd has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
jshjsh has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
JoshS has quit [Ping timeout: 256 seconds]
nankyokusei has joined #ruby
UserJosh has joined #ruby
UserJosh is now known as JoshS
msmith has joined #ruby
chouhoulis has quit [Remote host closed the connection]
jshjsh has quit [Ping timeout: 248 seconds]
nankyokusei has quit [Ping timeout: 255 seconds]
brent__ has quit [Remote host closed the connection]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
tectonic has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dc4 has quit [Ping timeout: 240 seconds]
tolerablyjake has joined #ruby
znz_jp has quit [Remote host closed the connection]
znz_jp has joined #ruby
AnoHito_ has quit [Quit: Leaving]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
harai has joined #ruby
csplugins has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
kassav_ has quit [Remote host closed the connection]
zeroDi has quit [Quit: WeeChat 1.6]
AnoHito has joined #ruby
kassav_ has joined #ruby
ab-rex has quit [Remote host closed the connection]
gloscombe has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
kht has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 260 seconds]
tyang__ has quit [Quit: Leaving]
ecuanaso has joined #ruby
saslam has quit [Ping timeout: 245 seconds]
devon21 has quit [Quit: devon21]
bmurt has joined #ruby
JoshS has quit [Quit: Leaving]
rkazak_ has joined #ruby
jeffreylevesque_ has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
jeyraof has joined #ruby
ledestin has joined #ruby
rkazak has quit [Ping timeout: 260 seconds]
rkazak_ is now known as rkazak
UnknownSoldier has quit [Remote host closed the connection]
jdawgaz has joined #ruby
ResidentBiscuit has joined #ruby
gusrub has joined #ruby
gusrub has quit [Client Quit]
tectonic has quit []
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarl1Machado has joined #ruby
JeanCarl1Machado has quit [Client Quit]
jhack has quit [Quit: jhack]
jeffreylevesque_ has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Ropeney has joined #ruby
djuber` has joined #ruby
bkxd has joined #ruby
JeanCarloMachado has quit [Ping timeout: 255 seconds]
d^sh has quit [Ping timeout: 252 seconds]
d^sh has joined #ruby
dc4 has joined #ruby
Kug3lis has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
Kug3lis is now known as Kug3lis_off
cibs has quit [Ping timeout: 264 seconds]
davezd has quit [Quit: Leaving]
cibs has joined #ruby
brent__ has joined #ruby
kht has joined #ruby
brent__ has quit [Ping timeout: 245 seconds]
UnknownSoldier has joined #ruby
duderonomy has joined #ruby
govg has joined #ruby
astrobunny has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Ping timeout: 264 seconds]
nobitanobi has joined #ruby
kht has quit [Ping timeout: 258 seconds]
libastral has quit [Ping timeout: 260 seconds]
redhedded1 has quit [Quit: Textual IRC Client: www.textualapp.com]
montanonic has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
_whitelogger has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
cpruitt has quit [Quit: cpruitt]
blackwind_123 has quit [Ping timeout: 258 seconds]
blackbom1 has quit [Ping timeout: 240 seconds]
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
blackbom1 has joined #ruby
zacts has quit [Quit: WeeChat 1.7]
simmib has joined #ruby
simmib has quit [Remote host closed the connection]
minimalism has quit [Quit: minimalism]
pilne has quit [Quit: Quitting!]
zacts has joined #ruby
AndrewIsHere has quit [Ping timeout: 255 seconds]
syndikate_ has quit [Ping timeout: 240 seconds]
syndikate has joined #ruby
AndrewIsHere has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
AndrewIsHere has joined #ruby
mostlybadfly has joined #ruby
koldbrutality has quit [Remote host closed the connection]
tectonic has joined #ruby
bkxd has joined #ruby
tectonic has quit [Client Quit]
AndrewIsHere has quit [Ping timeout: 255 seconds]
jeyraof has quit [Quit: This computer has gone to sleep]
bkxd has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
ReK2 has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 264 seconds]
KnownSyntax has joined #ruby
tlahtoani has quit [Quit: Connection closed for inactivity]
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
nankyokusei has joined #ruby
ResidentBiscuit has quit []
saslam has joined #ruby
hutch34 has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dopamean_ has quit [Ping timeout: 240 seconds]
dc4 has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
wrkrcoop has joined #ruby
<wrkrcoop> hi i have a file that consists of just an array, how can i require it in my other file?
<wrkrcoop> im doing this require_relative('./nyse_symbols');
<wrkrcoop> but when i p nyse_symbols says variable doesn’t exist
<wrkrcoop> do i have to put it in a module?
<adam12> wrkrcoop: Yes.
blackbom1 has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
<wrkrcoop> thanks adam
saslam has quit [Ping timeout: 255 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tolerablyjake has joined #ruby
__Yiota has joined #ruby
jdawgaz has joined #ruby
Devalo has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
astrobunny has quit []
__Yiota has quit [Client Quit]
Devalo has quit [Ping timeout: 264 seconds]
astrobunny has joined #ruby
jaegerca has joined #ruby
enterprisey has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jaegerca> How is it that has_many(name, scope = nil, options = {}, &extension) doesn't assign options to scope when called like: has_many :alphas, class_name: "Alpha"
harai has quit [Ping timeout: 252 seconds]
arescorpio has quit [Quit: Leaving.]
kassav_ has quit [Read error: Connection reset by peer]
kassav_ has joined #ruby
montanonic has joined #ruby
<havenwood> >> def jaegerca name, scope = nil, options = {}, &extension; {scope: scope, options: options} end; jaegerca :alphas, class_name: "Alpha"
<ruby[bot]> havenwood: # => {:scope=>{:class_name=>"Alpha"}, :options=>{}} (https://eval.in/728092)
<havenwood> >> def jaegerca name, scope = nil, **options, &extension; {scope: scope, options: options} end; jaegerca :alphas, class_name: "Alpha"
<ruby[bot]> havenwood: # => {:scope=>nil, :options=>{:class_name=>"Alpha"}} (https://eval.in/728093)
<jaegerca> havenwood: Ha, very cool, thanks
raul782 has joined #ruby
<havenwood> jaegerca: no prob, happy hacking!
tuelz has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
AndrewIsHere has joined #ruby
DroidBurgundy has quit [Remote host closed the connection]
msmith has quit [Remote host closed the connection]
DroidBurgundy has joined #ruby
jaegerca has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
UnknownSoldier has quit [Remote host closed the connection]
djbkd has joined #ruby
_djbkd has joined #ruby
AndrewIsHere has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 245 seconds]
amclain has quit [Quit: Leaving]
Channel6 has quit [Quit: Leaving]
jeyraof has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
__Yiota has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
gix has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
astrobunny has quit []
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
armyriad has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
astrobunny has joined #ruby
armyriad has joined #ruby
gix has joined #ruby
harfangk has joined #ruby
chouhoulis has joined #ruby
biox has quit [Quit: brb servers are ded]
minimalism has joined #ruby
biox has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Quit: Lost terminal]
danielpclark has quit [Ping timeout: 252 seconds]
hutch34 has joined #ruby
twistedpixels_ has quit [Quit: ZNC - http://znc.in]
twistedpixels_ has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
patarr has joined #ruby
hutch34 has quit [Ping timeout: 256 seconds]
DroidBurgundy has quit []
simmib_ has joined #ruby
danielpclark has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
patarr has quit [Ping timeout: 248 seconds]
simmib_ has quit [Remote host closed the connection]
simmib_ has joined #ruby
astrobunny has quit []
haylon has joined #ruby
danguita has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
vikas027 has joined #ruby
<vikas027> Hello Everyone, I am fairly new to Ruby (can write some code) and trying out Thor for a CLI. I have got it working to a start, but trying to figure out a way to use default method rather than specify one at CLI. Please have a look here - https://dpaste.de/m4Kh
gry has left #ruby [#ruby]
zacts has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin_ has joined #ruby
Fin1te has quit [Quit: Textual IRC Client: www.textualapp.com]
bkxd has quit [Ping timeout: 248 seconds]
davezd has joined #ruby
renchan has joined #ruby
squ has joined #ruby
nankyokusei has joined #ruby
chouhoulis has quit [Remote host closed the connection]
wrkrcoop has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
montanonic has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
anisha has joined #ruby
squ has quit [Read error: Connection reset by peer]
AndrewIsHere has joined #ruby
saneax-_-|AFK is now known as saneax
astrobunny has joined #ruby
ifctj has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enterprisey has joined #ruby
hahuang65 has quit [Remote host closed the connection]
raul782 has quit [Ping timeout: 264 seconds]
raul782 has joined #ruby
tdump has joined #ruby
zacts has joined #ruby
dc4 has joined #ruby
Devalo has joined #ruby
ifctj has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
<tdump> I'm getting this error "syntax error, unexpected keyword_end, expecting end-of-input" when I run the code found here: https://git.io/vDqNj
<tdump> Can someone explain why the end is unexpected, or what I'm doing incorrectly/ what is end-of-input means
ifctj has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
Cohedrin_ has joined #ruby
ur5us has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
ReK2 has quit [Ping timeout: 245 seconds]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
AndrewIsHere has quit [Remote host closed the connection]
Xiti has quit [Ping timeout: 240 seconds]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
sERAphim_5B has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
harai has joined #ruby
Xiti has joined #ruby
<tdump> anyone?
DarthGandalf has quit [Remote host closed the connection]
bkxd has joined #ruby
DarthGandalf has joined #ruby
consti has quit [Read error: Connection reset by peer]
consti_ has joined #ruby
raul782 has quit [Remote host closed the connection]
depesz has left #ruby ["WeeChat 1.7"]
sERAphim_5B has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 258 seconds]
dionysus69 has joined #ruby
raul782 has joined #ruby
ianmethyst has joined #ruby
Definity has quit [Ping timeout: 256 seconds]
montanonic has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshS has joined #ruby
raul782 has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Client Quit]
brent__ has joined #ruby
tdump has quit [Remote host closed the connection]
bocaneri has joined #ruby
Kug3lis_off is now known as Kug3lis
Kug3lis is now known as Kug3lis_off
Kug3lis_off is now known as Kug3lis
haylon has quit [Quit: Leaving]
Kug3lis is now known as Kug3lis_off
Kug3lis_off is now known as Kug3lis
nobitanobi has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
howdoi has joined #ruby
nobitanobi has quit [Ping timeout: 276 seconds]
hutch34 has joined #ruby
Pupeno has quit [Remote host closed the connection]
tildes has joined #ruby
rikai has quit [Ping timeout: 240 seconds]
tubbo has quit [Ping timeout: 264 seconds]
patarr has joined #ruby
hutch34 has quit [Ping timeout: 248 seconds]
tildes has quit [Ping timeout: 240 seconds]
ddffg has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
lpt is now known as xpt
ianmethyst has quit [Quit: WeeChat 1.7]
dc4 has quit [Ping timeout: 240 seconds]
kassav_ has quit [Ping timeout: 255 seconds]
PaulePanter has quit [Read error: Connection reset by peer]
andikr has joined #ruby
neuraload has joined #ruby
last_staff has joined #ruby
grh has joined #ruby
wrkrcoop has quit [Quit: wrkrcoop]
last_staff has quit [Client Quit]
ecuanaso has joined #ruby
consti_ has quit []
aufi has joined #ruby
PaulePanter has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
agent_white has quit [Ping timeout: 255 seconds]
libastral has joined #ruby
neuraload has quit [Quit: This computer has gone to sleep]
neuraload has joined #ruby
Pumukel has joined #ruby
kassav_ has joined #ruby
blaxter has joined #ruby
Kug3lis is now known as Kug3lis_off
bkxd has joined #ruby
Pumukel has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 260 seconds]
enterprisey has quit [Remote host closed the connection]
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
danguita has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 245 seconds]
conta has joined #ruby
chamunks- has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
<chamunks-> https://hastebin.com/remezazonu.sql I'm not really strong in the ways of Ruby but I'm trying to install a linux command line tool in the gem repository called Haste
<chamunks-> I keep getting this error "cannot load such file -- json/pure
agent_white has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<chamunks-> Well all it took for me to fix it was to just try gem install json
ifctj has quit [Ping timeout: 264 seconds]
emilkarl has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mortomes|Train has joined #ruby
Axy has quit [Ping timeout: 248 seconds]
ecuanaso has joined #ruby
nankyokusei has joined #ruby
KC7778 has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
evie_hammond has quit [Quit: WeeChat 1.7]
<KC7778> How's everyone doing?
<danielpclark> good
neuraload has quit [Ping timeout: 256 seconds]
nobitanobi has joined #ruby
lxsameer has joined #ruby
cibs has quit [Ping timeout: 245 seconds]
neuraload has joined #ruby
cibs has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neuraload has quit [Client Quit]
despai has joined #ruby
anisha_ has joined #ruby
KC7778 has quit [Quit: Mutter: www.mutterirc.com]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has quit [Ping timeout: 240 seconds]
nobitanobi has quit [Remote host closed the connection]
ecuanaso has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
astrobun_ has joined #ruby
csk157_ has joined #ruby
consti has joined #ruby
consti has quit [Client Quit]
last_staff has joined #ruby
last_staff has quit [Client Quit]
aganov has joined #ruby
blaxter has quit [Quit: foo]
astrobunny has quit [Ping timeout: 255 seconds]
TomyWork has joined #ruby
Macaveli has joined #ruby
Devalo has joined #ruby
sneakerhax has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
teclator has joined #ruby
antgel has joined #ruby
mikecmpbll has joined #ruby
cibs has quit [Ping timeout: 240 seconds]
<dminuoso> Mmm, something about the Ruby classes escapes me. I'm a little unsure how a class method can be inherited if metaclasses (i.e. the singleton class of a class) are only created on demand.
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
<dminuoso> Because that would imply that a class Derived < Base default has its klass set to RClass Class, which would keep the methods of Base' outside the reach of the method dispatch.
mark_66 has joined #ruby
cibs has joined #ruby
AndrewIsHere has joined #ruby
<dminuoso> I mean, let's consider a case where A < B < C with a method being defined on C'
<dminuoso> if you call A.method, then how can it be dispatched to C' unless both A' and B' already exist.
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ljarvis> yorickpeterse: <3
AndrewIsHere has quit [Ping timeout: 255 seconds]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mortomes|Train has quit [Ping timeout: 260 seconds]
tvw has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
e1z0__ has joined #ruby
aupadhye has joined #ruby
bkxd has joined #ruby
nowhereman has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
Otterfox has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
<ljarvis> man I hate active record
ta has joined #ruby
<ddffg> why rust better than crystal lang?
nowhere_man has quit [Ping timeout: 240 seconds]
<ljarvis> ddffg: this is #ruby, where we don't talk about rust vs crystal
<ljarvis> we talk about.. ruby
<ljarvis> sometimes
squ has joined #ruby
Ropeney has quit [Ping timeout: 255 seconds]
z3uS has quit [Ping timeout: 240 seconds]
z3uS has joined #ruby
e1z0__ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
milardovich has joined #ruby
<ddffg> ljarvis, look at KC7778
<ddffg> I think Ruby is losing popularity
milardovich has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
<ljarvis> ok
Otterfox has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
psychicist__ has joined #ruby
KC7778 has joined #ruby
e1z0__ has joined #ruby
Guest42298 has joined #ruby
<Guest42298> hello. What kind of jobs can people get without rails?
<Guest42298> I hate rails but love ruby!
<mikecmpbll> binman, dentist, NASA escape hatch designer
milardovich has quit [Ping timeout: 256 seconds]
KC7778 has quit [Client Quit]
<surrounder> train conductor would be hard
<Guest42298> i guess I'll go for "NASA escape hatch designer" then!
nobitanobi has joined #ruby
milardovich has joined #ruby
Silthias has joined #ruby
nowhere_man has joined #ruby
<ddffg> <Guest42298> microservices
<SpComb> mmm ruby microservices that take up 60MB of RSS, and you want to run a couple of them on each node
<SpComb> say, anyone know of a good ruby memory profiler? :D
Silthias2 has joined #ruby
Silthias1 has quit [Ping timeout: 252 seconds]
<ddffg> <SpComb> do you have live examples of microsrv that takes up 60MB
Pumukel has joined #ruby
Silthias has quit [Ping timeout: 256 seconds]
minimalism has quit [Ping timeout: 255 seconds]
grh has quit [Remote host closed the connection]
armyriad has quit [Read error: Connection reset by peer]
minimalism has joined #ruby
hutch34 has joined #ruby
<Guest42298> is ruby better than python?
<herwin> I don't think anyone here would say python is better
tvw has quit []
tvw has joined #ruby
<surrounder> what's "better" anyhow
<herwin> but you may get different reactions in #python
<atmosx> herwin: being a sysadmin, I can assure you that the tools available in python are overwhelming... I can't say the same about tools (ready-made-libraries/executables) are available in ruby, but still I can do nearly everything in rb.
patarr has joined #ruby
<Guest42298> ah ok. so you can do systems stuff in ruby, but you have to write it yourself because the libraries don't exist
<ljarvis> Guest42298: python vs ruby is dependant on the task at hand and your own personal preference, so only you can answer that
<ljarvis> there's pretty much a ruby gem for everything, but the noise to signal ratio can often be difficult
<atmosx> herwin: quick example since SpComb asked for a memory profiler: https://github.com/pixelb/ps_mem (memory usage per prog for linux AFAIK)
hutch34 has quit [Ping timeout: 258 seconds]
<herwin> but does that make a language better?
<atmosx> ljarvis: agreed, I think for web application and meta-programming ruby is ahead, for the rest, I believe that python has a larger set of libs. I still prefer ruby though.
<ljarvis> I like python, but i just have more fun writing ruby
<atmosx> herwin: no, I'm in no position of judging the language itself, I leave that to core devs (who might have some more serious arguments thatn "I don't have a library available" :-)
<SpComb> by memory profiler I mean "why is this ruby process eating 60MB at idle"
harai has quit [Ping timeout: 252 seconds]
* atmosx is taking a look at Go and liking it so far.
kassav_ has quit [Quit: kassav_]
Elytra has quit [Quit: Connection closed for inactivity]
<ljarvis> I write quite a lot of Go but don't enjoy it much. I *really* enjoy Elixir
kassav__ has joined #ruby
kassav__ is now known as kassav_
patarr has quit [Ping timeout: 255 seconds]
<Guest42298> I like trying multiple languages...but I still have my favs
grh has joined #ruby
nowhere_man has quit [Remote host closed the connection]
<Guest42298> I can see than Golang has advantages; but it's so boring!!!!
nowhere_man has joined #ruby
<elomatreb> How can a programming language be boring/not boring?
<Guest42298> comparitively
csk157 has joined #ruby
<elomatreb> I still don't get what you mean :(
<Guest42298> like a person with a vocabulary of 20 words. can be nice, but boring
<atmosx> elomatreb: Go has one way of looping
<atmosx> elomatreb: ruby has like 15 (or more). for, while, upto, times, etc.
<elomatreb> All of which are the same thing except for while ;)
KC7778 has joined #ruby
<Guest42298> exactly, ruby has super-cunnilingus looping abilities
<atmosx> elomatreb: now someone who is not a professional programmer like me, but writes ruby here and there, sometimes gets scared when facing ruby one-liners that do too much magic. I don't see this happening with go, but then again someone might find this boring :-)
csk157_ has quit [Ping timeout: 240 seconds]
<elomatreb> Ah, in that sense
KC7778 has quit [Client Quit]
Guest42298 has left #ruby [#ruby]
charliesome has joined #ruby
davezd has quit [Quit: Leaving]
scootaloo has joined #ruby
scootaloo has quit [Changing host]
scootaloo has joined #ruby
govg has quit [Ping timeout: 255 seconds]
scootaloo has quit [Client Quit]
saneax is now known as saneax-_-|AFK
scootaloo has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Mia has quit [Ping timeout: 240 seconds]
matcouto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
psychicist__ has quit [Ping timeout: 255 seconds]
govg has joined #ruby
bkxd has joined #ruby
JeanCarloMachado has joined #ruby
masta`` has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
davezd has joined #ruby
milardovich has quit [Remote host closed the connection]
psychicist__ has joined #ruby
nankyokusei has joined #ruby
koldbrutality has joined #ruby
nowhere_man has quit [Quit: Konversation terminated!]
nowhere_man has joined #ruby
charliesome has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
gigetoo has joined #ruby
pandaant has joined #ruby
flying has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
charliesome has quit [Client Quit]
Beams has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
biberu has joined #ruby
jeyraof has quit [Quit: This computer has gone to sleep]
nobitanobi has quit [Read error: No route to host]
nobitano_ has joined #ruby
milardovich has joined #ruby
patarr has joined #ruby
despai has joined #ruby
govg has quit [Ping timeout: 240 seconds]
toretore has joined #ruby
SesMan has joined #ruby
nofxx has quit []
patarr has quit [Ping timeout: 255 seconds]
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
scootaloo has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
Devalo has joined #ruby
ldnunes has joined #ruby
eggshke has joined #ruby
workmad3 has joined #ruby
nettoweb has joined #ruby
cibs has quit [Ping timeout: 252 seconds]
jshjsh has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
cibs has joined #ruby
blackmesa has joined #ruby
emilkarl has quit [Quit: emilkarl]
JoshS has quit [Ping timeout: 256 seconds]
z3uS has quit [Ping timeout: 240 seconds]
emilkarl has joined #ruby
emilkarl has quit [Client Quit]
emilkarl has joined #ruby
emilkarl has quit [Client Quit]
emilkarl has joined #ruby
AndrewIsHere has joined #ruby
emilkarl has quit [Client Quit]
Beams has quit [Quit: .]
emilkarl has joined #ruby
z3uS has joined #ruby
emilkarl has quit [Client Quit]
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
Beams has joined #ruby
vj4 has joined #ruby
lenwood has joined #ruby
zenspider has quit [Ping timeout: 248 seconds]
AndrewIsHere has quit [Ping timeout: 255 seconds]
zenspider has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
saneax-_-|AFK is now known as saneax
nettoweb has quit [Ping timeout: 240 seconds]
JeanCarloMachado has joined #ruby
bkxd has joined #ruby
charliesome has joined #ruby
astrobun_ has quit [Remote host closed the connection]
astrobunny has joined #ruby
e1z0__ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 264 seconds]
bkxd has joined #ruby
banisterfiend has joined #ruby
astrobunny has quit [Ping timeout: 248 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Beams has quit [Quit: .]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
aspiers has quit [Quit: WeeChat 1.3]
aspiers has joined #ruby
Beams has joined #ruby
sepp2k has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
hutch34 has joined #ruby
ferr1 has joined #ruby
<dionysus69> which gem do you recommend out of these for manipulating excel file so they are then "not damaged" https://www.ruby-toolbox.com/categories/reporting
ruby694 has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
<ruby694> I need help! Is there anybody who wants to help me?
lenwood has quit [Ping timeout: 240 seconds]
<scootaloo> ?ask
<ruby[bot]> Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
<ruby694> Ok I have very simple project for the University and I created, Edit page which can update the information, I want to create Remove button next to the Update button
<ruby694> And I am trying to do this 2 days and I cannot do it.. for sure it is something simple but I am new in Ruby and I do not know what to write in order to work...
<ruby694> put '/edit' do info = "#{params[:message]}" @info = info file= File.open("wiki.txt", "w") file.puts @info file.close redirect '/' end
<ruby694> this is the Update button
<ruby694> <form action="/edit/reset" method="get" id="edit">
<ruby694> <form action="/edit" method="post" id="edit"> <input type="hidden" name="_method" value="put">><%= @info %></textarea> <input type="submit" value="Update"> </form>
<ruby694> it is this one the Update button
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
blackmesa has quit [Ping timeout: 240 seconds]
anisha_ has quit [Quit: This computer has gone to sleep]
<ruby694> <input type="hidden" name="_method" value="DELETE"> </form> <a href="/edit/reset/<%= @info %>">Delete</a>
<scootaloo> ah, if this is for Rails, you should rather ask #RubyOnRails, they'll be more knowledgable on the subject
<ruby694> No this is for RUBY
nowhere_man has quit [Ping timeout: 264 seconds]
<ruby694> the project MUST be done only in RUBY, oooo otherwise in would do everything with JS and jQuery and a bit sinatra and ruby
anisha_ has joined #ruby
ponga has joined #ruby
<scootaloo> Then can you put your code in a gist (gist.github.com) for easy reading and explain what you are trying to achieve?
<ruby694> ok
nobitano_ has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
Mortomes|Work has joined #ruby
senayar has joined #ruby
nobitanobi has joined #ruby
<ruby694> can you open it?
<scootaloo> I suppose you're using sinatra?
c355e3b has joined #ruby
<scootaloo> for removing, you can simply add a new endpoint on delete then have a second form on your page that submits to the delete endpoint. You may have to tweak to make the form sends DELETE though, as it is not standard for HTML forms and I don't know if sinatra know the _method trick by default.
<ruby694> Yes Sinatra
<scootaloo> er duh, you're using _method already
<scootaloo> so yeah, just make a new endpoint on delete method, then use a form similar to the one you're already using to wrap a delete button by changing the method (and removing fields except _method)
<ruby694> Yeah but I do not know very well the methods and the rules and I have a deadline for the project, I am doing everything so fast and it is crazy... If you can write like a comment on the page in gist hub that I gave you I will appreciate that very much
<scootaloo> just do the same way you did already for your existing endpoint, just with delete instead of put
<ruby694> I will write it and then I will send it again, just to check it, Ok?
ddffg has quit [Ping timeout: 256 seconds]
conta has quit [Quit: conta]
<ruby694> Can you check it if it is correct or not?
stamina has joined #ruby
<ruby694> scootalo, can you check that please? https://gist.github.com/Hard-system/c6722072e448e1c8083e845ea132a084
marr has joined #ruby
conta has joined #ruby
<ruby694> SCOOTALOO you are number one! Thank you very much it works perfectly!!!!!!!
<ruby694> Thank you man, thank you!
Beams has quit [Quit: .]
nankyokusei has joined #ruby
scootaloo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ddffg has joined #ruby
Beams has joined #ruby
jdawgaz has joined #ruby
elaptics has joined #ruby
charliesome_ has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
jdawgaz has quit [Client Quit]
atcagn has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
grh has quit [Ping timeout: 252 seconds]
iNs has quit [Ping timeout: 258 seconds]
ltp has quit [Ping timeout: 272 seconds]
emilkarl has joined #ruby
nbol has left #ruby [#ruby]
<ruby694> I want to make Edit User button how it should look like in order to work?
<dminuoso> ruby694: Please enable syntax hilighting on your gists.
<dminuoso> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
despai has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
grh has joined #ruby
testuser2 has joined #ruby
<testuser2> hi
<ruby694> hi
<testuser2> can i do CONST1, CONST2 = '0'.freeze?
vikas027 has quit [Read error: Connection reset by peer]
<danielpclark> @testuser2 CONST1 = CONST2 = '0'.freeze?
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
<danielpclark> oops, without the question mark
jenrzzz has quit [Ping timeout: 240 seconds]
<testuser2> oh right
grh has quit [Ping timeout: 240 seconds]
UserJosh has joined #ruby
Devalo has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
jshjsh has quit [Ping timeout: 240 seconds]
Pumukel has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 264 seconds]
despai has joined #ruby
<toretore> ?gist-usage ruby694
<toretore> fix your highlighting
<ruby694> how can I fix it?
<toretore> read what i linked
AndrewIsHere has joined #ruby
xt233 has joined #ruby
<ruby694> this is a instruction how to use gist
xt233 has quit [Client Quit]
<toretore> yes, read it
grh has joined #ruby
lenwood has joined #ruby
AndrewIsHere has quit [Ping timeout: 255 seconds]
scootaloo has joined #ruby
<scootaloo> ruby694: sorry, went away
cyphase has quit [Read error: Connection reset by peer]
<scootaloo> nice to year you got it working
<ruby694> yeah you are great
<ruby694> I have last issue if I do it I will be the best, I post my GIST
<ruby694> I will write you private because the admin says something about my link in gist but I did not understand him
cyphase_eviltwin has joined #ruby
<ruby694> hi
<ruby694> this is the onother problem that I have
nadir has joined #ruby
<scootaloo> What is the problem?
Pumukel has joined #ruby
<scootaloo> don't put modifications as get methods, it's bad and calling for trouble
chouhoulis has joined #ruby
blaxter has joined #ruby
tectonic has joined #ruby
DoubleMalt has quit [Quit: Leaving]
jdawgaz has joined #ruby
synthroid has joined #ruby
minimalism has quit [Quit: minimalism]
minimalism has joined #ruby
joevandyk has quit [Ping timeout: 240 seconds]
Seich has quit [Ping timeout: 256 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Seich has joined #ruby
joevandyk has joined #ruby
scootaloo has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frozengeek___ has joined #ruby
Mutter has joined #ruby
jud^ has joined #ruby
freeze has quit [Ping timeout: 240 seconds]
timmow has quit [Ping timeout: 240 seconds]
freeze has joined #ruby
tectonic has quit []
brandon_ has quit [Ping timeout: 255 seconds]
troulouliou_div2 has joined #ruby
<Mutter> What's up people
Mutter is now known as kcc7787
timmow has joined #ruby
jud has quit [Ping timeout: 240 seconds]
scorphus has quit [Ping timeout: 255 seconds]
SesMan has quit [Ping timeout: 264 seconds]
kcc7787 has quit [Quit: Mutter: www.mutterirc.com]
despai has quit [Quit: This computer has gone to sleep]
rwb has quit [Ping timeout: 255 seconds]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skarlso has joined #ruby
hutch34 has joined #ruby
mitt3ns has joined #ruby
scootaloo has joined #ruby
charliesome_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest81173 has quit [Read error: Connection timed out]
tyang has joined #ruby
grh has quit [Ping timeout: 240 seconds]
Guest81173 has joined #ruby
agent_white has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
jessiepuls has joined #ruby
opt9 has quit [Quit: Bye bye]
ecuanaso has joined #ruby
malconis has joined #ruby
opt9 has joined #ruby
malconis_ has joined #ruby
Burgestrand has joined #ruby
Guest81173 has quit [Ping timeout: 240 seconds]
Guest81173 has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
izaac_ has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Client Quit]
danielpclark has quit [Remote host closed the connection]
malconis has quit [Ping timeout: 255 seconds]
izaac has joined #ruby
tdump has joined #ruby
<tdump> I'm getting this error "syntax error, unexpected keyword_end, expecting end-of-input" when I run the code found here: https://git.io/vDqNj
<tdump> Can someone explain why the end is unexpected, or what I'm doing incorrectly/ what is end-of-input means
<tdump> tdump
<toretore> each do |number|
<tdump> oh, no way
bmurt has joined #ruby
<tdump> toretore: I must be gettin dislexic in my old age
<tdump> hahah
<tdump> toretore: thanks
hutch34 has joined #ruby
opt9 has quit [Quit: Bye bye]
Koshian____ has quit [Ping timeout: 240 seconds]
Koshian____ has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grh has joined #ruby
opt9 has joined #ruby
tlahtoani has joined #ruby
_aeris_ has quit [Remote host closed the connection]
simmib_ has quit [Remote host closed the connection]
jaruga_____ has joined #ruby
xen0fon has quit [Read error: Connection reset by peer]
_aeris_ has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
squ has quit [Remote host closed the connection]
maleghast has joined #ruby
pandaant has quit [Remote host closed the connection]
JoshS has joined #ruby
milardovich has joined #ruby
andikr has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
SesMan has joined #ruby
xen0fon has joined #ruby
gnufied has quit [Remote host closed the connection]
tuelz has joined #ruby
UserJosh has quit [Ping timeout: 255 seconds]
Symbiosisz has quit [Remote host closed the connection]
Burgestrand has joined #ruby
pandaant has joined #ruby
gnufied has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
nobitanobi has joined #ruby
stamina has quit [Quit: WeeChat 1.7]
lolwut123 has joined #ruby
maleghast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has quit [Ping timeout: 248 seconds]
stamina has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
sepp2k has joined #ruby
sepp2k has quit [Client Quit]
brent__ has joined #ruby
nowhere_man has joined #ruby
feal has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Quit: Leaving.]
brent__ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
tvw has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
tvw has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
gnufied has quit [Quit: Leaving]
Burgestrand has quit [Quit: Closing time!]
gnufied has joined #ruby
despai has joined #ruby
rfoust has joined #ruby
jhack has joined #ruby
djuber` has quit [Ping timeout: 258 seconds]
RedFromage has joined #ruby
lolwut123 has quit [Quit: leaving]
devon21 has joined #ruby
SesMan has quit [Ping timeout: 252 seconds]
ramortegui has joined #ruby
jdawgaz has joined #ruby
jessiepuls has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
toretore has joined #ruby
ta has quit [Remote host closed the connection]
rfoust has quit [Quit: Textual IRC Client: www.textualapp.com]
devon21 has quit [Quit: devon21]
dopamean_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bkxd has joined #ruby
Shashikant86 has joined #ruby
[dmp] has quit [Ping timeout: 245 seconds]
[dmp] has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
anisha_ has quit [Quit: This computer has gone to sleep]
msmith has joined #ruby
lenwood has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 248 seconds]
<ruby694> Can you help me how to do the Edit button? : https://gist.github.com/Hard-system/c6722072e448e1c8083e845ea132a084
__Yiota has joined #ruby
teclator has quit [Remote host closed the connection]
anisha_ has joined #ruby
millerti has joined #ruby
Chagel has joined #ruby
grh has quit [Ping timeout: 258 seconds]
AndrewIsHere has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jschoolcraft has quit [Quit: peace]
saslam has joined #ruby
jdawgaz has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
Fernando-Basso has joined #ruby
OMSQ has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
AndrewIsHere has quit [Ping timeout: 255 seconds]
DLSteve_ has joined #ruby
devon21 has joined #ruby
opt9 has quit [Quit: Bye bye]
testuser2 has quit [Quit: leaving]
opt9 has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
grh has joined #ruby
eggshke has quit []
devon21 has quit [Quit: devon21]
pandaant has quit [Remote host closed the connection]
Takumo has joined #ruby
Takumo has joined #ruby
Takumo has quit [Changing host]
saslam has quit [Ping timeout: 252 seconds]
kies has quit [Ping timeout: 255 seconds]
jrafanie has joined #ruby
opt9 has quit [Quit: Bye bye]
griffindy has joined #ruby
reverberations has joined #ruby
arooni has quit [Quit: ZNC - http://znc.in]
kies has joined #ruby
chouhoulis has quit [Remote host closed the connection]
jhack has quit [Quit: jhack]
chouhoulis has joined #ruby
conta has quit [Read error: Connection reset by peer]
opt9 has joined #ruby
jhack has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
RedFromage has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
amagawdd has joined #ruby
akahn has joined #ruby
devon21 has joined #ruby
SesMan has joined #ruby
tdump has quit [Remote host closed the connection]
jessiepuls has joined #ruby
synthroid has quit [Remote host closed the connection]
Chagel has quit [Ping timeout: 258 seconds]
arooni has joined #ruby
devon21 has quit [Quit: devon21]
Shashikant86 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby694 has quit [Ping timeout: 260 seconds]
shwouchkster has joined #ruby
jhack has quit [Quit: jhack]
rippa has joined #ruby
shwouchkster is now known as shwouchk
cpruitt has joined #ruby
cyphase_eviltwin is now known as cyphase
polishdub has joined #ruby
matp_ has joined #ruby
arup_r has joined #ruby
teclator has joined #ruby
matp has quit [Ping timeout: 255 seconds]
<arup_r> Hi, I am using this lib https://github.com/pdfkit/pdfkit. This works, but sometimes it is generating 400 pages, depending on the content size. I am looking for a way so that I can limit the pdf to have always fixed size pages, say <= 30. Do you know any trick to achieve this?
<arup_r> if the content needs more than 30 pages, I will take only 30 pages. rest I'll ignore.
opt9 has quit [Quit: Bye bye]
danguita has joined #ruby
cyberik has joined #ruby
brandon_ has joined #ruby
opt9 has joined #ruby
Fernando-Basso has quit [Ping timeout: 240 seconds]
kies has quit [Read error: Connection reset by peer]
ferr1 has quit [Quit: WeeChat 1.6]
kies has joined #ruby
agent_white has joined #ruby
swills has quit [Read error: Connection reset by peer]
tdump has joined #ruby
<agent_white> Mornin folks
<apeiros> moin agent_white
saneax is now known as saneax-_-|AFK
teclator has quit [Ping timeout: 240 seconds]
swills has joined #ruby
grh has quit [Ping timeout: 264 seconds]
Fernando-Basso has joined #ruby
synthroid has joined #ruby
iNs has joined #ruby
Snickers has quit [Quit: Snickers]
raul782 has joined #ruby
bkxd has joined #ruby
conta has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: Textual IRC Client: www.textualapp.com]
Jackneill_ has joined #ruby
conta has joined #ruby
tolerablyjake has joined #ruby
saslam has joined #ruby
lxsameer has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
chouhoul_ has joined #ruby
rwb has joined #ruby
conta has quit [Ping timeout: 240 seconds]
tuelz has quit [Ping timeout: 245 seconds]
chouhoul_ has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
saslam has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
saslam has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
ocbtec has joined #ruby
[dmp] has quit [Ping timeout: 240 seconds]
maleghast has joined #ruby
[dmp] has joined #ruby
Mia has joined #ruby
tuelz has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has quit []
Axy has joined #ruby
tdump has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
harfangk has joined #ruby
[dmp] has quit [Ping timeout: 248 seconds]
jdawgaz has joined #ruby
Mia has quit [Ping timeout: 240 seconds]
[dmp] has joined #ruby
conta has joined #ruby
mark_66 has quit [Remote host closed the connection]
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
marr has quit [Ping timeout: 260 seconds]
devon21 has joined #ruby
alveric1 has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
tdump has joined #ruby
emilkarl has quit [Quit: emilkarl]
OTORelic has joined #ruby
devon21 has quit [Quit: devon21]
devon21 has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 245 seconds]
maleghast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
saslam has quit [Read error: Connection reset by peer]
saslam has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
csk157 has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
last_staff has quit [Quit: last_staff]
aganov has quit [Remote host closed the connection]
Shashikant86 has joined #ruby
patarr has joined #ruby
maleghast has joined #ruby
tvw has quit [Remote host closed the connection]
tvw has joined #ruby
bjh13 has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
Mia has joined #ruby
milardovich has joined #ruby
jhack has joined #ruby
AndrewIsHere has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
McSoFake has joined #ruby
milardovich has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
blaxter has quit [Quit: foo]
Mia has joined #ruby
saslam_ has joined #ruby
shinnya has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
saslam has quit [Ping timeout: 255 seconds]
teclator has joined #ruby
<ljarvis> howdy
jhack has quit [Quit: jhack]
jhack has joined #ruby
bkxd has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
saslam_ has quit [Ping timeout: 248 seconds]
kassav_ has quit [Ping timeout: 260 seconds]
tvw has quit []
tvw has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
<scootaloo> hi ljarvis
aufi has quit [Ping timeout: 258 seconds]
Mia has quit [Ping timeout: 258 seconds]
lanc has joined #ruby
devon21 has quit [Quit: devon21]
bkxd has quit [Ping timeout: 248 seconds]
Mia has joined #ruby
atcagn has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 255 seconds]
Axy has quit [Ping timeout: 248 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
<alveric1> Does anyone make use of FXRuby or any other GUI toolkit?
ocbtec has quit [Ping timeout: 255 seconds]
jackjackdripper has joined #ruby
skarlso has quit [Quit: Leaving...]
tvw has quit [Read error: Connection reset by peer]
synthroid has quit [Remote host closed the connection]
xen0fon has quit [Ping timeout: 255 seconds]
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danguita has quit [Remote host closed the connection]
cgibsonmm has joined #ruby
blackmesa has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
tlaxkit has joined #ruby
amclain has joined #ruby
Anonymoose2 has joined #ruby
jokester has quit [Quit: WeeChat 1.5]
lanc has quit [Ping timeout: 240 seconds]
reverberations has quit [Ping timeout: 245 seconds]
devon21 has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
harai has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
Shashikant86 has quit [Ping timeout: 245 seconds]
cgibsonmm has joined #ruby
cgibsonmm has quit [Remote host closed the connection]
marchelzo has joined #ruby
nowhere_man has joined #ruby
<marchelzo> hi how are you all doing? <3
ocbtec has joined #ruby
ocbtec has quit [Client Quit]
devon21 has quit [Quit: devon21]
devon21 has joined #ruby
akahn has quit [Quit: Connection closed for inactivity]
jhack_ has joined #ruby
[Butch] has joined #ruby
jhack has quit [Ping timeout: 260 seconds]
jhack_ is now known as jhack
tildes has joined #ruby
nowhere_man has quit [Remote host closed the connection]
boombox_ has joined #ruby
TomyLobo has joined #ruby
Definity has joined #ruby
Kug3lis_off is now known as Kug3lis
gnufied has quit [Ping timeout: 255 seconds]
xall has joined #ruby
Puffball has quit [Remote host closed the connection]
Kug3lis has quit [Quit: Textual IRC Client: www.textualapp.com]
boombox_ has quit [Remote host closed the connection]
Puffball has joined #ruby
Puffball has quit [Remote host closed the connection]
teclator has quit [Remote host closed the connection]
Shashikant86 has joined #ruby
Shashikant86 has quit [Read error: Connection reset by peer]
agent_white has quit [Ping timeout: 256 seconds]
cgibsonmm has joined #ruby
Puffball has joined #ruby
agent_white has joined #ruby
milardovich has joined #ruby
conta has quit [Ping timeout: 260 seconds]
gusrub has joined #ruby
lenwood has joined #ruby
ramfjord has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
gnufied has joined #ruby
ianmethyst has joined #ruby
bkxd has joined #ruby
tdump has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
danguita has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
milardovich has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 255 seconds]
dionysus70 has joined #ruby
aupadhye has quit [Quit: Leaving]
milardovich has joined #ruby
lenwood has quit [Quit: Konversation terminated!]
lenwood has joined #ruby
dionysus69 has quit [Ping timeout: 255 seconds]
dionysus70 is now known as dionysus69
senayar has quit []
nowhere_man has joined #ruby
nowhere_man has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
jrafanie has joined #ruby
nowhere_man has joined #ruby
Snickers has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
lenwood has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
xall has quit [Ping timeout: 258 seconds]
JeanCarloMachado has quit [Ping timeout: 258 seconds]
JeanCarloMachado has joined #ruby
cdg has quit [Remote host closed the connection]
Snickers has quit [Ping timeout: 260 seconds]
tlaxkit has quit [Quit: tlaxkit]
devon21 has quit [Quit: devon21]
afterburned6387 has joined #ruby
xall has joined #ruby
cdg has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
devon21 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
UnknownSoldier has joined #ruby
JeanCarloMachado has quit [Ping timeout: 248 seconds]
xall has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 255 seconds]
cdg has quit [Ping timeout: 255 seconds]
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
msmith has quit []
jhack has quit [Quit: jhack]
Evesy has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
Evesy has joined #ruby
gusrub has joined #ruby
Evesy has quit [Client Quit]
cyberik has quit [Ping timeout: 260 seconds]
maleghast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tercenya has quit [Remote host closed the connection]
cgibsonmm has quit [Remote host closed the connection]
tercenya has joined #ruby
brent__ has joined #ruby
markholmes has joined #ruby
tdump has joined #ruby
gusrub has quit [Ping timeout: 240 seconds]
Fernando-Basso has quit [Quit: WeeChat 1.5]
maleghast has joined #ruby
Evesy has joined #ruby
anisha_ has joined #ruby
flying has quit []
nankyokusei has joined #ruby
markholmes has quit [Remote host closed the connection]
tuelz has quit [Ping timeout: 264 seconds]
markholmes has joined #ruby
danguita has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
ryan_notabot has joined #ruby
ryan_notabot has quit [Read error: Connection reset by peer]
Hobbyboy has quit [Ping timeout: 252 seconds]
xall has joined #ruby
benlieb has joined #ruby
feal has quit [Read error: Connection reset by peer]
ryan_notabot has joined #ruby
JeanCarloMachado has joined #ruby
boombox_ has joined #ruby
maleghast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dopamean_ has quit [Quit: brb]
sepp2k has joined #ruby
brent__ has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
renchan has quit [Quit: Leaving...]
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
last_staff has joined #ruby
nowhere_man has quit [Remote host closed the connection]
duderonomy has joined #ruby
nowhere_man has joined #ruby
maleghast has joined #ruby
marchelzo has quit [Quit: WeeChat 1.4]
whathappens has joined #ruby
boombox_ has quit [Remote host closed the connection]
gusrub has quit [Ping timeout: 245 seconds]
tdump has quit [Quit: Leaving...]
nowhere_man has quit [Remote host closed the connection]
marxarelli has joined #ruby
<benlieb> can someone help me understand why this method is not behaving as documented, and returns 0 instead of true. I think this might be a ruby version issue?
<benlieb> env['HTTP_X_REQUESTED_WITH'] =~ /XMLHttpRequest/ => 0
nowhere_man has joined #ruby
<baweaver> >> 'XMLHttpRequest' =~ /XMLHttpRequest/
<ruby[bot]> baweaver: # => 0 (https://eval.in/728577)
<baweaver> >> 'hahahahaha' =~ /XMLHttpRequest/
<ruby[bot]> baweaver: # => nil (https://eval.in/728578)
<baweaver> ^
<baweaver> seems expected to me
<baweaver> Also warn people when you cross post
grh has joined #ruby
govg has joined #ruby
<benlieb> the docs say it returns true when true
<benlieb> this doesn’t seem expected
<havenwood> benlieb: It returns truthy rather than true. There was a bit of a kerfuffle with people complaining about Rails predicate methods not being only `true` or `false` a while ago and some implementations were changed to not always be true or false, since it is the Ruby way.
<baweaver> >> !!0
<ruby[bot]> baweaver: # => true (https://eval.in/728579)
<baweaver> >> !!nil
<ruby[bot]> baweaver: # => false (https://eval.in/728580)
<baweaver> ^
<havenwood> >> 42.nonzero?
<ruby[bot]> havenwood: # => 42 (https://eval.in/728581)
<havenwood> benlieb: I suspect this is one of those cases, and the docs didn't get updated.
<benlieb> I guess my question was more why the docs say it should return true and it doesn’t. I was wondering if something was wrong on my end
<benlieb> but I think the docs are just wrong
<baweaver> >> 'haystackneedlehaystack' =~ /needle/
<ruby[bot]> baweaver: # => 8 (https://eval.in/728583)
<benlieb> wrongish
<baweaver> it returns the integer position of the match
<havenwood> benlieb: Docs are wrong, it's indeed truthy but not true.
mikecmpbll has joined #ruby
<baweaver> Didn't API Dock have a bad rep?
<benlieb> I was wondering if this behavior was different in different ruby versions, so that’s why I asked here
<benlieb> (yes I cross-posted)
tuelz has joined #ruby
<benlieb> baweaver: I find it helpful to compare rails version apis
lenwood has joined #ruby
<benlieb> baweaver: but I doubt they wrote that doc, probably wrong in the rails docs
jhack has joined #ruby
hahuang61 has joined #ruby
<apeiros> &ri String#=~
Psybur has joined #ruby
psychicist__ has quit [Ping timeout: 276 seconds]
<apeiros> "returns the position"
<Psybur> Anybody know of a parser/grammar to parse ruby/erb files into a tree?
<Psybur> I dont think the antlr4 version has erb
<apeiros> no, the docs ain't wrong
xen0fon has joined #ruby
<apeiros> somebody either read the wrong docs or…
<havenwood> apeiros: Just the Rails docs
<apeiros> why'd rails docs cover String#=~?
psychicist__ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
<apeiros> aaaha
antgel has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<apeiros> yupp. incorrect docs.
<apeiros> truthy != true
<baweaver> there
<baweaver> done
<havenwood> Ship it!
banisterfiend has quit [Quit: Textual IRC Client: www.textualapp.com]
* baweaver hits red button
<baweaver> If it's trivial I just change it and throw it out there.
<apeiros> ^ hits the red button
jdawgaz has joined #ruby
<benlieb> baweaver: nice!
<benlieb> I should start do that
bkxd has joined #ruby
nowhereman has joined #ruby
Devalo has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
synthroid has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
Devalo has quit [Ping timeout: 276 seconds]
milardovich has joined #ruby
nowhereman has quit [Ping timeout: 245 seconds]
despai has quit [Quit: This computer has gone to sleep]
renchan has joined #ruby
marr has joined #ruby
brent__ has joined #ruby
milardovich has quit [Ping timeout: 255 seconds]
elaptics has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
brent__ has quit [Remote host closed the connection]
dopamean_ has joined #ruby
sepp2k has quit [Quit: Leaving.]
Hobbyboy has joined #ruby
chouhoulis has joined #ruby
BackEndCoder has quit [Excess Flood]
tuelz has quit [Ping timeout: 240 seconds]
mrfooo has quit [Quit: Connection closed for inactivity]
BackEndCoder has joined #ruby
jessiepuls has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta has joined #ruby
redhedded1 has joined #ruby
jessiepuls has joined #ruby
Puffball has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 255 seconds]
lenwood has quit [Quit: Konversation terminated!]
lenwood has joined #ruby
Puffball has joined #ruby
ryan_notabot has quit [Ping timeout: 248 seconds]
ryan_notabot has joined #ruby
raul782_ has joined #ruby
papachan has joined #ruby
nowhereman has joined #ruby
tercenya has quit [Remote host closed the connection]
raul782_ has quit [Read error: Connection reset by peer]
raul782 has quit [Ping timeout: 240 seconds]
tercenya has joined #ruby
raul782 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
maleghast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
despai has joined #ruby
lanc has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Devalo has joined #ruby
rgiscard has joined #ruby
xall_ has joined #ruby
redhedded1 has quit [Quit: Textual IRC Client: www.textualapp.com]
xall has quit [Ping timeout: 240 seconds]
raul782 has quit [Remote host closed the connection]
nowhereman has quit [Quit: Konversation terminated!]
nowhereman has joined #ruby
raul782 has joined #ruby
Psybur has quit [Ping timeout: 260 seconds]
raul782_ has joined #ruby
tuelz has joined #ruby
byte512 has joined #ruby
anisha_ has quit [Quit: This computer has gone to sleep]
montanonic has joined #ruby
raul782 has quit [Ping timeout: 240 seconds]
pilne has joined #ruby
brent__ has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
tolerablyjake has joined #ruby
ur5us has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
bocaneri has quit [Remote host closed the connection]
matcouto has joined #ruby
chrisco has joined #ruby
sepp2k has joined #ruby
shwouchk has quit [Quit: Connection closed for inactivity]
chrisco has quit [Client Quit]
despai has quit [Quit: This computer has gone to sleep]
bmurt has joined #ruby
cdg_ has joined #ruby
chouhoul_ has joined #ruby
Pumukel has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
byte512 has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
ur5us has quit [Remote host closed the connection]
xen0fon has quit [Ping timeout: 276 seconds]
brent__ has quit [Remote host closed the connection]
lenwood has quit [Ping timeout: 255 seconds]
cdg__ has joined #ruby
cdg_ has quit [Ping timeout: 255 seconds]
lenwood has joined #ruby
bkxd has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
stamina has quit [Ping timeout: 248 seconds]
ramfjord has joined #ruby
aglorei has joined #ruby
emilkarl has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
OTORelic has quit [Ping timeout: 240 seconds]
emilkarl has quit [Client Quit]
aglorei has quit [Quit: WeeChat 1.4]
jackjackdripper has joined #ruby
aglorei has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
wilbert has joined #ruby
tomphp has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
despai has joined #ruby
papachan has left #ruby ["Saliendo"]
tomphp has quit [Client Quit]
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Ping timeout: 240 seconds]
matcouto has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
totimkopf has joined #ruby
Puffball has quit [Remote host closed the connection]
gusrub has joined #ruby
lanc has quit [Quit: lanc]
Macaveli has joined #ruby
Macaveli has quit [Max SendQ exceeded]
matcouto has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
matcouto has quit [Client Quit]
chouhoul_ has quit [Remote host closed the connection]
Puffball has joined #ruby
chouhoulis has joined #ruby
ur5us has joined #ruby
tildes has quit [Ping timeout: 240 seconds]
andremaha has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
andremaha has quit [Client Quit]
despai has quit [Quit: This computer has gone to sleep]
mholmes has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
banisterfiend has joined #ruby
marxarelli is now known as marxarelli|afk
jackjackdripper has joined #ruby
tyang_ has joined #ruby
Pumukel has joined #ruby
hahuang61 has quit [Ping timeout: 255 seconds]
Macaveli has joined #ruby
markholmes has quit [Ping timeout: 255 seconds]
nadir has quit [Quit: Connection closed for inactivity]
xen0fon has joined #ruby
lenwood has quit [Ping timeout: 258 seconds]
tyang has quit [Ping timeout: 256 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 240 seconds]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
Puffball has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
pancakebreakfast has joined #ruby
hahuang65 has joined #ruby
lenwood has joined #ruby
gusrub has quit [Remote host closed the connection]
Puffball has joined #ruby
marxarelli|afk is now known as marxarelli
msmith has joined #ruby
nadir has joined #ruby
psychicist__ has quit [Ping timeout: 264 seconds]
Cohedrin_ has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
brent__ has joined #ruby
brent__ has quit [Remote host closed the connection]
aglorei has quit [Quit: WeeChat 1.4]
aglorei has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
cdg_ has joined #ruby
aglorei has quit [Client Quit]
aglorei has joined #ruby
pancakebreakfast has quit [Read error: Connection reset by peer]
blackmesa has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
cdg__ has quit [Ping timeout: 255 seconds]
pancakebreakfast has joined #ruby
tolerablyjake has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryan_notabot has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
ifctj has joined #ruby
vj4 has quit [Ping timeout: 240 seconds]
Macaveli_ has joined #ruby
aglorei has quit [Quit: WeeChat 1.4]
nobitanobi has quit [Ping timeout: 245 seconds]
Macaveli_ has quit [Client Quit]
aglorei has joined #ruby
tyang__ has joined #ruby
Macaveli has quit [Ping timeout: 240 seconds]
ldnunes has quit [Quit: Leaving]
Puffball has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
Sammichmaker has joined #ruby
tyang_ has quit [Ping timeout: 255 seconds]
blackbombay has joined #ruby
Puffball has joined #ruby
wilbert has quit [Ping timeout: 255 seconds]
AndrewIsHere has quit []
pancakebreakfast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
matp_ has quit [Remote host closed the connection]
Puffball has quit [Remote host closed the connection]
matp has joined #ruby
despai has joined #ruby
McSoFake has quit [Quit: WeeChat 1.7]
Puffball has joined #ruby
bkxd has joined #ruby
tyang__ has quit [Quit: Leaving]
tyang has joined #ruby
pancakebreakfast has joined #ruby
montanonic has quit [Ping timeout: 256 seconds]
chouhoul_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
despai has quit [Quit: This computer has gone to sleep]
chouhou__ has joined #ruby
milardovich has joined #ruby
wilbert has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
Puffball has quit [Remote host closed the connection]
mholmes has quit [Ping timeout: 264 seconds]
scootaloo has joined #ruby
chouhoul_ has quit [Ping timeout: 240 seconds]
whathappens has quit [Remote host closed the connection]
Mia has quit [Ping timeout: 240 seconds]
icey has quit [Remote host closed the connection]
tolerablyjake has joined #ruby
whathappens has joined #ruby
yqt has joined #ruby
Puffball has joined #ruby
milardovich has quit [Ping timeout: 248 seconds]
ryan_notabot has joined #ruby
feal has joined #ruby
icey has joined #ruby
icey has quit [Changing host]
icey has joined #ruby
icey has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 240 seconds]
whathappens has quit [Ping timeout: 248 seconds]
enterprisey has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
frozengeek___ has quit [Quit: frozengeek___]
frozengeek___ has joined #ruby
alex-s-77 has quit [Quit: Connection closed for inactivity]
dnewkerk has joined #ruby
ltp has joined #ruby
gloscombe has joined #ruby
matcouto has joined #ruby
skweek has joined #ruby
montanonic has joined #ruby
gusrub has joined #ruby
despai has joined #ruby
nofxx has joined #ruby
wsk has joined #ruby
rileyy has joined #ruby
jaruga_____ has quit [Quit: jaruga_____]
gusrub has quit [Remote host closed the connection]
ineb_ has quit [Quit: leaving]
gusrub has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
icey has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gusrub has quit [Remote host closed the connection]
yonatankoren has quit [Ping timeout: 245 seconds]
saslam has joined #ruby
brent__ has joined #ruby
yonatankoren has joined #ruby
nofxx has quit [Ping timeout: 255 seconds]
SeepingN has joined #ruby
brent__ has quit [Ping timeout: 252 seconds]
jshjsh has joined #ruby
chouhoulis has joined #ruby
jdawgaz has joined #ruby
chouhou__ has quit [Ping timeout: 256 seconds]
ifctj has quit [Ping timeout: 248 seconds]
JoshS has quit [Ping timeout: 248 seconds]
jhack has quit [Quit: jhack]
gusrub has joined #ruby
lanc has joined #ruby
szulak has joined #ruby
lanc_ has joined #ruby
NightMonkey has joined #ruby
lanc has quit [Ping timeout: 240 seconds]
lanc_ is now known as lanc
rwb has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
grh has quit [Ping timeout: 240 seconds]
skweek has quit [Ping timeout: 255 seconds]
last_staff has quit [Quit: last_staff]
ddrj has joined #ruby
ianmethyst has quit [Quit: WeeChat 1.7]
fealscience has joined #ruby
npgm has joined #ruby
lenwood has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
govg has quit [Ping timeout: 260 seconds]
feal has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
xall_ has quit [Ping timeout: 258 seconds]
GarouDan has joined #ruby
whathappens has joined #ruby
GarouDan has quit [Client Quit]
GarouDan has joined #ruby
benlieb has quit [Quit: benlieb]
GarouDan has quit [Client Quit]
harai has quit [Ping timeout: 258 seconds]
harai has joined #ruby
despai has joined #ruby
govg has joined #ruby
workmad3 has joined #ruby
Pumukel has joined #ruby
Pumukel has quit [Remote host closed the connection]
Pumukel has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
raul782_ has quit [Remote host closed the connection]
raul782 has joined #ruby
xen0fon has quit [Quit: xen0fon]
synthroid has quit []
govg has quit [Ping timeout: 245 seconds]
jdawgaz has quit [Ping timeout: 255 seconds]
frozengeek__ has joined #ruby
frozengeek___ has quit [Ping timeout: 255 seconds]
GarouDan has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
lenwood has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
gusrub has quit [Remote host closed the connection]
tomphp has joined #ruby
lanc has quit [Quit: lanc]
jenrzzz has joined #ruby
lanc has joined #ruby
lxsameer has quit [Quit: WeeChat 1.6]
mniip has joined #ruby
GarouDan has quit [Quit: Konversation terminated!]
GarouDan has joined #ruby
nankyokusei has joined #ruby
benlieb has joined #ruby
tildes has joined #ruby
jshjsh has quit [Ping timeout: 248 seconds]
markholmes has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mia has joined #ruby
GarouDan has quit [Client Quit]
GarouDan has joined #ruby
jenrzzz_ has joined #ruby
skweek has joined #ruby
Axy has quit [Ping timeout: 256 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
enterprisey has quit [Quit: Leaving]
lanc has quit [Ping timeout: 255 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
griffindy has joined #ruby
[reed] has quit [Ping timeout: 240 seconds]
lenwood has quit [Ping timeout: 255 seconds]
OTORelic has joined #ruby
swills_ has joined #ruby
rwb has joined #ruby
swills has quit [Ping timeout: 276 seconds]
redhedded1 has joined #ruby
[reed] has joined #ruby
[reed] has joined #ruby
[reed] has quit [Changing host]
chouhoulis has quit [Remote host closed the connection]
biberu has quit []
chouhoulis has joined #ruby
beatdown has joined #ruby
Jackneill_ has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 260 seconds]
OMSQ has quit [Quit: Textual IRC Client: www.textualapp.com]
renchan has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 276 seconds]
swills_ has quit [Ping timeout: 240 seconds]
swills_ has joined #ruby
Xentil has joined #ruby
gigetoo has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
msmith has quit [Remote host closed the connection]
mitt3ns has quit [Ping timeout: 255 seconds]
tomphp has joined #ruby
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
mitt3ns has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
gigetoo has quit [Ping timeout: 276 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AndrewIsHere has joined #ruby
bkxd has joined #ruby
ramortegui has quit [Remote host closed the connection]
millerti has joined #ruby
tdump has joined #ruby
<tdump> hello. could someone take a look at this gist for me? https://git.io/vDYxb
govg has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
gigetoo has joined #ruby
milardovich has joined #ruby
fealy has joined #ruby
NightMonkey has quit [Quit: ZNC - http://znc.in]
<tdump> I'm getting an error that I left in the comments section. I don't understand why something is being considered nil. I thought that I had initialized everything, and that by converting a range to an array the values would be integers. Any help would be appreciated.
KnownSyntax has quit [Remote host closed the connection]
<apeiros> tdump: [].reduce(:+) results in what?
snguyen has joined #ruby
nahra has quit [Ping timeout: 255 seconds]
snguyen has quit [Client Quit]
<havenwood> apeiros: beat me to it, was about to ruby[bot] that line :-)
Guest78675 has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
fealscience has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
<tdump> apeiros: huh? okay. let me look over that again. Thanks for the hint.
<tdump> havenwood: you too haven
<havenwood> [].sum #=> 0 # Ruby 2.4.0 for the win!
despai has joined #ruby
<baweaver> &ri Enumerable#reduce
<baweaver> notice initial value
milardovich has quit [Ping timeout: 245 seconds]
<baweaver> >> [].reduce(:+)
<ruby[bot]> baweaver: # => nil (https://eval.in/728685)
<baweaver> >> [].reduce(0, :+)
<ruby[bot]> baweaver: # => 0 (https://eval.in/728686)
Puffball has quit [Remote host closed the connection]
<baweaver> >> [1,2,3].reduce(0, :+)
<ruby[bot]> baweaver: # => 6 (https://eval.in/728687)
despai has quit [Client Quit]
Guest75340 has joined #ruby
govg has quit [Ping timeout: 255 seconds]
malconis_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swills__ has joined #ruby
swills_ has quit [Ping timeout: 255 seconds]
tildes has quit [Ping timeout: 240 seconds]
nowhereman has quit [Quit: Konversation terminated!]
<tdump> god I hate project euler
gigetoo has joined #ruby
nowhereman has joined #ruby
<tdump> i just have to keep looking up math concepts I'm not interested in rather than programming conecpts
<tdump> :-(
fealy has quit [Quit: Leaving]
polishdub has quit [Quit: Leaving]
<baweaver> That _is_ rather the point of Euler
<baweaver> Project Rosalind is Bioinformatic. Kaggle is Data Science. Codewars is generic.
OTORelic has quit [Ping timeout: 258 seconds]
mholmes has joined #ruby
maddmaxx has joined #ruby
<tdump> baweaver: I appreciate that info. I guess I was just venting. I don't have any interest in euler, but I need to do it to be considered for admission into a coding bootcamp I want to go to. It's a webdev bootcamp. I don't really see how the euler stuff is applicable. I'm guessing it was chosen to weed people out.
AndrewIsHere has quit []
gigetoo has quit [Ping timeout: 256 seconds]
markholmes has quit [Ping timeout: 240 seconds]
Puffball has joined #ruby
charliesome has joined #ruby
xen0fon has joined #ruby
despai has joined #ruby
<baweaver> Then I suppose you'd better get good with math then or find another bootcamp with less requirements
quick has joined #ruby
wilbert has quit [Ping timeout: 240 seconds]
<tdump> baweaver: I'm trying. I'm about 2/3 of the way done.
gigetoo has joined #ruby
quick has quit [Ping timeout: 252 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Azure has joined #ruby
blackbombay has quit [Ping timeout: 260 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
despai has quit [Quit: This computer has gone to sleep]
davezd has quit [Quit: Leaving]
saslam has quit [Ping timeout: 256 seconds]
maddmaxx has quit [Remote host closed the connection]
raul782 has quit [Remote host closed the connection]
swills__ is now known as swills
raul782 has joined #ruby
Azure has quit [Client Quit]
raul782_ has joined #ruby
<tuelz> )
gusrub has joined #ruby
<tuelz> having trouble updating a relationship using AR magic `Model.update_all(foreign_key: @ivar)` doesn't work but Model.update_all(fk: @ivar.id) does work
<tuelz> s/fk/fk_id/
raul782 has quit [Ping timeout: 240 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<workmad3> tuelz: update_all doesn't get a lot of the AR magic... it's closer to raw SQL, so you kinda need to use the second variant
JoshS has joined #ruby
ryan_notabot has quit [Ping timeout: 240 seconds]
raul782_ has quit [Ping timeout: 255 seconds]
despai has joined #ruby
harai has quit [Ping timeout: 258 seconds]
gigetoo has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
gigetoo has quit [Ping timeout: 245 seconds]
Azure has joined #ruby
AnoHito has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 264 seconds]
nahra has joined #ruby
zeroDi has joined #ruby
matp has quit [Remote host closed the connection]
gigetoo has joined #ruby
matp has joined #ruby
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
msmith has joined #ruby
youch has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
tolerabl_ has joined #ruby
tolerabl_ has quit [Client Quit]
tolerabl_ has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
tolerablyjake has quit [Ping timeout: 255 seconds]
jshjsh has joined #ruby
afterburned6387 has quit []
tdump has quit [Remote host closed the connection]
despai has quit [Quit: This computer has gone to sleep]
gigetoo has joined #ruby
JoshS has quit [Ping timeout: 245 seconds]
wsk has quit [Quit: Leaving]
benlieb has quit [Quit: benlieb]
benlieb has joined #ruby
tolerabl_ has quit [Quit: Textual IRC Client: www.textualapp.com]
tolerablyjake has joined #ruby
tdump has joined #ruby
tectonic has joined #ruby
gigetoo has quit [Ping timeout: 264 seconds]
pancakebreakfast has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 258 seconds]
tolerablyjake has quit [Client Quit]
tolerablyjake has joined #ruby
agent_white has quit [Quit: bbl]
naprimer_3 has joined #ruby
tyang has quit [Ping timeout: 256 seconds]
naprimer_2 has quit [Ping timeout: 245 seconds]
nahra has quit [Read error: Connection reset by peer]
gusrub has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 255 seconds]