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.
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/
Under the hood of zypper_upgraderepo gem
A brief excursus of my gemified application zypper_upgraderepo https://freeaptitude.altervista.org/articles/under-the-hood-of-zypper-upgraderepo-gem.html
The Ruby Blend: Parentheses and typosquatting [Podcast]
In this episode, Nate has to check his emails, Andrew uses parentheses, and Ron drowns in the DigitalOcean. We also find out why Nate was right (again). Also, what happened with typosquatting? Nate dives into the Manager vs. Maker’s schedule. And why does Andrew have “needless paranoia?” Listen to this week’s episode to find out about all these and more.
Starting macOS development with RubyMotion
An article on getting started with macOS development with RubyMotion. It shows you how to initialize your first project and translate between Objective-C and RubyMotion. vtlearn.de
Install and use MongoDB with Rails 6
Want to learn how to install and use MongoDB with Rails 6 to build interactive apps? Here’s a complete guide on how to utilize rails MongoDB for app creation with Rails 6. Have a look: https://dev.to/botreetechnologies/how-to-install-and-use-mongodb-with-rails-6-meg
Run Javascript from Ruby with NodeRunner
This gem provides a simple way to execute Javascript in a Ruby context via Node. (Loosely based on the Node Runtime module from ExecJS.) It supports Node require statements and dynamic function calls, and is nearly as fast as executing Node scripts directly on the command line.
Password Protected Zip Using Ruby on Rails
Do you want to create a password-protected zip file using Ruby on Rails? Look at the steps outlined in this article and started zipping your files in Ruby from today. Have a look: [more inside]
Building a Ruby CLI with Thor
We have written a Ruby CLI using Thor for a client project and we share everything we’ve learnt in the process in this blog post! [more inside]
Why Rubyists Should Consider Learning Go
These days fewer and fewer web developers get to specialize in a single language like Ruby. We use different tools for different jobs. In this article, Ayooluwa Isaiah argues that Go is the perfect complement to Ruby. The developer who knows both is in a great position to handle almost any back-end challenge. https://www.honeybadger.io/blog/rubyist-learn-go/