ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
fphilipe_ has joined #ruby
oetjenj has joined #ruby
ur5us_ has joined #ruby
jenrzzz has joined #ruby
ur5us_ has quit [Remote host closed the connection]
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
Fusl has joined #ruby
tsrt^ has quit []
involans has quit [Quit: involans]
brool has joined #ruby
CCDelivery has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 246 seconds]
jinie has quit [Ping timeout: 272 seconds]
jinie has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
ur5us_ has quit [Read error: Connection reset by peer]
fphilipe_ has quit [Ping timeout: 250 seconds]
ramfjord_ has quit [Ping timeout: 258 seconds]
ramfjord has joined #ruby
<brool>
using sinatra, how do i send a message from one route to another? e.g. my "post /thing" route sets a var @msg, and my view in "get /" should <%= @msg %> but since "get /" is another route @msg isn't saved from "post /thing" to "get /"
<brool>
and "post /thing" sets @msg then immediatley reroutes to /
<brool>
which i hoped would allow me to save a @msg
duderonomy has joined #ruby
<mozzarella>
I think you're looking for a session store
<mozzarella>
brool: ^
<brool>
oh that makes sense
<brool>
here's stupid me trying to treat a web app like a procedural program
<mozzarella>
that's a common mistake/misunderstanding I think
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
drincruz_ has quit [Ping timeout: 258 seconds]
cagomez has quit [Ping timeout: 245 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
englishm has quit [Excess Flood]
englishm has joined #ruby
englishm has quit [Excess Flood]
englishm has joined #ruby
englishm has quit [Excess Flood]
englishm has joined #ruby
englishm has quit [Excess Flood]
englishm has joined #ruby
jinie has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jinie has joined #ruby
drincruz_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
drincruz_ has quit [Ping timeout: 258 seconds]
_whitelogger has joined #ruby
cthulchu_ has joined #ruby
matheusmoreira has quit [Ping timeout: 258 seconds]
matheusmoreira has joined #ruby
cthulchu has quit [Ping timeout: 245 seconds]
rippa has joined #ruby
duderonomy has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
cd has quit [Quit: cd]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
fphilipe_ has joined #ruby
ur5us has joined #ruby
tdy has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
brool has quit [Ping timeout: 250 seconds]
gabschem_ has joined #ruby
podlech has joined #ruby
gabschem_ has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
howdoi has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
matheusmoreira has quit [Ping timeout: 246 seconds]
fphilipe_ has quit [Ping timeout: 250 seconds]
tdy has quit [Ping timeout: 246 seconds]
gix- has quit [Ping timeout: 245 seconds]
orbyt_ has joined #ruby
matheusmoreira has joined #ruby
mnathani has quit []
lesha has joined #ruby
lesha has quit [Quit: Leaving]
fphilipe_ has joined #ruby
chunkypuffs has quit [Remote host closed the connection]
oetjenj has joined #ruby
drincruz_ has joined #ruby
kyrylo has joined #ruby
plujon has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
stan has joined #ruby
drincruz_ has quit [Ping timeout: 258 seconds]
sandstrom has joined #ruby
chunkypuffs has joined #ruby
tdy has joined #ruby
ur5us has quit [Remote host closed the connection]
jinie has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
jinie has joined #ruby
code_zombie has quit [Quit: Leaving]
sauvin has joined #ruby
ur5us has quit [Ping timeout: 246 seconds]
stan has quit [Remote host closed the connection]
<qbrd[m]>
hey so I'm about to crash, so should probably not ask this now... lol
stan has joined #ruby
podlech has quit [Quit: WeeChat 2.5-dev]
<qbrd[m]>
but anyone know how to style a jekyll blog using the "gist" plugin, so that the gists match the general style of the blog.
<qbrd[m]>
I'd settle for just "night mode"... lol
cthulchu_ has quit [Ping timeout: 250 seconds]
Frobozz has quit [Ping timeout: 268 seconds]
galaxie has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
<apotheon>
qbrd[m]: Thanks for the vote of confidence.
<qbrd[m]>
por que no los dos.
<qbrd[m]>
but to be honest, I just always hear my mothers voice in my head going "well what about this positive spin on things"
<apotheon>
nice
<qbrd[m]>
I ❤️ my mommy. lol
<qbrd[m]>
she has been a pain in my ass like ALL Of my life.
<apotheon>
My font evidently doesn't have a heart glyph (or whatever that was supposed to be).
<apotheon>
yep, heart
<apotheon>
(copied to a non-console app)
<qbrd[m]>
I mean, less than three
<qbrd[m]>
pretty sure is universal heart. lawl.
<qbrd[m]>
apotheon: are you in IRC or matrix?
<apotheon>
IRC
<apotheon>
Oh, you have that telltale [m] in your nick.
<apotheon>
I should've noticed.
<qbrd[m]>
OMG so dope!
<qbrd[m]>
lol
<qbrd[m]>
(I just built my matrix server... )
<qbrd[m]>
I mean, I grew up around IRC
<qbrd[m]>
I lived in IRC
<qbrd[m]>
like...
<qbrd[m]>
I got all my torrents in IRC
<qbrd[m]>
I mean, what are torrents?
<apotheon>
right
<qbrd[m]>
but it's just such a PITA to have like 50 clients.
<apotheon>
Torrents are those things you use to download open source OS installer images to save the project's bandwidth.
<qbrd[m]>
between slck, discord, irc, glitter, uhhh
<qbrd[m]>
webex teams
<apotheon>
yikes
<qbrd[m]>
%$!%$@^%@%$ webex teams btw
<qbrd[m]>
rocket chat.
<apotheon>
Yeah, that "yikes" was all about webex.
<qbrd[m]>
I run a rocket chat server for a WoW clan. lawl.
<qbrd[m]>
^^ :+1:
<qbrd[m]>
nojoke, I think there are as many "chat programs" as there are people in the company I work for.
<qbrd[m]>
(>10k ppl)
<apotheon>
It's past my bedtime -- and I think you said something about going to bed half an hour ago.
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
tdy has joined #ruby
za1b1tsu has joined #ruby
bmurt has joined #ruby
drnerdius has quit [Quit: Konversation terminated!]
drnerdius has joined #ruby
conta has quit [Quit: conta]
ramfjord has joined #ruby
bmurt has quit [Ping timeout: 244 seconds]
chalkmonster has joined #ruby
jcalla has joined #ruby
BTRE has quit [Ping timeout: 248 seconds]
chalkmonster has quit [Quit: WeeChat 2.5]
<TomyWork>
I'm looking for something that is roughly equivalent to backticks or IO.popen(...).read but that will throw an exception or something when the exit status is nonzero
BTRE has joined #ruby
sagax has quit [Remote host closed the connection]
<TomyWork>
>> IO.popen('false') { |io| x = io.read; io.close; throw 'nonzero!' unless $?.success?; x } # this works, but it's kinda verbose. any idea how to shorten it significantly?
<ruby[bot]>
TomyWork: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<TomyWork>
works on my machine *shrug*
rippa has joined #ruby
<TomyWork>
>> IO.popen('echo foo') { |io| begin io.read; ensure io.close; throw 'Fehler!' unless $?.success?; end } # Got it a little shorter using an "ensure" for the error handling
<ruby[bot]>
TomyWork: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
tdy has quit [Ping timeout: 245 seconds]
<TomyWork>
actually it's longer, drat
<phaul>
TomyWork: ruby[bot] evaluation is broken, use rubydoc with &>> prefix
deepredsky has quit [Ping timeout: 258 seconds]
<TomyWork>
ok
<TomyWork>
is there some kind of "assert" function?
drnerdius has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 245 seconds]
greengriminal has joined #ruby
<TomyWork>
anyone wanna play code-golf? :) IO.popen('echo foo; exit 0/1'){|p|x=p.read.chomp;p.close;$?==0?x:My_Error_Message_Here} # conditions are: 1. if the command exits with status zero, return the result as a string, minus the newline at the end. 2. if the command exits with a nonzero status, abort the program with a somewhat identifiable message containing "My Error Message Here" or something close.
Bish has quit [Ping timeout: 268 seconds]
<TomyWork>
IO.popen('echo foo; exit 0/1').readlines[0].chop # this works if we assume that the command outputs nothing if it fails and a single terminated by a newline if it succeeds.
dhollinger has joined #ruby
k13nox has joined #ruby
TomyWork has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fphilipe_ has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
<Tuor>
phaul: ah thx!
<Tuor>
`self.instance_variables` is good. :)
<Tuor>
got what I needed.
andikr has quit [Remote host closed the connection]
<Tuor>
can I shorten? `"asdfqwerzxcv".gsub(/^a/, '').gsub(/qwer/, '').gsub(/v$/, '')`
za1b1tsu has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Read error: Connection reset by peer]
<rushsteve1>
If this is the wrong place to be asking this, please let me know. This is my first submission so I'm still a bit confused on the workflow.
involans has joined #ruby
<canton7>
rushsteve1, haven't you lost the "if (*p)" case?
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rushsteve1>
Hmm yes I guess that could cause an issue if p is null
kyrylo has joined #ruby
kyrylo has quit [Client Quit]
<canton7>
rushsteve1, well if p is null, *p is already a problem. I assume there's a check for that above. The while loop seems to be looping over \0 bytes?
Tuor has quit [Quit: Konversation terminated!]
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rushsteve1>
Ah I see it's stopping at the 0 byte to account for string termination.
<canton7>
d'oh, yes, I had it backwards
jenrzzz has quit [Ping timeout: 245 seconds]
<canton7>
it does seem redundant...
<rushsteve1>
Yes but it might handle an obscure edge case
<rushsteve1>
I updated the patch on the issue
kapilp has quit [Quit: Connection closed for inactivity]
DigitallyBorn has quit [Ping timeout: 245 seconds]
davor has joined #ruby
cagomez has joined #ruby
Ryctolagus has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
oetjenj has joined #ruby
orbyt_ has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
jottr has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has joined #ruby
Ryctolagus has quit [Read error: Connection reset by peer]
involans has quit [Quit: involans]
jottr has quit [Ping timeout: 245 seconds]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
jenrzzz has joined #ruby
ramfjord has joined #ruby
Ryctolagus has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
jottr has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
jenrzzz has quit [Ping timeout: 246 seconds]
involans has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
involans has quit [Client Quit]
involans has joined #ruby
jenrzzz has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
k13nox has quit [Quit: Leaving...]
jenrzzz has quit [Ping timeout: 248 seconds]
Ryctolagus has quit [Read error: Connection reset by peer]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
Ryctolagus has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
ascarter has joined #ruby
Guest79914 has joined #ruby
ascarter has quit [Client Quit]
ramfjord has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
involans has quit [Quit: involans]
ramfjord has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
sh7d has quit [Quit: meh]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
sh7d has joined #ruby
involans has joined #ruby
jottr has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
pwnd_nsfw has joined #ruby
ellcs has quit [Remote host closed the connection]
UserOO7 has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
ramfjord has joined #ruby
jenrzzz has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
involans has quit [Quit: involans]
jenrzzz has quit [Ping timeout: 268 seconds]
DaRock has quit [Ping timeout: 272 seconds]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
tf2ftw has joined #ruby
jenrzzz has joined #ruby
za1b1tsu has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
Guest79914 has quit []
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
jottr has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 246 seconds]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
za1b1tsu has quit [Ping timeout: 258 seconds]
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
fphilipe_ has joined #ruby
Ryctolagus has quit [Read error: Connection reset by peer]
Ryctolagus has joined #ruby
faces has joined #ruby
orbyt_ has quit [Read error: Connection reset by peer]
CrazyEddy has quit [Remote host closed the connection]
facest has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
CrazyEddy has joined #ruby
cagomez has quit []
jottr has joined #ruby
chalkmonster has joined #ruby
chalkmonster has quit [Client Quit]
sauvin has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 272 seconds]
jottr has quit [Ping timeout: 245 seconds]
leitz has joined #ruby
duderonomy has joined #ruby
orbyt_ has joined #ruby
orbyt_ has quit [Client Quit]
fphilipe_ has quit [Ping timeout: 245 seconds]
orbyt_ has joined #ruby
jottr has joined #ruby
suukim has quit [Quit: Konversation terminated!]
jmcgnh has quit [Ping timeout: 258 seconds]
prestorium has quit [Ping timeout: 258 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmcgnh has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
sameerynho has joined #ruby
Inline__ has joined #ruby
hiroaki has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
fphilipe_ has joined #ruby
morenoh149 has joined #ruby
Inline__ has quit [Quit: Leaving]
<leitz>
Almost back in Ruby land...
Inline has joined #ruby
<havenwood>
leitz: Welcome almost back!
ramfjord has joined #ruby
<leitz>
havenwood, present thanks for an almost event! I was out of country, and chose to be totally off-line, for a week. Came back with a bad cold and had to work long days all week. In a few hours I'm back on to a normal schedule. Still dealing with the cold, though.
<leitz>
I have another person who may contribute some code to my crewgen project. He needs/wants to learn Ruby and I'm happy to encourage that.
teardown has joined #ruby
hiroaki has quit [Ping timeout: 244 seconds]
<apotheon>
I've become a Ruby mentor in the last week as well.
<leitz>
The project was to spend 90 days learning C, with weekly chats via IRC.
<leitz>
I keep thinking about doing the same thing with Ruby, or a facet of Ruby like RSpec.
<leitz>
Let me know if you see any way to improve the process.
<apotheon>
In my particular case, I'm just mentoring one person who's already in the same channel as me pretty much every day. I recommended a book, and he immediately started enjoying himself. I answer questions, offer advice on progress, help with debugging in a way that explains "why" . . . and when he's done with the book, I've got another suggestion to boost his game.
<apotheon>
I find that, often, the hardest parts are getting people to click with the productive idioms of a language and helping figure out good projects to use for practical . . . practice.
<apotheon>
(because good projects can be a very individualistic thing)
<leitz>
I found choosing a book to be a great start. It saved me the trouble of explaining stuff that others have explained very well, and if someone isn't committed enough to get a book then are they really committed to learning?
<leitz>
I'm at the "do a project" stage myself. Feeling the pressure to produce quickly versus the pressure to do things very well. :)
<apotheon>
While it's pretty old, I find that Russ Olsen's Eloquent Ruby is the best practical intro to a programming language I've ever encountered.
<apotheon>
It's close enough to current Ruby that, for a beginner level, I can shore up the age-related weaknesses just by being available to answer questions.
<apotheon>
Before ER got published, Everyday Scripting With Ruby was my favorite Ruby beginner book.
<leitz>
I spent the off-line week reading "The Well Grounded Rubyist". Pretty good, but not for a non-programmer. I've asked Dave Thomas if he's going to update "Programming Ruby". Hopefully one day.
<leitz>
"Head First Ruby" was what I used when getting back into the swing of things.
morenoh149 has quit [Remote host closed the connection]
<apotheon>
I think Eloquent Ruby requires at least as much background in programming as for a sysadmin with a couple years of experience, or an experienced hobby Unix-like OS user who isn't afraid of the command line at minimum.
morenoh149 has joined #ruby
jenrzzz has joined #ruby
morenoh149 has quit [Read error: Connection reset by peer]
morenoh149 has joined #ruby
jenrzzz_ has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
<Ryctolagus>
havenwood:That looks awesome, sadly they are not on win 10 yet :(
<havenwood>
Ryctolagus: Sorry, you said 7 and I missed it.
<havenwood>
Ryctolagus: Isn't Windows 7... past EoL?
<havenwood>
"extended support won't end until January 14, 2020"
<havenwood>
I guess not!
<havenwood>
*soon*
<Ryctolagus>
havenwood:VERY soon it will be
<Ryctolagus>
currently looking at Rubymine :/
<havenwood>
Ryctolagus: They have a lovely WSL2 future to look forward to!
<Ryctolagus>
havenwood: Truth! Then I won't have to build a weird bobcat/tomcat server behind IIS to deploy these too <face to desk>
<apotheon>
I've never worked with JRuby, but if I was stuck on Windows I'd probably just use Vim for Ruby dev.
<havenwood>
Ryctolagus: VS Code or Atom should do nicely. I've noticed some newer Rubyists and Railists prefer RubyMine in particular. At RubyKaigi the VS Code board had the most stars.
<apotheon>
I've heard good things about VS Code, and Atom is pretty tolerable too, so those might be fine options.
<havenwood>
Ryctolagus: VS Code has nice Ruby integrations. Tons of nice options, but that makes sense to me on Win.
<apotheon>
(if you're into that kind of editor)
<Ryctolagus>
apotheon: That is my typical setup, vim WTF!
<apotheon>
Ryctolagus: s/WTF/FTW/ ?
<apotheon>
I sometimes use interactive_ruby to turn Vim into a kind of inside-out IDE.
<Ryctolagus>
apotheon: yep brain moving faster then fingers
<havenwood>
Ryctolagus: The base VS Code Ruby package has a number of integrations available out of the box to help it act more like an IDE.
<havenwood>
And add linting, etc.
morenoh149 has quit [Ping timeout: 245 seconds]
<Ryctolagus>
I will try out both VS code and Rubymine. Thank you both.
<havenwood>
I'd suggest taking a few minutes to setup a good configuration, then proliferate that, if you're setting up multiple Win 7 workstations.
<apotheon>
I haven't used interactive_ruby for a while. I should start using that again. It's pretty handy.
<havenwood>
apotheon: You mean IRB? Or is interactive_ruby a thing?
<Ryctolagus>
apotheon: was was recently (yesterday) made aware of Pry.
<apotheon>
havenwood: There's a thing called interactive_ruby that integrates Vim and IRB.
<havenwood>
apotheon: Ahhhh, right!
<apotheon>
havenwood: I've used Pry when Rails dev was my everday professional task.
<Ryctolagus>
apotheon: Thats where I now sit.
<havenwood>
The IRB in Ruby trunk has gotten some nice improvements, like syntax highlighting.
<havenwood>
And we already have: binding.irb
<apotheon>
havenwood: I could open a file in Vim from within IRB, then when I closed Vim I'd be back in IRB and have the context of it available, and so on. It was a REPL with an editor in it, instead of the usual IDE approach of an editor with a REPL inside it.
<havenwood>
It's nice to see IRB move towards parity with Pry.
hiroaki has quit [Ping timeout: 248 seconds]
<havenwood>
apotheon: That's funny, I do the same interaction but between Pry and Atom/Vim/editor-of-the-week.
<apotheon>
I'd take another Rails job, I guess. It's better than having to write Python. The only Python dev I ever enjoyed was using Flask.
greengriminal has quit [Quit: This computer has gone to sleep]
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
<Ryctolagus>
Oh man! That would be the bees knees!
oetjenj has quit [Client Quit]
<apotheon>
I can't wait for a second attempt to create something like WASM, learning from the mistakes of the first.
<apotheon>
I should get going.
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
<Ryctolagus>
apotheon:Thank you for your advice and have a pleasant weekend.
<apotheon>
You're welcome. Have a good'un.
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
<Ryctolagus>
havenwood: I may need to pick my Rust book up again, this project would be worth contributing to.
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
hiroaki has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
Swyper has joined #ruby
fphilipe_ has quit [Ping timeout: 244 seconds]
drincruz has quit [Ping timeout: 268 seconds]
Intelo has joined #ruby
<Intelo>
Whats the difference between ruby 4 and 5/6?
<Intelo>
Is it major difference?
<havenwood>
Intelo: Ruby 3 isn't out yet!
<havenwood>
Intelo: This Christmas, Ruby 2.7 will be released. The current Ruby is Ruby 2.6.3.
<havenwood>
Intelo: Do you mean Rails 4-6?
<havenwood>
Intelo: Or something else?
morenoh149 has joined #ruby
<Intelo>
sorry. I meant 2.3 2.4. 2.5
<Intelo>
oh sorry....
<Intelo>
sory sory
<Intelo>
rails..
<Intelo>
ya
<Intelo>
I meant rails.
jottr has joined #ruby
<havenwood>
Intelo: Yes, there are fairly substantial improvements and additions. Rails 5 introduced Action Cable and Rails API mode and Rails 6 introduces things including Action Mailbox and Active Text.
<Intelo>
havenwood,
<Ryctolagus>
havenwood: rubymine with Jruby is s.l.o.w. rubocop takes about 5-6 seconds to notice a change in the file.
<havenwood>
Ryctolagus: Are you using the --dev flag?
Swyper has quit [Remote host closed the connection]
<Intelo>
havenwood, ok
<Intelo>
havenwood, difference between 3 and 4?
<havenwood>
Ryctolagus: Let's talk in #jruby!
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 246 seconds]
ramfjord_ has joined #ruby
ramfjord has quit [Read error: Connection reset by peer]
<havenwood>
Intelo: You want to generally learn Ruby? Any area of interest?
jenrzzz has joined #ruby
<Intelo>
havenwood, just new to ruby. want to know its syntax
<Intelo>
havenwood, all of it. As I have a big project in RoR
<Intelo>
I have tutorial in RoR but cannot find of rub
<Intelo>
y
Ryctolagus has quit [Quit: Leaving]
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
DaRock has joined #ruby
tim17d has quit [Remote host closed the connection]
tim17d has joined #ruby
<havenwood>
Intelo: What gems are involved. Do you have experience in other programming langs?
<havenwood>
Intelo: Which langs?
<havenwood>
Intelo: I find Ruby REPLs incredibly helpful for exploring the lang.
<havenwood>
?irb Intelo
<ruby[bot]>
Intelo: irb is "interactive ruby", it is part of ruby. You can run ruby code and see results immediately. it's useful for testing code. Also see ?pry, a gem which is a popular alternative to irb.
<havenwood>
?pry Intelo
<ruby[bot]>
Intelo: Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc