octos has quit [Remote host closed the connection]
clemens3 has quit [Ping timeout: 268 seconds]
themsay has quit [Ping timeout: 246 seconds]
paraxial has joined #ruby
paraxial has quit [Ping timeout: 246 seconds]
doomspork has joined #ruby
paraxial has joined #ruby
doomspork has quit [Ping timeout: 246 seconds]
aupadhye has joined #ruby
xrexeon has joined #ruby
clemens3 has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
BH23 has joined #ruby
v01d4lph4 has quit [Remote host closed the connection]
v01d4lph4 has joined #ruby
jottr has quit [Ping timeout: 246 seconds]
BH23 has quit [Remote host closed the connection]
v01d4lph4 has quit [Remote host closed the connection]
v01d4lph4 has joined #ruby
armyriad has quit [Ping timeout: 246 seconds]
armyriad has joined #ruby
jottr has joined #ruby
code_zombie has quit [Quit: Leaving]
jottr has quit [Ping timeout: 250 seconds]
BH23 has joined #ruby
crankharder has joined #ruby
BH23 has quit [Remote host closed the connection]
crankharder has quit [Ping timeout: 246 seconds]
volkov has joined #ruby
DTZUZO has quit [Ping timeout: 250 seconds]
cd has quit [Ping timeout: 256 seconds]
cd has joined #ruby
tdy has quit [Ping timeout: 245 seconds]
RougeR has joined #ruby
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 252 seconds]
blackmesa1 has joined #ruby
BH23 has joined #ruby
jottr has joined #ruby
kapil____ has joined #ruby
doomspork has joined #ruby
BH23 has quit [Ping timeout: 245 seconds]
doomspork has quit [Ping timeout: 250 seconds]
crankharder has joined #ruby
galeido has quit [Ping timeout: 250 seconds]
crankharder has quit [Ping timeout: 246 seconds]
volkov has quit [Ping timeout: 256 seconds]
jottr has quit [Ping timeout: 250 seconds]
Guest16678 has joined #ruby
cnsvc has quit [Ping timeout: 256 seconds]
ua has joined #ruby
crankharder has joined #ruby
Guest16678 has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 244 seconds]
Guest16678 has joined #ruby
Guest16678 has quit [Ping timeout: 245 seconds]
Ove_ has joined #ruby
<Ove_>
Is there a specific channel to puma?
<Ove_>
I am having troubles getting any output from pumactl (when specifying the pid).
blackmesa1 has quit [Ping timeout: 264 seconds]
Guest16678 has joined #ruby
Tuor has joined #ruby
sameerynho has joined #ruby
sameerynho is now known as Guest24944
BH23 has joined #ruby
Guest16678 has quit [Ping timeout: 244 seconds]
cd has quit [Quit: cd]
Puffball has quit [Remote host closed the connection]
AJA4350 has joined #ruby
blackmesa1 has joined #ruby
BH23 has quit [Ping timeout: 272 seconds]
fritzroy15 has joined #ruby
<fritzroy15>
heyo, we're looking for something cheaper ( free would be nice ) to replace NewRelic as an APM for our rails app. Suggestions?
status402 has joined #ruby
status402 has quit [Quit: status402]
status402 has joined #ruby
crankharder has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
doomspork has joined #ruby
crankharder has joined #ruby
doomspork has quit [Ping timeout: 240 seconds]
crankharder has quit [Ping timeout: 268 seconds]
blackmesa1 has quit [Ping timeout: 264 seconds]
xco has joined #ruby
<xco>
I know there’s word for it but for some reason i can’t remember, what’s the word for when you’re testing some application and for each test a random result is returned, example say you have a rails app and for each refresh of the page a random error (different from the previous) shows up?
<phaul>
broken testsuite? :)
<phaul>
sorry
jottr has joined #ruby
<xco>
phaul: lol
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
blackmesa1 has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 244 seconds]
AJA4351 is now known as AJA4350
jottr has quit [Ping timeout: 250 seconds]
DTZUZO has joined #ruby
roshanavand_ has quit [Remote host closed the connection]
roshanavand_ has joined #ruby
blackmesa1 has quit [Ping timeout: 268 seconds]
DTZUZO has quit [Ping timeout: 272 seconds]
eb0t has joined #ruby
nowhere_man has joined #ruby
status402 has quit [Quit: status402]
eb0t has quit [Ping timeout: 250 seconds]
eblip has joined #ruby
stryek has joined #ruby
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 252 seconds]
xrexeon has quit [Remote host closed the connection]
spiette has quit [Ping timeout: 250 seconds]
blackmesa1 has joined #ruby
AJA4350 has quit [Remote host closed the connection]
spiette has joined #ruby
marmotini_ has quit [Ping timeout: 250 seconds]
donofrio__ has joined #ruby
href has quit [Read error: Connection reset by peer]
Exagone313 has quit [Ping timeout: 268 seconds]
donofrio_ has quit [Ping timeout: 246 seconds]
catbusters has quit [Quit: Connection closed for inactivity]
Exagone313 has joined #ruby
rippa has joined #ruby
<phaul>
&fake ChuckNorris.fact
<rubydoc>
The class object inherits from Chuck Norris.
<phaul>
lol. that's strangely appropriate after yesterdays discussion
za1b1tsu has joined #ruby
blackmesa1 has quit [Ping timeout: 264 seconds]
v01d4lph4 has quit [Remote host closed the connection]
kapil____ has quit [Quit: Connection closed for inactivity]
v01d4lph4 has joined #ruby
doomspork has joined #ruby
doomspork has quit [Ping timeout: 245 seconds]
conta has quit [Ping timeout: 246 seconds]
v01d4lph4 has quit [Remote host closed the connection]
href has joined #ruby
blackmesa1 has joined #ruby
blackmesa1 has quit [Ping timeout: 246 seconds]
blackmesa1 has joined #ruby
v01d4lph4 has joined #ruby
jcalla has joined #ruby
BTRE has quit [Remote host closed the connection]
v01d4lph4 has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
BTRE has joined #ruby
fanta7531 has joined #ruby
awkwords has joined #ruby
polishdub has joined #ruby
blackmesa has joined #ruby
olspookishmagus has quit [Quit: All for nothing]
blackmesa1 has quit [Ping timeout: 250 seconds]
krawchyk has joined #ruby
jottr has quit [Ping timeout: 268 seconds]
hiroaki has quit [Read error: Connection reset by peer]
orbyt_ has joined #ruby
hiroaki has joined #ruby
blackmesa has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
szulak_ has joined #ruby
aupadhye has quit [Ping timeout: 272 seconds]
doomspork has joined #ruby
m0w has joined #ruby
szulak_ has quit [Remote host closed the connection]
hutch has joined #ruby
szulak_ has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
BrianWGray has joined #ruby
Nicmavr has joined #ruby
m0w has quit [Read error: Connection reset by peer]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sezuan has joined #ruby
jottr has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
Tuor has quit [Quit: Konversation terminated!]
orbyt_ has joined #ruby
polishdub has quit [Quit: leaving]
conta1 has joined #ruby
conta1 has quit [Ping timeout: 246 seconds]
xco has left #ruby [#ruby]
aufi has quit [Remote host closed the connection]
jlebrech has joined #ruby
<jlebrech>
hi everyone, i want to split my controllers into page controllers and api controllers. should I use engines for that or just modules?
dionysus70 has joined #ruby
guardian has quit [Quit: Coyote finally caught me]
guardian has joined #ruby
jlebrech has quit [Remote host closed the connection]
millerti has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
old_relik has joined #ruby
maryo has joined #ruby
Inline has joined #ruby
old_relik has quit [Quit: Page closed]
fanta7531 has quit [Quit: fanta7531]
deathwishdave has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
gix has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
ellcs has quit [Remote host closed the connection]
<Net>
havenwood: if it is redefined later in the spec file
<havenwood>
Roelof: I'm assuming the tests want you to be able to mutate @seconds via the #seconds=, and have #calculate re-runn.
<havenwood>
Roelof: Try moving it back to `attr_reader :seconds` and define your own `def seconds=` that both sets the instance variable and calls #calculate.
<havenwood>
Net: Ahhh
<havenwood>
Net: Redefined in the same example?
<Net>
It *seems* like dependent lets will be reevaluated, but I can find this documented anywhere
<havenwood>
Roelof: Does that make sense?
<Roelof>
yep, everything is finally green
<Roelof>
but I think we can do without the initialize method
kapil____ has quit [Quit: Connection closed for inactivity]
hutch has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
orbyt_ has joined #ruby
jottr has joined #ruby
orbyt_ has quit [Ping timeout: 250 seconds]
cnsvc has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has joined #ruby
bmurt has joined #ruby
crankharder has quit [Ping timeout: 250 seconds]
jottr has quit [Read error: Connection reset by peer]
jottr has joined #ruby
jottr has quit [Read error: Connection reset by peer]
jottr has joined #ruby
jottr_ has joined #ruby
<TheBrayn>
I have a block of code where assignments are done in if/elsif statements. Accordings to rubocop's standard they should be avoided. What is a good ways to rewrite this?
<TheBrayn>
the assignments are just done from an array
<TheBrayn>
should I just assign all of them beforehand and then use “elifif myvar” instead of “elif myvar = something['foo']”
cthu| has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
reber has quit [Read error: Connection reset by peer]
<havenwood>
TheBrayn: So they all take a Regexp, and either 1 or not, with one exception, #possible_regex?
thoraxe has joined #ruby
<havenwood>
TheBrayn: It makes me wonder about extracting methods for each elsif, then iterating over Regexp/method name pairs.
<thoraxe>
so this is perhaps an odd one and my google-fu is failing me. i have an array of objects and each object has 2 date fields (_one, _two) and i'm trying to sort the array of objects on the older of the dates
<thoraxe>
in other words, figure out the older of the two dates on each object, and then sort the array on that older one
<TheBrayn>
havenwood: what is the “possible_regex?“ method?
<rubydoc>
# => [{:one=>#<DateTime: 2019-02-08T22:02:14+00:00 ((2458523j,79334s,364186039n),+0s,2299161j)>,... check link for more (https://carc.in/#/r/67gp)
<havenwood>
thoraxe: ^
<havenwood>
thoraxe: If that ^ doesn't work, show the Array you actually have.