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.
A Complete Guide to Hiring Ruby on Rails Developers in 2021
This guide to hiring Ruby on Rails developers will help you make the right decision. Learn more about hiring Ruby on Rails programmers. https://www.botreetechnologies.com/blog/guide-to-hiring-ruby-on-rails-developers/
Rails: How to send and receive webhooks
Plus a tiny trick to help keep your background jobs idempotent. [more inside]
Rails adds `#with_all_rich_text` to eager load all rich text associations at once
Rails added support for eager loading all rich text associations at once. We can now use
#with_all_rich_text [more inside]
RSpec fundamentals: a basic glossary
After writing about RSpec’s setup, I thought it’d be useful to explore the methods you’ll use the most when testing with RSpec. 👉 https://remimercier.com/rspec-fundamentals-glossary/
How To Use Enums in Rails 6
A detailed deep-dive into using enums in Ruby on Rails. https://betterprogramming.pub/how-to-use-enums-in-rails-6-87600e292476
Implementing Order With ActionCable Signalling & WebRTC.
WebRTC out of an event-driven environment can get messy quickly. I wrote about how you can put some order in message exchanges with Rails. https://emmanuelhayford.com/implementing-order-with-actioncable-signalling-webrtc/
Code review of an Order object implemented as a state machine
As part of the RailsEventStore ecosysem we work on a sample application - Order Management app. In this blogpost I’m looking at the recent changed in the Order class, pointing some smells and improvement directions: [more inside]
Strategic 0.9.1 Strategy Matcher/Alias/Exclusion
The Strategic Ruby gem (Painless Strategy Pattern for Ruby and Rails) just had a new release in 0.9.1 [more inside]
How To Handle Special Actions In Ruby on Rails Controllers?
I had a mini dive into the best approach for how to handle those special one off actions which sometimes slip into controllers. [more inside]
Use ActiveAdmin like a boss
ActiveAdmin is widely used administration framework in Rails applications. This post explains how to hook more sophiscicated domain logic into it: https://blog.arkency.com/use-activeadmin-like-a-boss/
How to Determine the Maintenance Cost for Ruby on Rails App
Multiple Ruby on Rails maintenance costs are associated with any RoR web apps project. Learn how much it costs to maintain a Ruby on Rails web app. https://www.botreetechnologies.com/blog/ruby-on-rails-maintenance-cost/
What is a monorepo? (and Should You Use Them?)
Monorepos can foster rapid development workflows. In this post, we’ll examine if they are the right fit for you and your company. [more inside]
mooncats Gem - mint your own vintage mooncat pixel art images off chain with ruby
Hello, I have put together a little gem that includes a command line tool called mooncat - that lets you mint your own vintage (free) mooncat pixel art images off chain using any of the 128 True Official Genuine Mooncat™ md5-verified original designs; incl. 2x/4x/8x zoom for bigger sizes. Cheers. Prost. The future is meow.
FTP Integration in Rails App
Ruby on Rails web applications require FTP integration for downloading and sending files. Here are the different ways to integrate FTP with a Rails app. https://www.botreetechnologies.com/blog/ftp-integration-in-rails-app/
User Session Inactivity Timeout with Rails and Devise
https://jasonheecs.medium.com/user-session-inactivity-timeout-with-rails-and-devise-7269ac3a8213
SOLID Design Principles in Ruby
As developers, we spend way more time maintaining and changing code than we do writing it. By optimizing for change through SOLID design principles, we can avoid a lot of pain. In this article, Milap Neupane introduces us to SOLID, explains each principle in-depth, and shows us how to apply them in Ruby. https://www.honeybadger.io/blog/ruby-solid-design-principles/
Spree Commerce 4.2 Global Edition released!
Spree 4.2 is a collaborative work of 34 outstanding individuals from around the globe who contributed over 1700 commits since Spree 4.1. [more inside]
Glimmer Gets Its First Official Custom Shape Gems
Glimmer gets its first official custom shape gems: bevel and stick_figure, used in Tetris and DCR.
https://andymaleh.blogspot.com/2021/03/glimmer-gets-its-first-official-custom.html
Day 7 - erd @ Ruby Open Data Week 2021 - 7 Days of Ruby (Open Data) Gems
Hello, let’s welcome the seventh write-up in the Ruby Open Data Week 2021: Day 7 - erd Gem - Generate Entity-Relationship Diagrams (ERD) for Your ActiveRecord Models. Cheers. Prost.
bundler-audit 0.8.0 released!
bundler-audit 0.8.0 has finally been released. This release adds support for a .bundler-audit.yml configuration file, an output format API, JSON output, auto-downloads the ruby-advisory-db on first-run, and added the --gemfile-lock, --database, --format, --output options. Special thanks to the beta-tests who tested the pre-releases. [more inside]