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.

  Last Saturday

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 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 or Tab.foreach or or Or with headers (column names in the first row) use TabHash.parse or 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 sep: "\t" )? ++ Q: What’s the tabulator (TAB) format? ++ Q: Why tab? ++ Q: Why NOT tab?

Spotting unsafe concurrent Ruby patterns - talk recording

Writing Ruby code that uses threads is a great way to get better performance and improve your app’s user experience. It can also be quite daunting due to the often-feared “concurrency bugs”. In this talk, recorded at the Fullstack LX Ruby meetup, I introduce a number of pitfalls to watch out for, presenting correct (and fast!) alternatives for each. [more inside]

Serverless Platform for Ruby - FaaStRuby 0.2.0 Released!

Hey there, FaaStRuby 0.2.0 is out! This version comes with lots of improvements. Top 2 highlights: Functions are packaged, deployed and managed individually (no more pulling from git repository) | TESTS! Functions can have tests and they can be configured to run before each deploy, aborting if it fails. Feedback is greatly appreciated!

Why the standard CSV library author deserves our hugs and thank yous

Hello, I’ve written a new episode in the why the csv standard library is broken, broken, broken (and how to fix it). It’s a new introduction to the series titled “I apologize - Sorry, Sorry, Sorry.” to clarify that I am in no way blaming the author (really I’m blaming YOU :-), that is, all the free-loaders waiting for a miracle. The author or the authors of the standard CSV library deserve our hugs and thank yous for the great work and many hours (for sure many unpaid and volunteered) put into the CSV library. We are all standing on the shoulders of giants. Thank you. Thank you. Thank you. Cheers. Prost.

Why the CSV standard library is broken (Part IV) - Numerics aka Magic Type Inference

Hello, I’ve written a new (and fourth) episode on why the CSV standard library is broken, broken, broken (and how to fix it). Let’s have a look at numerics a.k.a. auto-magic type inference for strings and numbers. Questions and comments welcome. Cheers. Prost. PS: If you want to see other (more) CSV formats / dialects pre-configured and supported “out-of-the-box” in the new csv reader, please tell.

Loading older posts