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.
tty-pie v0.2.0
The latest tty-pie adds a way to format legend labels however you like including custom currency formatting sequence for handling money display.
API Rails apps in 2019
A handful of points to consider when building and deploying an API-only Rails app in 2019 that you might use as a microservice or to drive a single-page app. [more inside]
Ruby Conferences 'n' Camps in 2019 Update - What’s Upcoming? What's News?
Hello, I’ve updated the Ruby Conferences ‘n’ Camps in 2019 - What’s Upcoming? Calendar page @ Planet Ruby. What’s News? Added wroclove.rb (in March in Wrocław, Poland), Balkan Ruby (in May in Sofia, Bulgaria), RubyConf Thailand (in September in Bangkok, Thailand) and more. Happy meeting up with rubyists in 2019. Cheers. Prost. PS: Do you have a favorite conference? Lets give a shout-out to EuRuKo 2019 (in June in Rotterdam, the Netherlands). Call for talks / proposals open (until the end of February).
minitest-fork_executor
I built minitest-fork_executor to work around test interference issues I run into when working on active_record_doctor. I also published an article explaining the reasoning behind the gem: How to Reduce Test Interference in Minitest
How Rails and Heroku Saved My Bacon
The holiday season is wild. With that and a wedding, I was at full-tilt stress mode. Luckily the simplicity of Ruby/Rails + Heroku got me out of a jam
Sharding Clio's Database (Part 3 of 3)
The last in a three-part series on how Clio sharded our Rails app’s MySQL database, and some things we learned along the way. [more inside]
The short guide to learning how Classes work in Ruby
LINK - As Ruby is a dynamically typed object-oriented language, then the key concepts behind classes and objects are at the roots of this programming language.
How Do You Use Environment Variables in Ruby?
Environment variables are everywhere in Ruby, but do you know what they are exactly & how they work? Find out in this article:
Exploring a critical Net::Protocol issue in Ruby 2.6.0p0 and its security impact
In this article I’m exploring potential problems that you may encounter when using the brand new Ruby 2.6.0 due to a Net::Protocol issue. Highly recommended as it impacts anything that sends data using the HTTP protocol as well. [more inside]
Process Manager Vs Saga Conusion
When I started learning DDD I found very confusing the fact that the term “Saga” used everywhere even if it shouldn’t be. Here I tried to explain when the problem lies and how to differ the saga and Process Manager [more inside]
Building a minimalistic API with rails
This article explains how with very little code you can create a solid foundation for a REST API in Rails. It has all you need to start with: authentication, pagination and error handling, and everything with only a few lines of code. [more inside]
wkhtmltopdf on Heroku: evaluating different installation options
This article will show different ways of running wkhtmltopdf on Heroku, with a focus on app slug size – something very often neglected but essential for optimal build and boot performance.
2018: Review of a year of blogging about Ruby in numbers
[LINK] – 2018 was my first year as a tech blogger. [more inside]
What is A Matrix & How to Use It in Ruby?
In this article you’ll learn about the Matrix class, how it compares to 2D arrays & how to use the powerful Daru gem for data analysis.
Bindings and Lexical Scope in Ruby
In this year’s first edition of Ruby Magic, we’ll learn all about bindings and lexical scope. We’ll show how scope works in Ruby’s functions and closures. And we’ll take a peek at how ERB uses Binding objects to render templates.
TensorFlow reimplementation to enable ML in Ruby
New implementation of TensorFlow landed on our Ruby Machine Learning list. Find new insights on Machine Learning with Ruby https://github.com/arbox/machine-learning-with-ruby#articles-posts-talks-and-presentations [more inside]
Recommended Books, Blogs for Software Engineers
Reading is one of the most habits which has helped me unstoppable develop, improve technical skills and soft skills. Today, I want to share my reading list which is useful in my career path and you too. Read more:
Rubyoshka: composable HTML templating for Ruby
I’m happy to introduce Rubyoshka, a new HTML templating engine for Ruby. It offers a way to write HTML markup in plain Ruby (in a similar fashion to Markaby), and to split your markup into multiple reusable components, with nice performance characteristics.
My Ruby 2018: Around the world in nine conferences
Vladimir Dementyev (TestProf, AnyCable, Action Policy) tells how he got to travel to, and speak at nine Ruby conferences around the world in 2018—including the ultimate trifecta: RailsConf, RubyKaigi, and RubyConf. What was special about each of them and whose talks were not to be missed.
The Ruby Reference updated for Ruby 2.6
The Ruby Reference is intended to be most full, actual and accessible language reference. Most of the reference content is taken directly from Ruby documentation and reorganized for easier reading. The core docs were augumented with some quotes from the Ruby website, and some missing content that is written specifically for the book. The source of the book (rendering scripts, config, and unique content) can be found at GitHub. Today I am releasing the new version, which was fully re-rendered for Ruby 2.6 and also includes some content and style fixes. Changelog.
Passenger 6.0.1: fixes runaway CPU issue
Passenger 6.0.1 fixes an issue that caused socket exhaustion (manifesting in runaway CPU), disturbing the startup of apps using our Generic Language Support feature:
The Complete Guide to Create a Copy of an Object in Ruby: Part II
In this article, we’re going to explore the following topics:
[Screencast] Using Action Text in a Rails 5.2 Application
With Rails 6.0 is around the corner, Action Text has been merged into the Rails repository. However, it can still be used on a Rails 5.2 application while we wait for its official release. https://www.driftingruby.com/episodes/using-action-text-in-a-rails-5-2-application