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.
Using Interactors in Rails
https://blog.saeloun.com/2020/05/06/rails-using-interactor-gem
Setting up Rails Performance dashboard with influxdb and grafana
In this article we will create very simple and minimalistic performance dashboard for a Rails application which will help us monitor controller action runtime, database query runtime and view rendering runtime. [more inside]
Building a Toy Programming Language in Ruby
Few projects are as enticing or as rewarding as creating your own programming language. It’s impractical, sure. But as an exercise, it strengthens muscles that most of us don’t get to use very often and makes us better all-around developers. In this article — the first in a series — Alex Braha Stoll shows us how to get started building our own toy language and interpreter from scratch using Ruby. https://www.honeybadger.io/blog/stoffle-introduction/
Supercharge Your Bridgetown Site with Ruby Front Matter
You can now write real Ruby code directly in your Front Matter! This feature is available for pages, posts, and other documents–as well as layouts for site-wide access to your Ruby return values.
Let your customers change the texts in your Ruby apps
Are you fed up with your customers or managers asking you to change static texts in your Ruby projects? What about letting them change the static texts themselves? But knowing Git and how to create pull requests is hard… [more inside]
How to debug webpack on Rails
Even though Webpacker hides away much of the complexity of webpack configuration, sometimes it’s necessary to peel back the abstraction layer. [more inside]
5 Ways to Splat in Ruby
We take a look at 5 different ways to leverage Ruby’s splat (*) operator. Read More
Exploring Method Arguments in Ruby: Part 3
In this final part we explore blocks, array decomposition, partially applied methods and some real world examples. https://www.ombulabs.com/blog/ruby/learning/methods-arguments-ruby-part3.html
A chat with Thibaut Barrere - long-time Rubyist and data engineer
Glenn Goodrich chats with the maintainer of the Kiba ETL framework.
Self-hosting serverless with OpenFaaS
As a weekend project I decided to give OpenFAAS a go. It is essentially AWS Lambda running locally or on your own servers. [more inside]
ElasticSearch vs Algolia
Comparison between Elasticsearch and Algolia [more inside]
Fullstaq Ruby epic 3: CI/CD (= faster updates), Ruby updates, Debian 10 support
Fullstaq Ruby is a server-optimized Ruby distribution: less memory, faster, easy to install and security-patch via APT/YUM. Epic 3 is an important milestone which introduces a continuous integration and deployment system, which allows us to release updates much faster, and with fewer defects. We’ve also updated the Ruby versions, and added support for Debian 10. [more inside]
Take the 2020 Rails Community Survey
The 2020 Rails Community Survey is live. Take 10 minutes to share how you use Rails and contribute to tracking the evolution of the Rails community. [more inside]
Ruby Next: Make all Rubies quack alike
Ruby’s got its own transpiler with Ruby Next—the latest brain child of Vladimir Dementyev and Evil Martians. [more inside]
Issue with removing/deleting element from Ruby Array
There is a common dangerous Ruby Array situation when removing/deleting element from Array [more inside]
[Screencast] Contributing to a Gem
So, you’ve been using a gem for some time and you’ve either discovered that the gem isn’t working correctly or that you want to start contributing to the gem itself. Sometimes this can be an overwhelming task. In this episode, we look at the basic processes for contributing to a gem. https://www.driftingruby.com/episodes/contributing-to-a-gem
How to Build a Twitter Clone with Rails, ActionCable and React
Let me start by saying I think the things the teams working on CableReady and StimulusReflex are pretty awesome. They are aiming to make working with Reactive web applications as easy as the first Rails Blog tutorials during Rails’ infancy. [more inside]
Setting up Ruby on Rails 5 Application with MongoDb in 10 minutes
MongoDB is a document database with the scalability and flexibility that you want with the querying and indexing that you need. Have a look: [more inside]
Working with Turbolinks
A lot of developers just remove Turbolinks when they run into issues with Javascript plugins, but it doesn’t have to be that way. [more inside]
Postgres Distinct On
Recently I fixed a tricky N+1 query and thought I should write it up. The need arises when you have a parent child relationship and you need the first child matching some criteria. Simple enough. The tricky part is when you want to bulk load a single child for several parents to avoid an N+1 query. https://johnnunemaker.com/postgres-distinct-on/