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.
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. Read more
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. Read more
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. Read more
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 Read more
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. Read more
Heuristics for choosing right bounded context for an event handler
When writing event handlers in event-driven environment, we should think to which bounded context should that event handler belong. In the post there are described two heuristics how to choose the right bounded context. Read more
Linear Recursion and Iteration
Sometimes we can directly map the mathematical statement to code. It is also useful to have names for certain programming language constructs that is independent of any programming language. We can then simply translate the language independent programming construct to a specific language construct using the chosen language’s syntax. For more, read the article: Linear Recursion and Iteration
Speeding up Bundler in dockerized environments
Stop reinstalling your gems over and over. This article shows you how to utilize built-in Docker features to cache gems between builds.