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.
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:
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: Read more
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! Read more
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.
Ruby Toolbox gets an API for fetching project data
The Ruby Toolbox now has an API for fetching project data
Build a real-time Twitter clone in 10 mins with Rails and StimulusReflex
Learn how to build interactive real-time applications with Ruby on Rails, CableReady, and StimulusReflex. We’ll create a Twitter style timeline that broadcasts updates to all users in real-time …and we’ll build the entire application in less than 10 minutes. Read the post / watch the video here:
Drag & Drop Sortable lists with Stimulus.js
Drag and drop items in a list are a pretty common feature you’ll see in apps. Check out the screencast on how to use Stimulus and SortableJS to add Drag & Drop sortable lists to your Rails app
Practical use of Ruby PStore
The story of imlementing github data source for static site on nanoc. How the octokit, faraday, concurrent-ruby and pstore gems fit together to deliver remote articles efficiently. Standing on the shoulders of giants. Read more
Rails System Tests In Docker
Use Rails system tests in a Docker development environment with headless Chrome or with the Docker host’s Chrome. MORE INSIDE
I created a step-by-step tutorial demonstrating how to integrate React with Rails
I really wanted to learn React and API development, so I went head first into building a simple application, and documented my experience. I think what sets this apart from other Rails and React tutorials is that I cover…
Rename stream in Rails Event Store with zero downtime
Code walkthrough - concurrent writes, race conditions and other fun stuff when you need to rename stream with zero downtime.
The 8 Most Common Rails Mistakes Developers should avoid
These 8 common Rails development mistakes can put your project to a halt. Here’s how you can avoid them and increase the efficiency of your Ruby on Rails project. Have a look: [here]
Introducing jQuery in Rails 6 Using Webpacker
First release candidate of Rails 6 is out with exciting features and refinements in existing features. Today we will look into one of those features, which is webpacker. It is now by default in Rails 6 as a Javascript Compiler. Have a look: Read more
A feather in my hat :)
And people, please give me feedback to improve my book. Read more
Rails 6 jQuery upgrade with webpacker
Here’s a detailed blog on how to add jQuery in your Rails 6 application with the help of a webpacker! Read more
Configuring Jumpstart to send a welcome sequence w/ Heya
Here are some notes I took while checking out Jumpstart and walking through the “getting started” experience of the gem I’m working on right now. Read more
Getting Started with Ruby on Rails and Kubernetes
Lean how to prepare a Ruby on Rails application for Docker and Kubernetes -
Fetching ancestors/sibling records per locale in ActiveRecord
Working with tables where there may be multiple columns referencing parent records. Read more