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.
Save typing in rails/console with this 3 packs
User rails_console_toolkit to add super-fast shortcuts to fetch records, benchmark your code, reload!, and exit.
Read more in the README...
[more inside]
12 Factor Rails Settings
This blogpost provides some clarifications on what it means to apply the 12-Factor App methodology for managing settings and how to properly use it in your Ruby on Rails application.
Data sync from DB to Gsheet
This article explains step by step procedure to sync your data between DB and Google Sheet [more inside]
GIS on Rails
This article explains the basics of GIS for a web developer and how we can import GIS data and query using PostGIS [more inside]
Deploy AnyCable with Capistrano and systemd
First of all, if you still don’t know what is AnyCable than probably you never tried websockets in Rails. “WTF???” you probably will say, and you are right. Yes, we have ActionCable since Rails 5.x, but you really believe Ruby is suitable for real time web? I have bad news for you. [more inside]
Active Admin vs Forest Admin comparison
A comprehensive guide for RoR devs looking for a ready-to-use admin panel solution to manage their data https://medium.com/forest-admin/forest-admin-vs-active-admin-the-complete-comparison-4cfcfbfee74c
nice_http make Http connections nice and powerful
NiceHttp – simplest library for accessing and testing HTTP and REST resources. Get http logs and statistics automatically. Use hashes on your requests. Access JSON even easier. https://github.com/MarioRuiz/nice_http
Automatically annotate your code with Sorbet type signatures
For example, run your test suite and magically get type signatures! https://github.com/camertron/gelauto
Deploying a Jekyll-based blog to Google Cloud Run
I recently migrated my Jekyll-based blog to Cloud Run, the new serverless platform from Google. I posted an article on why you might use serverless for a Jekyll site, and how to do the deployment. https://daniel-azuma.com/blog/2019/07/01/deploying-my-blog-to-google-cloud-run
In-App Payments Backend with Roda
This tutorial shows how to use Roda as the backend to take mobile payments with Square: https://youtu.be/gnyVOETIaEA
Example Gitlab Pipeline Configuration for Rails Projects
Gitlab Pipeline for Rails can be a useful alternative for other applications like Jenkins and TeamCity. Want to learn how it works? See an example configuration. https://www.nopio.com/blog/example-gitlab-pipeline-configuration-for-rails-projects/
Managing old migrations with Squasher
https://gryffindor.in/blog/2019/06/28/squash-old-migrations Rails have a gem to merge old lengthy migrations into single migration, called squasher. Let’s see by example.
Integrating Bootstrap 4 into Rails 6…and how to use a theme
An article to explain how to Install Bootstrap 4 and a Bootstrap theme [more inside]
Autoscaling Sidekiq on Heroku
Heroku add-on Rails Autoscale now supports autoscaling worker dynos. Check out the launch announcement and video to see how it works and how to set it up.