havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
bvdw has joined #ruby
Technodrome has joined #ruby
kyrylo has joined #ruby
Fernando-Basso has quit [Remote host closed the connection]
bruce_lee has quit [Ping timeout: 268 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
sgen has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
sgen has quit [Ping timeout: 264 seconds]
xco has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 246 seconds]
jacksoow_ has joined #ruby
seb_ has quit [Ping timeout: 244 seconds]
jacksoow has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby
fphilipe has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
ramfjord has quit [Ping timeout: 265 seconds]
rem_ has quit [Quit: rem_]
fphilipe has joined #ruby
ogres has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
dasher00 has quit [Ping timeout: 268 seconds]
witlesswonder has left #ruby ["Leaving"]
Azure has joined #ruby
i9zO5AP has quit [Ping timeout: 265 seconds]
_whitelogger has joined #ruby
AJA4350 has quit [Quit: AJA4350]
drincruz_ has joined #ruby
duderonomy has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
jenrzzz has joined #ruby
mrrobinhood5 has joined #ruby
<mrrobinhood5> is ruby on rails still a thing these days?
Swyper has joined #ruby
mrrobinhood5 has quit [Remote host closed the connection]
Swyper has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
jrafanie has joined #ruby
jenrzzz has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch1 has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
wildtrees has quit [Quit: Leaving]
brool has quit [Ping timeout: 252 seconds]
edwardly has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
jenrzzz has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
tdy has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has quit [Quit: Textual IRC Client: www.textualapp.com]
Swyper has joined #ruby
Technodrome has joined #ruby
tdy has quit [Ping timeout: 265 seconds]
fphilipe has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Ping timeout: 276 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
ogres has quit [Quit: Connection closed for inactivity]
Technodrome has quit [Read error: Connection reset by peer]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Technodrome has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
duderonomy has joined #ruby
<havenwood> yes.
gix- has quit [Ping timeout: 240 seconds]
Junaos has quit [Quit: ZNC - http://znc.in]
Junaos has joined #ruby
tdy has joined #ruby
gavlee has quit []
MrCrackPot has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
fig-le-deunch has joined #ruby
jenrzzz has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
jenrzzz has quit [Ping timeout: 245 seconds]
fig-le-deunch has quit [Quit: Konversation terminated!]
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
bitwinery has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
bitwinery has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
gix has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
bitwinery has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
bitwinery has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
bitwinery has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
conta has joined #ruby
bitwinery has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
bitwinery has quit [Excess Flood]
bitwinery has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
bitwinery has joined #ruby
Skaterhaym has joined #ruby
bitwinery has quit [Read error: Connection reset by peer]
Skaterhaym has quit [Excess Flood]
Skaterhaym has joined #ruby
Skaterhaym has quit [Max SendQ exceeded]
sauvin has joined #ruby
Skaterhaym has joined #ruby
sauvin has quit [Max SendQ exceeded]
sauvin has joined #ruby
Skaterhaym has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Quit: WeeChat 2.6]
rippa has joined #ruby
al2o3-cr has joined #ruby
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
xco has quit [Quit: xco]
schne1der has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 276 seconds]
conta has joined #ruby
fphilipe has joined #ruby
xco has joined #ruby
jenrzzz has joined #ruby
fphilipe has quit [Ping timeout: 264 seconds]
_mossplix has joined #ruby
dionysus69 has joined #ruby
schne1der has quit [Ping timeout: 276 seconds]
_mossplix has quit [Remote host closed the connection]
elphe has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
conta has quit [Ping timeout: 240 seconds]
cnsvc_ has quit [Ping timeout: 260 seconds]
conta has joined #ruby
cnsvc_ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
bambanx has joined #ruby
gix has quit [Ping timeout: 240 seconds]
_mossplix has joined #ruby
fphilipe has joined #ruby
xco_ has joined #ruby
xco has quit [Ping timeout: 240 seconds]
xco_ is now known as xco
banisterfiend has joined #ruby
dbugger has joined #ruby
dbugger has quit [Client Quit]
dbugger has joined #ruby
blackmesa has joined #ruby
rbanffy has quit [Quit: rbanffy]
duderono_ has joined #ruby
conta has quit [Ping timeout: 245 seconds]
Intelo has joined #ruby
duderonomy has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
Intelo has quit [Remote host closed the connection]
_mossplix has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
Cyrus has quit [Ping timeout: 240 seconds]
_mossplix has joined #ruby
Cyrus has joined #ruby
krillbat has joined #ruby
conta has joined #ruby
blackmesa has quit [Quit: WeeChat 2.6]
conta has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
bambanx has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
kyrylo has joined #ruby
conta has joined #ruby
za1b1tsu has joined #ruby
conta has quit [Ping timeout: 264 seconds]
elphe has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
elphe has joined #ruby
xco has quit [Quit: xco]
_mossplix has quit [Remote host closed the connection]
_mossplix has joined #ruby
xco has joined #ruby
suukim has joined #ruby
mikecmpbll has joined #ruby
duderono_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has joined #ruby
fig-le-deunch has joined #ruby
sdfds has joined #ruby
fanta1 has joined #ruby
sdfds has quit [Remote host closed the connection]
elphe has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
sdfds has joined #ruby
blackmesa has joined #ruby
dasher00 has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
FastJack has quit [Ping timeout: 264 seconds]
fanta1 has quit [Quit: fanta1]
zone_31 has joined #ruby
xco has quit [Quit: xco]
gix has joined #ruby
<zone_31> Hi! i am an total beginner at ruby, and i have been tasked with learning ruby on rails. Where should i begin, assuming that i have programmed 8+ years, and i have just created my first .rb file?
Ven`` has joined #ruby
Ven`` has quit [Client Quit]
<phaul> zone_31: I would quickly go through Ruby, then all the syntax you see in rails will make a lot more sense. If you have programmed for 8+ years going through something like the pickaxe book would onlytake you a couple of days
<zone_31> phaul: thanks!
<phaul> np. discalimer: pickaxe is very outdated now, but as a first introduction to the language it still works. You will not see new language features in it though. http://docs.ruby-doc.com/docs/ProgrammingRuby/
fanta1 has joined #ruby
elphe has joined #ruby
_mossplix has quit [Remote host closed the connection]
_mossplix has joined #ruby
<zone_31> phaul: programming ruby second edition? Do you have any good recourses for understanding the buildtools in rails? i was i bit overwhelmed with the amount of boilerplate after running "rails new" :)
BH23 has joined #ruby
Ai9zO5AP has joined #ruby
<phaul> for rails I would just recommend the rails guides. https://guides.rubyonrails.org/ I don't know about the build tools specifically.
<phaul> we have a list of books here too:
<phaul> ?books
<ruby[bot]> You can find a list of recommended books at http://ruby-community.com/pages/links
<phaul> but honestly the just read the first edition pickaxe online for free ( the one I linked ). It should take more than 2-3 days even if you try code examples, and it's well worth your time
<phaul> shouldn't*
* phaul afk
<zone_31> phaul: Thank you for the help :)
xfbs has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jenrzzz has quit [Ping timeout: 246 seconds]
xco has joined #ruby
ramfjord has joined #ruby
GodFather has joined #ruby
segy has quit [Ping timeout: 265 seconds]
segy has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
jeremycw has joined #ruby
fanta1 has quit [Max SendQ exceeded]
jeremycw has quit [Ping timeout: 265 seconds]
witlesswonder has joined #ruby
jenrzzz has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
sdfds has quit [Remote host closed the connection]
xco has quit [Quit: xco]
conta has quit [Remote host closed the connection]
fanta1 has joined #ruby
conta has joined #ruby
_mossplix has quit [Remote host closed the connection]
blackmesa has joined #ruby
Swyper has joined #ruby
hutch1 has joined #ruby
chalkmonster has joined #ruby
krillbat has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Quit: dionysus69]
conta has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
Swyper has quit [Remote host closed the connection]
Intelo has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
jeremycw has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
jeremycw has quit [Ping timeout: 264 seconds]
fig-le-deunch has joined #ruby
blackmesa has joined #ruby
_mossplix has joined #ruby
_mossplix has quit [Remote host closed the connection]
_mossplix has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 250 seconds]
fig-le-deunch has quit [Quit: Konversation terminated!]
conta has joined #ruby
hutch1 has quit [Ping timeout: 252 seconds]
xco has joined #ruby
blackmesa has joined #ruby
jenrzzz has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
_mossplix has quit [Remote host closed the connection]
fanta1 has quit [Quit: fanta1]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FastJack has joined #ruby
_mossplix has joined #ruby
banisterfiend has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
xco has quit [Quit: xco]
AJA4350 has joined #ruby
jmcgnh has quit [Ping timeout: 265 seconds]
xco has joined #ruby
jmcgnh has joined #ruby
ellcs1 has joined #ruby
fanta1 has joined #ruby
_mossplix has quit [Remote host closed the connection]
hightower2 has joined #ruby
baojg has joined #ruby
_mossplix has joined #ruby
tdy has quit [Ping timeout: 240 seconds]
suukim has quit [Quit: Konversation terminated!]
drincruz_ has quit [Ping timeout: 276 seconds]
salinasc has quit [Ping timeout: 276 seconds]
fanta1 has quit [Quit: fanta1]
salinasce has joined #ruby
jenrzzz has joined #ruby
Intelo has quit [Remote host closed the connection]
baojg has quit [Remote host closed the connection]
conta has quit [Ping timeout: 276 seconds]
Inline__ has joined #ruby
Inline has quit [Ping timeout: 264 seconds]
Inline__ has quit [Quit: Leaving]
_mossplix has quit [Remote host closed the connection]
DaRock has quit [Ping timeout: 276 seconds]
conta1 has joined #ruby
Inline has joined #ruby
salinasce has quit [Ping timeout: 240 seconds]
salinasce has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
_mossplix has joined #ruby
blackmesa has joined #ruby
Swyper has quit [Remote host closed the connection]
_mossplix has quit [Ping timeout: 245 seconds]
salinasce has quit [Ping timeout: 250 seconds]
DaRock has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
seb_ has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
conta1 has quit [Remote host closed the connection]
za1b1tsu has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 264 seconds]
tsujp has joined #ruby
hiroaki has joined #ruby
zapata_ has joined #ruby
zapata has quit [Ping timeout: 276 seconds]
grilix_ has joined #ruby
fanta1 has joined #ruby
zapata_ is now known as zapata
ellcs1 has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schne1der has joined #ruby
edwardly has quit [Read error: Connection reset by peer]
ogres has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
hiroaki has quit [Ping timeout: 276 seconds]
drincruz_ has joined #ruby
Rapture has joined #ruby
lucasb has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
codefriar has quit [Ping timeout: 265 seconds]
codefriar has joined #ruby
chalkmonster has joined #ruby
jeremycw has joined #ruby
jenrzzz has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
kw0lf has joined #ruby
hutch1 has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
SeepingN has joined #ruby
hutch1 has joined #ruby
duderonomy has joined #ruby
fanta1 has quit [Quit: fanta1]
conta has joined #ruby
fanta1 has joined #ruby
MrCrackPot has joined #ruby
poontangmessiah has joined #ruby
poontangmessiah has quit [Read error: Connection reset by peer]
poontangmessiah has joined #ruby
jmarchello has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
DaRock has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
Mrgoose8457 has quit [Ping timeout: 268 seconds]
clemens3 has joined #ruby
jeremycw has quit [Ping timeout: 245 seconds]
Mrgoose8457 has joined #ruby
jeremycw has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
jmarchello has quit [Quit: leaving]
codefriar has quit [Ping timeout: 245 seconds]
CrazyEddy has quit [Remote host closed the connection]
blackmesa has joined #ruby
chalkmon1 has joined #ruby
chalkmonster has quit [Ping timeout: 245 seconds]
kyrylo has joined #ruby
kyrylo has quit [Client Quit]
vondruch has quit [Ping timeout: 265 seconds]
BH23 has quit [Ping timeout: 265 seconds]
codefriar has joined #ruby
drincruz_ is now known as drincruz
duckpuppy has quit [Remote host closed the connection]
duckpuppy has joined #ruby
fanta1 has quit [Quit: fanta1]
poontangmessiah has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
poontangmessiah has joined #ruby
tdy has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
schne1der has joined #ruby
cthulchu has quit [Ping timeout: 245 seconds]
poontangmessiah_ has joined #ruby
poontangmessiah has quit [Read error: Connection reset by peer]
MrCrackPot has quit [Quit: Leaving]
greengriminal has joined #ruby
MrCrackPot has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
codefriar has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
chalkmon1 has quit [Quit: WeeChat 2.6]
clemens3 has quit [Quit: WeeChat 1.6]
fanta1 has joined #ruby
jenrzzz has joined #ruby
xco has quit [Quit: xco]
greengriminal has quit [Ping timeout: 268 seconds]
greengriminal has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
cthulchu has joined #ruby
psmolen has quit [Ping timeout: 240 seconds]
poontangmessiah_ has quit [Read error: Connection reset by peer]
psmolen has joined #ruby
hiroaki has joined #ruby
schne1der has quit [Ping timeout: 246 seconds]
salinasc has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
JohanP has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fphilipe has quit [Ping timeout: 268 seconds]
fphilipe has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
hightower2 has quit [Changing host]
hightower2 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Quit: conta]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
duderono_ has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
Technodrome has joined #ruby
cyclonis has quit [Read error: Connection reset by peer]
cyclonis has joined #ruby
brool has joined #ruby
elcontrastador has quit [Ping timeout: 265 seconds]
duderono_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
duderono_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
fanta1 has quit [Quit: fanta1]
blackmesa has joined #ruby
cow[moo] has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
sgen has joined #ruby
ramfjord has joined #ruby
blackmesa has joined #ruby
Rapture has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 240 seconds]
sauvin has quit [Remote host closed the connection]
banisterfiend has joined #ruby
Synthead has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
<Synthead> Hey all, I had an idea to use VCR for logging requests to make crash dumps. I would also add tests for this, and the test suite already uses VCR. Is there a way I can use two instances of VCR like this somehow?
kw0lf has quit [Read error: Connection reset by peer]
ravenousmoose has joined #ruby
ramfjord has joined #ruby
paraxial93 has quit [Ping timeout: 240 seconds]
ellcs1 has joined #ruby
chalkmonster has joined #ruby
paraxial93 has joined #ruby
xco has joined #ruby
greengriminal has quit [Ping timeout: 268 seconds]
hightower2 has quit [Ping timeout: 264 seconds]
greengriminal has joined #ruby
wildtrees has joined #ruby
greengriminal has quit [Client Quit]
ravenousmoose has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch1 has quit [Ping timeout: 246 seconds]
MrCrackPot has quit [Ping timeout: 240 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has quit [Quit: WeeChat 2.6]
drincruz has quit [Read error: No route to host]
drincruz has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyclonis has quit [Read error: Connection reset by peer]
cyclonis has joined #ruby
banisterfiend has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
KeyJoo has joined #ruby
elphe has quit [Quit: leaving]
cthulchu has quit [Ping timeout: 240 seconds]
paraxial93 has quit [Ping timeout: 268 seconds]
hiroaki_ has joined #ruby
Eiam has quit [Quit: Textual IRC Client: www.textualapp.com]
hiroaki has quit [Ping timeout: 246 seconds]
ogres has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiroaki_ has quit [Ping timeout: 245 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
donofrio has quit [Ping timeout: 240 seconds]
ikariusrb has joined #ruby
lxsameer has joined #ruby
matheusmoreira has quit [Ping timeout: 265 seconds]
matheusmoreira has joined #ruby
hightower2 has joined #ruby
donofrio has joined #ruby
ikariusrb has quit []
duderono_ has quit [Read error: Connection reset by peer]
ikariusrb has joined #ruby
duderono_ has joined #ruby
<ikariusrb> ok, this has probably been covered a million times, here goes million and one. I found it remarkably difficult to construct a TimeDate object from a date and timezone at the beginning of day, which would correctly handle DST. I eventually ended up with the following code, but it feels like there should be an easier way. https://dpaste.de/8Y6N
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
<jeremycw> Synthead: don't use VCR in prod, it will leak memory.
<ikariusrb> the challenge I ran into was that you don't know if a calendar day is on DST or not until you construct the TimeDate object, and the TimeDate.new() always constructs a TimeDate with the local timezone, then shifts the time when you call in_time_zone.
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
<ikariusrb> I could construct a timedate from components, but one component is offset, and does not accept a timezone name, so you need to construct an ActiveSupport::Timezone object, and give it a timedate object before asking for it's .formatted_offset.... which leads right back to this same code of constructing two timedate objects and checking to see which
<ikariusrb> one maintains the correct date after being shifted to the correct timezone
banisterfiend has joined #ruby
jenrzzz has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jeremycw> ikariusrb: would something like this work?: ActiveSupport::TimeZone['Central Time (US & Canada)'].local(2019, 1, 1)
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
mynameisdebian has joined #ruby
<mynameisdebian> I have an array arr=["a","b","c","d","e"], and I want to iterate over the array members, but also have a variable (say "i") that increments with each one. I recall there was some super-easy way to do that with a native ruby loop. Can anyone clue me in?
<jeremycw> each_with_index
jenrzzz has quit [Ping timeout: 240 seconds]
<mynameisdebian> jeremycw, thx
cyclonis has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
ellcs1 has quit [Ping timeout: 245 seconds]
banisterfiend has quit [Client Quit]
sgen has quit [Ping timeout: 250 seconds]
<ikariusrb> jeremycw ohh, that... would probably work. THANK you. I thought I had to be missing something
blackmesa1 has joined #ruby
Ven`` has joined #ruby
banisterfiend has joined #ruby
<havenwood> mynameisdebian: if you want to start from from an index other than zero, #with_index takes an argument for the starting point.
blackmesa has quit [Ping timeout: 276 seconds]
<mynameisdebian> havenwood, there is probably nobody in the world as helpful as you. I am sure there is a really nice IT job in heaven waiting for you
banisterfiend has quit [Client Quit]
<mynameisdebian> though I hope you don't make it there for some time
<ikariusrb> mynameisdebian depends on what you want returned. if you want an "accumulator" returned (a single value), you want array.reduce. if you want a new array with a value calculated for each element of your first array, you want array.map
AJA4350 has joined #ruby
<mynameisdebian> I got it guys, appreciate the help
<mynameisdebian> thx ikariusrb
<mynameisdebian> ikariusrb, thx
jenrzzz has joined #ruby
banisterfiend has joined #ruby
<ikariusrb> jeremycw ack, nope, using .local does not work as that constructs a time in the local timezone... and local timezone and the destination timezone could have different DST rules
chalkmonster has joined #ruby
JohanP has quit [Ping timeout: 245 seconds]
greengriminal has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
JohanP has joined #ruby
greengriminal has quit [Quit: Leaving]
Synthead has quit [Ping timeout: 245 seconds]
jcalla has quit [Ping timeout: 245 seconds]
Synthead has joined #ruby
xco has quit [Quit: xco]
Ven`` has quit [Ping timeout: 276 seconds]
eein[m] has joined #ruby
ellcs1 has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
Synthead has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
_mossplix has joined #ruby
RushPL has quit [Ping timeout: 252 seconds]
tdy has quit [Ping timeout: 245 seconds]
cthulchu has joined #ruby
poontangmessiah has joined #ruby
bambanx has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
hutch1 has joined #ruby
poontangmessiah has quit [Remote host closed the connection]
dbugger has quit [Quit: Leaving]
RushPL has joined #ruby
ellcs1 has quit [Ping timeout: 264 seconds]
jeremycw has quit [Ping timeout: 268 seconds]
Fernando-Basso has joined #ruby
Synthead has joined #ruby
tiax has quit [Ping timeout: 250 seconds]
tiax has joined #ruby
hutch1 has quit [Ping timeout: 276 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
tiax has quit [Ping timeout: 245 seconds]
ikariusrb has quit [Remote host closed the connection]
grilix_ has quit [Ping timeout: 245 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
JohanP has quit [Ping timeout: 240 seconds]
chalkmonster has joined #ruby
yasumi2136 has joined #ruby
duderono_ has quit [Read error: Connection reset by peer]
duderono_ has joined #ruby
JohanP has joined #ruby
yasumi2136 has quit [Remote host closed the connection]
tdy has joined #ruby
JohanP has quit [Ping timeout: 245 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
thebananaking has quit [Quit: Connection closed for inactivity]
ogres has quit [Quit: Connection closed for inactivity]
i9zO5AP has joined #ruby
Ai9zO5AP has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
hightower3 has joined #ruby
jenrzzz has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
hightower2 has quit [Ping timeout: 276 seconds]
hutch1 has joined #ruby
JohanP has joined #ruby
JohanP has quit [Ping timeout: 276 seconds]
hutch1 has quit [Ping timeout: 246 seconds]
lxsameer has quit [Quit: WeeChat 2.6]
lucasb has quit [Quit: Connection closed for inactivity]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
Fernando-Basso has quit [Remote host closed the connection]
_mossplix has quit [Remote host closed the connection]
blackmesa1 has quit [Ping timeout: 264 seconds]
tdy has quit [Ping timeout: 265 seconds]
gix has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
wald0 has joined #ruby
wald0 has quit [Client Quit]
JohanP has joined #ruby
orbyt_ has joined #ruby
JohanP has quit [Ping timeout: 265 seconds]