jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
Rounin has quit [Ping timeout: 246 seconds]
gonix has quit [Ping timeout: 272 seconds]
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gamara has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
markong has quit [Ping timeout: 272 seconds]
onyx has quit [Read error: Connection reset by peer]
grokify has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
jpn has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
hellstabber has quit [Quit: Connection closed for inactivity]
desnudopenguino has quit [Ping timeout: 272 seconds]
desnudopenguino has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
gamara84 has joined #ruby
gamara has quit [Quit: Client closed]
Exa has quit [Ping timeout: 264 seconds]
Exa has joined #ruby
<gamara84> Anyone know why I keep getting an error trying to access my model from the my controller: https://pastebin.com/14VQZ6ss I am a huge noob to ruby
<ruby[bot]> gamara84: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
grokify has joined #ruby
<AstrallyForged> >Microsoft
<AstrallyForged> https://paste.rs/ ftw
<gamara84> ruby seems like the language of memorization lol
<gamara84> most painful imperative language, I found rust so much easier
grokify has quit [Ping timeout: 272 seconds]
gamara84 has quit [Quit: Client closed]
nirvdrum has joined #ruby
jpn has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
Guimauve has joined #ruby
jpn has joined #ruby
grokify has joined #ruby
r3m has quit [Quit: WeeChat 3.8-dev]
jpn has quit [Ping timeout: 260 seconds]
r3m has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
soknte5 has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
D_A_N has quit [Read error: Connection reset by peer]
grokify has quit [Remote host closed the connection]
D_A_N has joined #ruby
Vonter has joined #ruby
D_A_N has quit [Read error: Connection reset by peer]
D_A_N has joined #ruby
ur5us has joined #ruby
Vonter has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
Vonter has joined #ruby
cartdrige has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
grokify_ has joined #ruby
toshiba__ has quit [Ping timeout: 272 seconds]
Guimauve has quit [Quit: Client closed]
jpn has joined #ruby
grokify_ has quit [Remote host closed the connection]
jpn has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
Synthead has joined #ruby
<Synthead> is there a way to pretty-print a hash with 1.9 syntax?
<Synthead> i.e. a = { :a => "b" }; pp a # Should return {a: "b"}
<leftylink> I guess a map followed by a join would be in order. doubt there would be something built in
grokify has quit [Remote host closed the connection]
reset has quit [Quit: reset]
D_A_N has quit [Quit: leaving]
conjunctive has quit [*.net *.split]
miah has quit [*.net *.split]
D_A_N has joined #ruby
grokify has joined #ruby
conjunctive has joined #ruby
miah has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
jpn has joined #ruby
Synthead has quit [Quit: Leaving]
D_A_N has quit [Quit: leaving]
jpn has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ruby
ross has joined #ruby
ross has quit [Changing host]
hexology has joined #ruby
isene has joined #ruby
peder has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
gamara has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp has joined #ruby
grokify has quit [Ping timeout: 255 seconds]
crux73 has joined #ruby
cartdrige has quit [Ping timeout: 260 seconds]
jpn has joined #ruby
matoro has quit [Ping timeout: 246 seconds]
nirvdrum has quit [Quit: nirvdrum]
nirvdrum has joined #ruby
toshiba__ has joined #ruby
soknte5 has quit [Remote host closed the connection]
crux73 has quit [Ping timeout: 255 seconds]
cartdrige has joined #ruby
toshiba__ has quit [Ping timeout: 260 seconds]
matoro has joined #ruby
matoro has joined #ruby
matoro has quit [Changing host]
nirvdrum has quit [Quit: nirvdrum]
idiocrash has joined #ruby
szkl has quit [Quit: Connection closed for inactivity]
grokify has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
jpn has quit [Ping timeout: 272 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 276 seconds]
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
gamara has quit [Ping timeout: 244 seconds]
crux73 has joined #ruby
cartdrige has quit [Ping timeout: 260 seconds]
hightower3 has quit [Remote host closed the connection]
hightower3 has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
crux73 has quit [Quit: Leaving]
cartdrige has joined #ruby
grokify has joined #ruby
jpn has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
crux73 has joined #ruby
jpn has quit [Ping timeout: 250 seconds]
cartdrige has quit [Ping timeout: 276 seconds]
artemon has joined #ruby
idiocrash has quit [Ping timeout: 272 seconds]
_ht has joined #ruby
idiocrash has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
infinityfye has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 276 seconds]
rvalue has quit [Ping timeout: 272 seconds]
rvalue has joined #ruby
hrberg has quit [Ping timeout: 246 seconds]
rvalue has quit [Ping timeout: 276 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 276 seconds]
jpn has joined #ruby
rvalue has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
royo25 has joined #ruby
royo25 has quit [Quit: Bye]
grokify has joined #ruby
ule has quit [Changing host]
ule has joined #ruby
grokify has quit [Ping timeout: 276 seconds]
idiocrash has quit [Ping timeout: 260 seconds]
toshiba__ has joined #ruby
crux73 has quit [Ping timeout: 276 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
crux73 has joined #ruby
jpn has joined #ruby
toshiba__ has quit [Ping timeout: 272 seconds]
cartdrige has joined #ruby
crux73 has quit [Ping timeout: 272 seconds]
otisolsen70 has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 272 seconds]
gcd has quit [Remote host closed the connection]
gcd has joined #ruby
hellstabber has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
crux73 has joined #ruby
toshiba__ has joined #ruby
cartdrige has quit [Ping timeout: 276 seconds]
crux73 has quit [Ping timeout: 250 seconds]
crux73 has joined #ruby
cartdrige has joined #ruby
toshiba__ has quit [Ping timeout: 276 seconds]
crux73 has quit [Ping timeout: 272 seconds]
Furai has quit [Remote host closed the connection]
Furai has joined #ruby
hololeap has quit [Quit: Bye]
hololeap has joined #ruby
grokify has joined #ruby
cartdrige has quit [Ping timeout: 250 seconds]
grokify has quit [Ping timeout: 250 seconds]
wand has quit [Remote host closed the connection]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
wand has joined #ruby
D_A_N has joined #ruby
John_Ivan has joined #ruby
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
Furai has quit [Quit: WeeChat 3.7.1]
Furai has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
reset has joined #ruby
___nick___ has joined #ruby
grokify has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
grokify has quit [Ping timeout: 272 seconds]
dionysus69 has joined #ruby
nirvdrum has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
r3m has quit [Quit: WeeChat 3.8-dev]
r3m has joined #ruby
jollyrogue[m] has quit [Quit: You have been kicked for being idle]
jpn has joined #ruby
jpn has quit [Ping timeout: 250 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rvalue has quit [Ping timeout: 272 seconds]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
wand has quit [Remote host closed the connection]
___nick___ has joined #ruby
desnudopenguino has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
grokify has quit [Ping timeout: 250 seconds]
wand has joined #ruby
nirvdrum has joined #ruby
rvalue has joined #ruby
infinityfye has quit [Ping timeout: 272 seconds]
aeris has quit [Ping timeout: 258 seconds]
aeris has joined #ruby
jpn has joined #ruby
eddof13 has joined #ruby
cartdrige has joined #ruby
toshiba__ has joined #ruby
jpn has quit [Ping timeout: 276 seconds]
goldfish has joined #ruby
toshiba__ has quit [Client Quit]
cartdrige has quit [Ping timeout: 276 seconds]
cartdrige has joined #ruby
jpn has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
jpn has quit [Ping timeout: 250 seconds]
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
eddof13 has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
eddof13 has quit [Client Quit]
Guimauve has joined #ruby
kaivai has quit [Quit: ZNC - https://znc.in]
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
hololeap has quit [Quit: Bye]
kaivai has joined #ruby
hololeap has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
kaivai has quit [Quit: ZNC - https://znc.in]
jetchisel has quit [Remote host closed the connection]
jetchisel has joined #ruby
kaivai has joined #ruby
jetchisel has quit [Quit: Unfortunately time is always against us -- [Morpheus]]
grokify has joined #ruby
jetchisel has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
crux73 has joined #ruby
toshiba__ has joined #ruby
cartdrige has quit [Ping timeout: 250 seconds]
crux73 has quit [Ping timeout: 250 seconds]
desnudopenguino has joined #ruby
infinityfye has joined #ruby
infinityfye has quit [Client Quit]
grokify has joined #ruby
grokify has quit [Ping timeout: 276 seconds]
some14u has joined #ruby
___nick___ has quit [Ping timeout: 250 seconds]
_ht has quit [Quit: _ht]
hightower3 has quit [Ping timeout: 276 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 250 seconds]
jpn has joined #ruby
sandcat has joined #ruby
sandcat has left #ruby [#ruby]
hightower2 has joined #ruby
jess has joined #ruby
<jess> what should i be looking at for parsing HTML in ruby? additional note, i'm doing this for a jekyll plugin
<jess> the goal of what i'm doing is to find every html tag, see if it has "href" or "src", then make the url inside that attribute absolute if it isnt already
<jess> (i'm not sure if jekyll already allows me to access html tags and their attributes easily, that would be nice)
jpn has quit [Ping timeout: 276 seconds]
idiocrash has joined #ruby
<jess> thank!
<weaksauce> nokogiri being the heavyweight
<weaksauce> don't think there's anything that jekyll does for you wrt html
<weaksauce> might be a good guide
<jess> that does indeed look helpful, thank you
crux73 has joined #ruby
cartdrige has joined #ruby
toshiba__ has quit [Ping timeout: 250 seconds]
crux73 has quit [Ping timeout: 272 seconds]
Guest8685 has joined #ruby
crux73 has joined #ruby
Guest8685 has quit [Client Quit]
cartdrige has quit [Ping timeout: 272 seconds]
grokify has joined #ruby
grokify has quit [Ping timeout: 276 seconds]
toshiba__ has joined #ruby
crux73 has quit [Ping timeout: 272 seconds]
John_Ivan has quit [Ping timeout: 260 seconds]
hellstabber has quit [Quit: Connection closed for inactivity]
John_Ivan has joined #ruby
otisolsen70 has quit [Read error: Connection reset by peer]
grokify has joined #ruby
grokify has quit [Ping timeout: 276 seconds]
jpn has joined #ruby
finsternis has quit [Read error: Connection reset by peer]
jpn has quit [Ping timeout: 260 seconds]
gonix has joined #ruby
staff420 has quit [Ping timeout: 268 seconds]
Guimauve has quit [Quit: Client closed]
gonix has quit [Ping timeout: 260 seconds]
crux73 has joined #ruby
toshiba__ has quit [Ping timeout: 250 seconds]
markong has joined #ruby
crux73 has quit [Quit: Leaving]
<libsys> hello gals... I feel that something like what I want to do already exists in ruby, but I don't know how to express it
<libsys> I have an array with file extensions, and I need to check if a file exists with any of that extensions, then return that string
<libsys> something like...
<libsys> ['ext1', 'ext2'].each { |ext| path= "/file.#{ext}"; return if File.exist?(path) }
<libsys> sorry... I wrote that wrong
cartdrige has joined #ruby
<libsys> it would be something like this: ['ext1', 'ext2'].each { |ext| path = "/file.#{ext}"; return file if File.exist?(path) }
<libsys> of course that doesn't work because each returns the original array... but I think probably something like that exists in Array or Enumerable functionality
<libsys> dang!... I wrote that wrong again. I'm sorry gals :( here it goes:
<libsys> ['ext1', 'ext2'].each { |ext| path = "/file.#{ext}"; return path if File.exist?(path) }
aeris has quit [Ping timeout: 258 seconds]
c10l has quit [Quit: See ya! o/]
<weaksauce> libsys map?
<weaksauce> you can use map then compact to get just the files that exist as an array
_aeris_ has joined #ruby
<leftylink> pandabot ri Enumerable#filter_map
c10l has joined #ruby