hightower2 has quit [Remote host closed the connection]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 244 seconds]
abraham has joined #ruby
abraham has left #ruby [#ruby]
jpn has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
rvalue has quit [Remote host closed the connection]
rvalue has joined #ruby
jpn has joined #ruby
mitt3ns has joined #ruby
mitt3ns has quit [Changing host]
mitt3ns has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
jpn has quit [Ping timeout: 255 seconds]
jpn has joined #ruby
hightower2 has joined #ruby
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ruby
Ziyan has quit [Ping timeout: 256 seconds]
Ziyan has joined #ruby
bit4bit has joined #ruby
jwr has joined #ruby
<jwr>
i made some changes to my config/database.yml in a rails app and now i'm seeing this error/warning: https://pastebin.com/raw/pZmVLYLm. How can I know what this is complaining about? Weird yaml indention? Duplicate keys?
dionysus69 has quit [Ping timeout: 256 seconds]
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
eddof13 has joined #ruby
Ziyan has joined #ruby
dionysus69 has quit [Client Quit]
dionysus69 has joined #ruby
hightower2 has quit [Ping timeout: 252 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
John_Ivan_ has joined #ruby
hightower2 has joined #ruby
eddof13 has joined #ruby
cocalero has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bit4bit has quit [Ping timeout: 252 seconds]
CrazyEddy has quit [Ping timeout: 255 seconds]
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Ziyan has joined #ruby
bit4bit has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
Ziyan has quit [Ping timeout: 255 seconds]
Ziyan has joined #ruby
dionysus69 has joined #ruby
mitt3ns has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Client Quit]
dionysus69 has joined #ruby
polishdub has quit [Ping timeout: 252 seconds]
jpn has quit [Ping timeout: 244 seconds]
polishdub has joined #ruby
dionysus69 has quit [Quit: dionysus69]
dionysus69 has joined #ruby
bit4bit has quit [Ping timeout: 248 seconds]
desnudopenguino has joined #ruby
jpn has joined #ruby
ur5us has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
szkl has quit [Quit: Connection closed for inactivity]
<hightower2>
Hey if I have `class X @@x = 1 end`, how do I made that class-level X.x available to the outside? I thought it was class_reader :x but no.
dionysus69 has joined #ruby
<hightower2>
ah yes I remember, I think I need to make a def self.x() for that right?
<adam12>
hightower2: Yes. But it's important to know that @x in a class and @@x in a class are different, and the @@ version can act unexpectedly.
<adam12>
`class_reader` sounds like a Rails-ism.
<adam12>
hightower2: @@ being a class variable, and @ being a class _instance_ variable.
<adam12>
IMHO, avoid @@.
<newton>
what are you trying to achieve hightower2
<hightower2>
I know what I'm doing, no worries.
<newton>
cattr_reader is probably what you're thinking of wrt class_reader
<hightower2>
(I asked just because I was out of Ruby for a couple years). Thanks
<newton>
(which is a rails thing)
Linux_Kerio has quit [Ping timeout: 248 seconds]
justache is now known as justache_
justache_ is now known as justache
Ziyan has quit [Read error: Connection reset by peer]