<depesz>
rubocop complains about unused variable. this method is used like: repeat_if_limited do ...; end
jpn has joined #ruby
<depesz>
I think I can get the same thing to work if i'd change yield to block.call - am i right, or am i missing something? or should I do it differently altogether?
moldorcoder7 has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
jpn has quit [Ping timeout: 245 seconds]
<leftylink>
I think that is right. or, the &block could just be eliminated altogether?!
Sankalp has quit [Ping timeout: 245 seconds]
Sankalp has joined #ruby
polishdub has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
jpn has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
some14u has joined #ruby
some14u has quit [Client Quit]
some14u has joined #ruby
danjo007 has quit [Quit: danjo007]
protektwar has quit [Ping timeout: 240 seconds]
rvalue has quit [Read error: Connection reset by peer]
some14u has quit [Client Quit]
rvalue has joined #ruby
danjo007 has joined #ruby
<Zerock>
adam12: update after much procrastination: sequel fixed the issue. I'm not sure what magic it did different, but it appears to be functioning with sqlite now.
<adam12>
Zerock: Nice.
<Zerock>
I am thinking it must have to do with the table definition. It did those slightly differently than I did by hand.
<sgt_chuckles>
hey there. i want to collect metrics on my RoR app using statsD and publish to datadog. Wondering what the best approach is for doing this? I don't want to have lines of code for metrics collections scattered about my codebase.
<cAMP>
fwiw sounds odd, to measure ror app with a node app, why not just collect them with rails
<sgt_chuckles>
statsD is language agnostic, no?
<cAMP>
well to me it looks like node app
nirvdrum_ has quit [Quit: nirvdrum_]
<leah2>
i assume sgt_chuckles means the protocol only
<leah2>
datadog can scrape that directly
<leah2>
tho i guess these days one uses prometheus protocol instead. but same difference
sgt_chuckles has quit [Quit: Client closed]
<adam12>
I'd hook into ActiveSupport::Notifications or whatever.
<adam12>
But Sgt_chucles is gone...
sgt_chuckles has joined #ruby
___nick___ has joined #ruby
nirvdrum has joined #ruby
Ziyan_ has joined #ruby
Ziyan has quit [Ping timeout: 244 seconds]
jpn has joined #ruby
jpn has quit [Ping timeout: 240 seconds]
nirvdrum has quit [Read error: Connection reset by peer]