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.
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: https://dev.to/codefund/build-a-real-time-twitter-clone-10-mins-with-rails-and-stimulusreflex-5h5c
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. [more inside]
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. https://blog.arkency.com/rename-stream-in-rails-event-store-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: [more inside]
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. [more inside]
Getting Started with Ruby on Rails and Kubernetes
Lean how to prepare a Ruby on Rails application for Docker and Kubernetes - https://littlelines.com/blog/2020/04/13/getting-started-with-ruby-on-rails-and-kubernetes
Fetching ancestors/sibling records per locale in ActiveRecord
Working with tables where there may be multiple columns referencing parent records. [more inside]
Redis connection pool in Rails
https://tejasbubane.github.io/posts/2020-04-22-redis-connection-pool-in-rails/ - Rails is multi-threaded, but can your redis connection handle it?
Catchup subscriptions with Rails Event Store
https://blog.arkency.com/catchup-subscriptions-with-rails-event-store/ - See how to implement catchup subscriptions with Rails Event Store.
Rails connections, pools and handlers
https://blog.arkency.com/rails-connections-pools-and-handlers/ - a blogpost explaining how these three relate to each other.
How to customize webpack in Rails apps
Configuring webpack is precisely the main job of Webpacker’s NPM package, @rails/webpacker. This post provides an overview of how to customize its default settings for your Rails application. https://rossta.net/blog/how-to-customize-webpack-for-rails-apps.html