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.
WhatIs.this: small useful entity resolver
WhatIs.this is a simple thing to resolve different types of text entities through Wikipedia. Like this: WhatIs.these('Paris', 'Berlin', 'Zagreb').values.map(&:coordinates)
Day 5 - Ruby Advent Calendar '17 - json-next - Read Next Generation JSON - Comments!
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 5 with json-next - Read next generation JSON versions (HanSON, SON, JSONX/JSON11, etc.) with comments, unquoted keys, multi-line strings, trailing commas, optional commas, and more. The json-next library / gem lets you convert and read (parse) next generation json versions including: HanSON e.g. HANSON.parse, SON e.g. SON.parse, JSONX e.g. JSONX.parse. Bonus: More JSON Formats. See the Awesome JSON (What’s Next?) collection / page. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Mobility 0.3: Ready for Prime Time
Just a little over six months ago, I released the first version of the Ruby translation framework I’ve called Mobility. Mobility allows you to store translations for your models using one of any number of different storage strategies (translation table, jsonb column, etc). The release of Mobility 0.3, described in an article on my blog posted today, comes with some important bug and usability fixes, as well as support for the latest versions of ActiveRecord (5.2.beta.2) and Sequel (5.x).
[Screencast] Tracking Errors with Sentry
Sentry is an Open Source error tracking that helps developers monitor and fix crashes in real time. Learn how to add and configure Sentry to your application. https://www.driftingruby.com/episodes/tracking-errors-with-sentry
Day 4 - Ruby Advent Calendar '17 - journaltxt - Blogging reinvented: Read Journal.TXT
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 4 with journaltxt - Blogging reinvented: Read Journal.TXT - single-text file journals - and write out (auto-build) a blog (w/ Jekyll posts etc.). Bonus: Add Your Perfect Day! Berlin.TXT, Munich.TXT, Salzburg.TXT, Paris.TXT, London.TXT, Rome.TXT, New York.TXT, Austin.TXT, Tornoto.TXT, Calgary.TXT, Melbourne.TXT, Sydney.TXT, … - Anyone? Write your perfect day(s) in a single-text file with Journal.TXT. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Chain of responsibility design pattern in Ruby
A chain of responsibility is a design pattern that allows to decouple a sender of a request from its receiver by giving multiple object a chance to handle that request. In an article on my blog I present that concept and I give an examples in Ruby.
Testing HTTPS in the development environment with self-signed certificates
I wrote an article explaining how to create self-signed root CA and certificates that are suited for HTTPS tests in the development environment and even created a simple Rack application to generate them from the web and made it available at Docker Hub. You can give it a try directly from the article in the last notes with a simple click of a button. Currently it only explains how to add the root CA to Linux and provides a sample nginx config. Pull requests to add instructions for other web servers (such as Apache) and operating systems (Windows, OSX) are welcome.
InvoicePrinter 1.1 will bring A4 page size support, command line client and more
Read on what’s coming in InvoicePrinter 1.1. 1.1.0.rc1 is out!
Day 3 - Ruby Advent Calendar '17 - quik - Quick Starter Template Script Wizard
Hello, welcome back to the Ruby Advent Calendar 2017. Let’s continue the series on Day 3 with quik - Quick starter template script wizard - the missing code generator and project scaffolder for gems, sinatra, jekyll & more. Ever asked yourself - Q: How do you get started with creating a new gem? Q: How do you get started with creating a new sinatra app or service? Q: How do you get started with creating a new jekyll theme? and so on. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
Day 2 - Ruby Advent Calendar '17 - factbook - Read the World Factbook 260+ Countries
Hello, welcome to the Ruby Advent Calendar 2017. Let’s continue the series on Day 2 with factbook - Turn the World Factbook (260+ country profiles) into open structured data e.g JSON. Explore the world with Ruby e.g. Where do you find gold? Look for the economy / resources section. What countries have the most internet hosts? What countries have the most proven crude oil reserves? And so on. Cheers. PS: You’re more than welcome to send in your articles (about your library / gem of choice) too!
How Dishwashers Ruin Ruby Apps
Learn how this obscure and non-obvious issue issue can bite you in production, and how you can avoid it.
Day 1 - Ruby Advent Calendar 2017 - blockchain-lite - Build your own blockchains
Hello, welcome to the Ruby Advent Calendar 2017. The idea is: 25 Days of Ruby Gems / Libraries from December 1 to December 25. Let’s kick off the series on Day 1 with blockchain-lite - Build your own blockchains with crypto hashes; revolutionize the world with blockchains, blockchains, blockchains one block at a time! Cheers. PS: You’re welcome to send in your articles (about your library / gem of choice) too!
APIQ CMS v1.1.0 Release
Learn what’s new in 1.1.0 release: https://www.apiq.io/2017/11/30/apiq-cms-1.1.0-release/
Use Any (Jekyll) Theme on GitHub Pages - It's official! - Ex: Pluto Feed Reader
It’s official! You can now use any theme on GitHub Pages using the new jekyll-remote-theme machinery. See the Pluto Planet Guide (Book Edition) - Free Planet (Static) Website Generator - Auto-Build Web Pages From Published Web Feeds as a real-world live example :-) using the octobook/books-twentyeighteen-theme. Thanks ‘n’ congrats to @BenBalter et al
ComfortableMexicanSofa 2.0.0 Released
Your favorite CMS Engine got upgraded to support Rails 5.2 apps: https://github.com/comfy/comfortable-mexican-sofa
RubyMine 2017.3 Released!
RubyMine 2017.3 adds support for WSL, new refactoring and code style options, improved performance, EPP templates. customizable RuboCop, and more! Try it now https://www.jetbrains.com/ruby/whatsnew/
Errors notifications to ElasticSearch with ElasticNotifier gem
ElasticNotifier is a gem that provides a simple API to send error notifications to an ElasticSearch server, for analytics and Kibana dashboards. It is also compatible with “exception_notification” gem as a Notifier plug-in. https://hspazio.github.io/2017/elastic-notifier-gem/
Genderize.io gem
I have created and easy to use Genderize.io ruby gem called genderize-io for automatically determining a users gender.
Ruby #call method
Ruby method #call is common interface protocol for calling Lambdas, Method objects, Procs,… In this article I’ll try to present why it’s important to name the run method #call in your custom class objects [more inside]
Yuki & Moto Press Bookshelf Update - Free (Online) Books about Ruby 'n' Friends
Hello, I’m a big fan of the latest and greatest plugin addition to GitHub Pages (and Jekyll), that is, Jekyll Remote Themes. Using a simple config entry you can “automagically” pull in remote themes (layouts, includes, javascripts, etc). To once more show off / test the new functionality I’ve updated the Yuki & Moto Press Bookshelf (Static Website Source) to now use a remote book theme (that is, Octobook Twenty Eighteen) that turns your manuscripts in plain text w/ markdown formatting conventions into live (online) books. See the Gem Developer’s Guide as example. Happy reading. Happy publishing w/ GitHub Pages (and Jekyll). Cheers.
From Monolith to Microservices — Part 1: Reasoning behind the switch
Migrating the web application from monolithic architecture (in Shedul’s case — Ruby on Rails) is one of the most serious decisions one can take in any monolithic project’s lifetime. You can find tons of articles listing pros and cons of microservices in general — but in this entry, I’ll tell you about top three that made us make the actual call at Shedul. Read more on Shedul Tech Blog.