akem has quit [Read error: Connection reset by peer]
^amra has quit [Quit: ^amra]
code_zombie has quit [Quit: Leaving]
galaxie has quit [Ping timeout: 240 seconds]
galaxie has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.8]
ur5us has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
ur5us has joined #ruby
sergioro has quit [Quit: leaving]
sergioro has joined #ruby
d3bug has quit [Quit: Connection closed for inactivity]
gix has quit [Ping timeout: 240 seconds]
cthulchu_ has quit [Ping timeout: 250 seconds]
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
cisco has quit [Ping timeout: 240 seconds]
cisco has joined #ruby
roadie has joined #ruby
Esa__ has quit []
roadie has quit [Ping timeout: 258 seconds]
tpanarch1st has quit [Ping timeout: 258 seconds]
dhollinger has quit [Ping timeout: 265 seconds]
dhollinger has joined #ruby
roadie has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zapata has quit [Ping timeout: 265 seconds]
roadie has quit [Ping timeout: 260 seconds]
zapata has joined #ruby
gitter1234 has quit [Quit: Connection closed for inactivity]
cnsvc has quit [Remote host closed the connection]
cnsvc has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
d3bug has joined #ruby
cnsvc has quit [Remote host closed the connection]
cnsvc_ has joined #ruby
ChmEarl has quit [Quit: Leaving]
MrCrackPot has joined #ruby
Tempesta has quit [Quit: See ya!]
Tempesta has joined #ruby
kinduff has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
MrCrackPot has quit [Quit: Leaving]
zacts has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
dinfuehr has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
cnsvc_ has quit [Quit: WeeChat 2.8]
cnsvc has joined #ruby
Technodrome has quit [Ping timeout: 265 seconds]
roadie has joined #ruby
miskatonic has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
roadie has quit [Ping timeout: 240 seconds]
extrowerk has quit [Ping timeout: 268 seconds]
roadie has joined #ruby
ledhed2222 has joined #ruby
<ledhed2222>
hodwy i’ve written my rifst gem!
<ledhed2222>
*first gem
<havenwood>
ledhed2222: cograts!
extrowerk has joined #ruby
<ledhed2222>
but i’m having trouble getting my yard docs onto rubygems.org. how do i do so?
<ledhed2222>
thanks havenwood! it was a milestone :)
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<havenwood>
ledhed2222: I'd expect yard docs to *just work*. What's your gem name?
<ledhed2222>
xpring
<ledhed2222>
check the source if you want - it definitely has ri and yard docs correctly set up AFAICT
anohigisavay has joined #ruby
<ledhed2222>
if you have any ideas i’d love to hear ‘em!
<anohigisavay>
hi! i am not a serious ruby learner, but i do want to know if it is possible to access the instance variable from a method argument, given that the argument is of the same type as 'self'
<phaul>
anohigisavay: protected methods can be called with receivers same type as self
<ledhed2222>
@anohigsavay can you give an example please? i think i can help you
<ledhed2222>
but also still would love help on my gem docs :)
<anohigisavay>
phaul: yes that is the approach taken in the course.
zacts has quit [Quit: WeeChat 2.8]
<anohigisavay>
for example, i have a Rational class, and i want to define a '+' method which takes 'other' as an argument
<phaul>
ledhed2222: I published the yard docs on https://rubydoc.info/ and rubygems just links there
<ledhed2222>
but why doesn’t ruby-gems show a link to the RI docs?
<phaul>
ledhed2222: idk
<ledhed2222>
lol
<ledhed2222>
me neither
<ledhed2222>
ok at least i’m not the only one
<phaul>
have you seen a project with yard docs, that has the docs on rubygems.org?
<havenwood>
I swear rubygems.org normally just automatically links to documentation. Unsure what triggers it.
<havenwood>
phaul: ah, I misunderstood what you were saying
<phaul>
ledhed2222: just register the project on rubydoc.info, and maybe rubygems.org links aoutomatically or you set up the link manually I can't remember.
<havenwood>
I think it's automatic. At least I've seen it appear without remembering having done anything.
vondruch has joined #ruby
hhzza has joined #ruby
<phaul>
yeah me neither
<phaul>
I meanI can't remember having done anything either
<ledhed2222>
so…fuck
<ledhed2222>
why do i do about thi docs?
<phaul>
ledhed2222: I said what to do. go to dubydoc.info, set up you project there. The link will be on rubygems
<s2013>
i have a YAML file that i need to grab the keys and the value for
<s2013>
i have it so i can grab the final key and the value
<s2013>
but how can i grab the preceding keys
<s2013>
cause its nested
<havenwood>
s2013: I don't get why you can't just deserialize the YAML with Psych and use the nested keys and values however you'd like? Show the code you have?
reber has quit [Read error: Connection reset by peer]
ritalinona has joined #ruby
GodFather has joined #ruby
drincruz_ is now known as drincruz
sphex has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
sphex has joined #ruby
ChmEarl has joined #ruby
fercell has joined #ruby
Emmanuel_Chanel has joined #ruby
TCZ has quit [Quit: Leaving]
chalkmonster has quit [Quit: WeeChat 2.8]
Hien has quit [Ping timeout: 272 seconds]
Hien has joined #ruby
brool has joined #ruby
hhzza has quit [Quit: Connection closed for inactivity]
miskatonic has joined #ruby
zacts has joined #ruby
zapata has joined #ruby
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
vdl has joined #ruby
roadie has quit [Quit: ERC (IRC client for Emacs 25.3.50.1)]
MadLamb has joined #ruby
<MadLamb>
I have a rails haml template with a "unless signed_in?" condition. I get an error "undefined method `signed_in?' for #<#<Class:0x007ff7386c8090>:0x007ff739f8a290>". I tried to define a method with that name but no matter what, I keep getting the same error. Can anyone give me a hint of what might be wrong?
<brool>
where is the signed_in helper defined?
<havenwood>
brool: From the command line, try: ri signed_in?
<havenwood>
brool: I mean: ri signed_in
<havenwood>
Or the latter
<havenwood>
You said it both ways, I guess
<brool>
whoah
<havenwood>
brool: :)
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
<havenwood>
brool: Or if you binding.pry or binding.irb, you can: method(:signed_in?).source_location
roadie has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
cliluw has quit [Max SendQ exceeded]
cliluw has joined #ruby
rippa has joined #ruby
sergioro has joined #ruby
cliluw has quit [Ping timeout: 256 seconds]
<MadLamb>
havenwood, its fair to expect the method is not defined
<MadLamb>
brool, I tried defining in the controller that renders that view and in the application controller
<brool>
MadLamb: try defining it in app/helpers/[controller-name]_helper.rb
<MadLamb>
brool, works
<MadLamb>
thanks :D
<brool>
yeet
<MadLamb>
didnt know the helper thing
miskatonic has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
dinfuehr has quit [Ping timeout: 256 seconds]
ellcs has joined #ruby
ellcs has quit [Max SendQ exceeded]
dinfuehr has joined #ruby
ellcs has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
dinfuehr has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
xco has joined #ruby
howdoi has joined #ruby
dinfuehr has joined #ruby
rmnull has quit [Ping timeout: 265 seconds]
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rmnull has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
roadie has quit [Ping timeout: 260 seconds]
d3bug has joined #ruby
cthulchu_ has joined #ruby
dinfuehr has quit [Ping timeout: 264 seconds]
rmnull has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
zacts has quit [Quit: WeeChat 2.8]
rmnull has joined #ruby
roadie has joined #ruby
conta has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
SeepingN has joined #ruby
dinfuehr has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 260 seconds]
dinfuehr has joined #ruby
SeepingN has joined #ruby
conta has quit [Quit: conta]
cisco has quit [Ping timeout: 260 seconds]
fercell has quit [Quit: WeeChat 2.7.1]
kristian_on_linu has joined #ruby
wimpog has joined #ruby
<wimpog>
Hi. How do I upgrade from bundler v1.17.3 to v2.1.4? What do I have to do prior to the upgrade? Is there a reason not to to upgrade to v2.1.4?
<wimpog>
I am on Ruby 2.6.3, Rails 6.0.22
Rudd0 has quit [Read error: Connection reset by peer]
xco has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sauvin has quit [Read error: Connection reset by peer]
MadLamb has quit [Remote host closed the connection]
Rudd0 has joined #ruby
vlouvet has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
ikbenhet has joined #ruby
ellcs has quit [Ping timeout: 240 seconds]
ikbenhet has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
impermanence has joined #ruby
wimpog has quit [Quit: wimpog]
reber has joined #ruby
zacts has joined #ruby
chalkmonster has joined #ruby
xco has joined #ruby
ikbenhet has joined #ruby
apotheon is now known as chaper
chaper is now known as gruet
gruet is now known as grue_t
grue_t is now known as grue`t
grue`t is now known as IAmGrue`t
chamunks has quit [Quit: Don't worry I'm not gone yet.]