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
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Release logs for Redmine 3
Redmine release logs plugin: added support for Redmine 3.x version.
Upcoming Ruby Conferences - November 2015 Edition - Live Version Try $ rubyconf
Hello, For you convenience the upcoming Ruby Conferences as listed with the whatson gem and the included rubyconf command line tool (for a live version try $ rubyconf): Read more
Best way to learn Rails & Ruby
Learning something from scratch is almost always an arduous affair – you simply have no idea as to where to start, or not to start, to kick things off. You don’t have to worry about finding the best resources, sorting out the bad ones, and figuring out what to learn next. It’s all here. Just follow it, step by step.
Building RSpec with Fix
Some Fix gems in hand, let’s build an RSpec clone that can handle some basic features. And maybe replace the original in your next project, who knows? Read more
Ruby 2.2.3 Module Basics : Part 2
Ruby 2.2.3 Module methods such as autoload, autoload?, module_eval, class_exec, class_variable_defined?, class_variable_get, class_variable_set, class_variables and const_defined? is covered in this module basics video
Ruby 2.2.3 Module Basics : Part 1
Ruby 2.2.3 Module methods such as constants, nesting, dynamically adding methods to a module, prepend and ancestors is covered in module basics video
Creating custom Heroku buildpack for Webpack and Ruby on Rails integration
In this blogpost I’d like to show you how to integrate Rails and modern JavaScript tooling together on a popular Heroku platform.
Polo - work with real world data in any environment.
Polo travels through your database and creates sample snapshots so you can work with real world data in any environment. Read more
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. Read more
The last one command to setup production server for Rails
There are hundreds of articles about preparing fresh VDS for first RoR app deploy. So much attention for so petty and routine task… So I released a gem with a one command that simply does all that stuff for you without asking any questions: Read more
One simple thing to become a better developer
You might pride yourself on your technical knowledge, but sometimes it’s the tiny details that make all the difference:
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.
Experimenting with canary releases
We’ve been experimenting with canary releases to deploy our Ruby applications, as an alternative to blue/green deployments, so we’ve written an article on our experiences:
Ship "docker" images to remote isolated Islands in your Infrastructure
It’s quite easy to pull images via docker down to your local developer machine. But sometimes you need to get images onto servers which have no access to the World Wide Web (WWW) nor to an internal docker registry. In this article I show you how to use docker save and docker load to get the required images onto those servers.
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
Rails_DB major updates [ Please Upgrade ]
Please try, you’ll like it: has a major updates, such as: Read more
Cool Ruby Regex Tricks
Ruby supports using regex in lots of interesting ways that go beyond the basic String#match method. In this post I cover a few of my favorites. http://blog.honeybadger.io/ruby-regex-tricks/
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
Arbolito. A simple currency converter gem
Arbolito lets you configure fixed prices for currencies, but also use Yahoo Finance API to convert currencies. It provides an easy DSL to use and it's agnostic on your money implementation. It just use BigDecimal and a Hash. Read more
How to deploy Heroku style Ruby application with Docker
Developing and deploying applications to Heroku was revolutionary when it was introduced. Developer could just focus on developing a killer app instead of configuring servers and build scripts. Read more
Anatomy of good service object
Writing good service object can be hard. In this article I brake down what I think are the major qualities of good service object.
i18n-tasks v0.9.0
i18n-tasks helps you find and manage missing and unused translations. Read more
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. Read more