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.
Introducing RuboCop to legacy projects
If you’re working on an old code base that has had no style listing rules in place, received wisdom is that you start by running rubocop --auto-gen-config and revelling in the fact that subsequent runs of rubocop will run green. After years of following that advice myself, I’ve come to believe it’s wrong. The first step in my path to a better relationship between RuboCop and legacy code is now online:
Just released final version of InvoicePrinter 2.0
I just released InvoicePrinter 2.0. Read the little announcement. Submit new feature requests and bugs to GitHub.
Three Awesome Libraries to Assess Code Quality in Ruby
fifa v1.2 gem - the world's football countries & codes incl. irregulars & non-members
Hello, I’ve updated the fifa gem / library that includes all the world’s football countries and codes (incl. non-member countries and irregular codes). Now you can also get the countries by continental confederations (e.g. Asia, Africa, North & Central America & Caribbean, South America, Oceania, etc.) or (sub)confederations (e.g. Middle East, North Africa, South East Asia, etc. ) and more. Use Fifa.members('UEFA') or Fifa.members('Europe'), for example, to get all 55 countries. Happy data wrangling with ruby. Enjoy the beautiful game. Cheers. Prost.
CI/CD: Continuous Integration & Delivery Explained
Happy to share a new guide to CI/CD. Starts from the basics, with illustrations, examples, common adoption challenges and how to solve them.
Building a Rails CI pipeline with GitHub Actions
GitHub Actions is a new automation platform that you run directly from inside a repository. We can use it as a testing CI/CD pipeline and keep everything close to the code. [more inside]
Protecting a Rails app from small scripted attacks
I got tired of seeing in my logs lots of attempts against Wordpress etc so I found a simple and effective solution in rack-attack. In this short post I share my current configuration to block most small attacks and receive email notifications when this happens. [more inside]
10 lessons learnt from the Ruby Refactoring Kata - Tennis Game
Over the last weeks, I’ve been scheduling time for coding sessions on a Ruby Refactoring kata called Tennis Game. There has been around 20 such sessions, most of them recorded as YT videos, but in this blogpost I prepared 10 lessons learnt in a written form. [more inside]
London Ruby Community Unconference
Join us for one free day for learning Ruby and network with your peers at the London Ruby Community Unconference on Saturday, Oct 19th, 2019. Get your tickets at [more inside]
How to build a Rails application with VueJS using JSX
Have you ever wondered how to build a Rails application with VueJS? This blog post explains step by step one of the different ways to use VueJS with a Ruby on Rails application.
Getting Started with AWS S3 IAM Policies Security Config for Rails Apps
Getting Started with AWS S3 IAM Policies Security Config for Rails Apps Storing files on S3 is for many developers, the first contact with AWS cloud. Unfortunately, the quick and easy configuration can be insecure. If you are uploading files to an S3 bucket but never configured a custom AWS IAM policy it’s possible that there’s a security issue in your app. In this tutorial, I will describe what IAM policies are and how to securely configure them when working with S3 in the Rails apps. [more inside]