RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

csvreader v1.1.0 - adds records with fixed width fields (fwf) and no separator :-)

Hello, I’ve added the CSV with meta data (front matter) block in YAML (CSVY) format and the “classic” fortran-style fixed width fields (FWF) with no separator in the latest csvreader library / gem update. Use: Csv.fixed.parse( ..., width: [8,8,32,14] ), for example, for the new flavor or Csv.meta to get the (optional) meta data block in the CSV v1.0 “The Right Way” format / flavor. Happy data wrangling with ruby. Cheers. Prost. PS: If you want to see other CSV flavors / dialects / formats / variants included, please tell.

Meet Yabeda: Modular framework for instrumenting Ruby applications

Introducing Yabeda (Russian for “tattletale”)—a family of gems based on the extendable framework that makes collecting metrics from Ruby applications and exporting them to datastores such as Prometheus easier than ever before. Rails, Sidekiq, and Prometheus are supported out of the box, more integrations are coming, hopefully with the help from the community.

5 for the name :D

New AppPerf Feature - Latency Bands

Hey everyone. Just wanted to share an update that I made to AppPerf (open source application performance monitoring tool). I added a new feature call Latency Bands that tries to combine histograms counts of latencies and percentiles of latencies into a single graph to help identify issues more quickly. You can read about it here: [more inside]

tty-config v0.3.0

The latest release of tty-config adds support for binding settings to environment variables, adding a custom setting aliases, reading and writing INI type files formats which are often used for holding environment configuration variables. Enjoy!

That looks fantastic. Wondering why the tty in the name? It looks like a fantas…

How to Speed up Your Tests without Touching the Code

I wanted to share an interesting discovery. If you’re using Capybara then you might be able to speed up your tests considerably (5 times in my case) by moving the database to tmpfs. I wrote an article showing how: . The same technique should work in other frameworks (and languages) as long as you don’t wrap test cases in transactions to clean up after them.

JFYI: last dot in the article URL makes 404
@ARK SHRAIER: It is already fixed :)

Open source SEO platform on Rails

The HateFreeWeb.org just open sourced a new SEO platform that detects hate speech, phishing scams, E-mails that where exposed in hacks, accessibility issues, mobile issues and more. As we thought “you are who you link to” (and Google thinks so too!), we pay special attention to problems on sites you are linking to. This means that if you link to a site that has phishing links on it, you enable crimes without knowing it. It’s a very useful tool for web designers, software developers and every business that runs a website. It’s all on GitHub! Happy forking and let’s make the Internet a safer place:)

tabreader library / gem v1.0 - read in tabular datafiles in text in the TAB format

Hello, I’ve published the tabreader library / gem version 1.0 that lets you read in tabular datafiles in text in the tabular (TAB) format. Use Tab.parse or Tab.read or Tab.foreach or Tab.open or Tab.new. Or with headers (column names in the first row) use TabHash.parse or TabHash.read and so on. Yes, tabreader uses "1\t2\t3".split( "\t" ) for parsing :-). Happy data wrangling with ruby. Cheers. Prost. PS: The FAQ in the README includes: Q: Why NOT use Csv.read( sep: "\t" )? ++ Q: What’s the tabulator (TAB) format? ++ Q: Why tab? ++ Q: Why NOT tab?

Loading older posts