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
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
RuboCop is a very popular gem among ruby developers for the static code analysis of the ruby codebase. It does static code analysis as per the ruby style guide. [more inside]
I wrote an article detailing how you can generate certificates using Let’s Encrypt and pointing DNS records to your local machine using AWS Route 53 so that your NGINX can serve https, including wildcard domains. [more inside]
Hello, I’ve written up a little article on Generating JSON Datasets in the sport.db - that includes the football.db :-) - Scripts & Tools Guide Series. You can use the football.json datasets as (static) web services with no API key or signup required ;-), for example. The article kicks off with the English Premier League. Other available datasets incl. the German Bundesliga, the Spanish Primera División (“La Liga”) and others. Enjoy data wrangling and the beautiful game with ruby.
You can delight your visitors by translating the website to their preferred reading language rather than the one picked up by geolocating the IP. [more inside]
Wondering how to create events in Google Calendar from a Ruby on Rails application? Here’s a simple guide comprising of the steps to do the same. https://www.botreetechnologies.com/blog/how-to-create-events-in-google-calendar-from-ruby-on-rails-application
Whoever first said that “the fastest code is no code” must have really liked memoization. After all, memoization speeds up your application by running less code. In this article, Jonathan Miles introduces us to memoization. We’ll learn when to use it, how to implement it in Ruby, and how to avoid common pitfalls. Buckle up! https://www.honeybadger.io/blog/ruby-rails-memoization/
Here we are going to explain a small app which uses the power of OCR technology to read text from images. We are going to use Google Cloud Vision to achieve this. Read more. [more inside]
Sometimes when we build a gem that depends on ActiveRecord, we want to set up RSpec to load ActiveRecord and some database migration to be ready for our integration tests. [more inside]
More and more web APIs are moving away from offset pagination and implement cursor pagination instead. We release a gem to support integrating into your APIs. https://github.com/bongloy/cursor_paginator
Looking at building static sites with modern Jamstack tools? Love Ruby? So do we! Introducing the biggest public release of Bridgetown since its inception, featuring the brand-new Unified Plugins API, Active Support, and a whole lot more.
The tty-option is a command-line parser that handles arguments, keywords, flags, options and environment variables, focuses on an intuitive way to define parameters and takes care of displaying nicely formatted and accessible help and error information. Enjoy!