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.

aruba 0.10.0 released

I happy to announce the release 0.10.0 of aruba. It’s a an extension for popular TDD and BDD frameworks like “Cucumber”, “RSpec” and “Minitest” to make testing of commandline applications meaningful, easy and fun. To see a diff of changes for v0.10.0 look here. [more inside]

Jekyll (and Static Site Builder & Design) User Groups Around the World

Hello, I’ve started the Vienna.html user group in - surprise, surprise - Vienna, Austria. First meetup Tue, Nov/24th. It’s as far as I can tell Europe’s 1st Jekyll meetup / fan club / user group. If you know any other Jekyll groups, let us know. Cheers. PS: In the United States there’s the Static Web Tech Group in San Francisco, California and the {static is} The New Dynamic Group in New York City, New York. Any others? Let us know.

Prevent information leaking in Rails

I just wrote a short article about how to prevent information leaking in Rails, by turning off HTTP caching for authenticated pages: Prevent information leaking in Rails

i see you prevented that info from leaking…. well done
404 Error: Niiiiice!
Let me help OP to leak the info: http://greg.molnar.io/tech/2015/10/28/prevent-…
Thanks! I fixed the URL. Well humans makes mistakes and I am not a robot :) …

Opalist Newsletter - Issue #12

Opal is a Ruby-to-JS compiler and runtime that allows you to write Ruby code for the browser. Opalist is your source for the latest Opal ecosystem news. This issue is almost all release news – there’s just that much new stuff to check out: Opal 0.9, Inesita (a brand-new front-end framework), Volt 0.9.5, Opal-ActiveSupport 0.2.0, and more! Check out Opalist Issue #12 here!

Remove N+1 queries in your Ruby on Rails app

Ever wondered why your page loads slower than it should when you do simple data representation or iteration over a bunch of data? One answer might be that you have the N+1 problem which slows your page significantly. But what is that N+1 problem and how to resolve it? More inside

factbook.json - 260+ Public Domain (Free) Country Profiles Updated- Pop, Internet,...

Hello, I’ve updated the /factbook.json archive (repo). What’s news? All 260+ country profiles updated using the latest (live) pages from the CIA World Factbook site. The /factbook.json archive now follows 1:1 the “official” structure e.g. All country profiles now use the two-letter GEC (formerly FIPS) codes e.g. au for Austria, gm for Germany, and so on. All country profiles are now included e.g. all oceans, the world, the gaza strip, the west bank, etc. The country profiles now get organized / stored by region as used / assigned by the World Factbook. Cheers. PS: Use the factbook command line tool and scripts to build your own up-to-date country profiles.

The Out-Of-Memory-Killer is after your dockerized services

… or why you should care about “OOMScoreAdjust” in your systemd-enabled docker-images Recently I put together a docker image with “PostgreSQL 9.4” installed from the project’s software repository on “CentOS 7.1” to back a rails application. Unfortunately I was not abled to run the “PostgreSQL”-server in a container based on that image. It failed with exit code 206/OOM_ADJUST. In this article I’m going to describe the reason for the failure using a minimal failing example. [more inside]

How to Traverse Foreign Ruby Code

A Ruby on Rails project will most likely contain large amounts of third party software. Software written by other people can fluctuate greatly in terms of documentation. Even very well documented software might have pieces that are more shrouded than others. [more inside]

Loading older posts