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.
Dynamocli: Simplify a little bit of your development with DynamoDB
A simple command line tool with some utilities to do somethings in DynamoDB. [more inside]
ActiveRecord Migration UI gem
A Rails Engine that replaces the default ActiveRecord pending migration error page, with a simple “Migrate now!” button :) [more inside]
[Interview] Teaching at Bootcamps with Ed Toro
Ed Toro speaks to his experience at bootcamps from a teacher’s perspective. We gain a different perspective of what bootcamps are like. Ed shares valuable information whether you’re considering getting into coding or currently at a bootcamp. https://www.driftingruby.com/episodes/teaching-at-bootcamps-with-ed-toro
GraphQL on Rails: part 2
A second part of the guide about building a Rails/GraphQL/React/Apollo application from scratch. It focuses on mutations–this mechanism is used to implement a simple authentication and data updates.
A simple guide to integrating Heroku deployment with Travis CI in your ruby on rails
This article is a continuation of my previous article. We’ll learn by doing, to automatically deploy our ruby on rails app to Heroku when all of Travis CI tests pass. Here’s the Article.
Ruby Processes and Threads - Configuring a Web Server
Multiple popular Ruby web servers exist. Each Ruby application is different and the ultimate tl;dr for configuring a web server is: it depends. This post will not prescribe one web server or configuration over another and will instead explain internal components most popular servers contain. [more inside]
New Dependency Injection Library
Extracted from RubiconMD’s source code, we have released an opinionated Dependency Injection library. [more inside]
New release of Truemail, configurable plain Ruby email validator
Added configurable whitelist/blacklist and default validation type. https://github.com/rubygarage/truemail
SanePatch: Tiny gem that makes your monkey patching safer
SanePatch is a tiny gem that allows you to version guard your monkey patches. Read more about it here.
Impersonator: record and replay object interactions
Impersonator is a Ruby library to record and replay object interactions. Familiar with VCR? Impersonator is like VCR but for ruby objects instead of HTTP. [more inside]
A Rails middleware to change log level at runtime
This article presents a simple middleware which offers a basic interface to modify the log level of a Rails Application without restarting the server.
The Ultimate Checklist to Properly Internationalize Devise
https://dev.to/appsignal/the-ultimate-checklist-to-properly-internationalize-devise-59m6 [more inside]
screen-recorder gem - Record videos of your UI based automated tests
I created a ruby gem to video record your computer screen - desktop or specific window - using FFmpeg. Primarily geared towards recording automated UI test executions for debugging and documentation. https://github.com/kapoorlakshya/screen-recorder [more inside]
[Solidus] Boosting sales with browser cache!?!
Your eCommerce sales figures may not be as good as they look! This article shows how browser cache may affect Google and Facebook figures on your Solidus eCommerce, and how to fix it. (Solidus is a free, open source eCommerce platform for Rails)
How indexes on database works!
When it comes to performance of an application, databases play very important role. And one of the key factor in database optimisation is index. Here, I tried to explain how indexes on database works. https://gryffindor.in/blog/2019/06/08/how-index-works-on-database
Stimulus, Rails and RxJS for an SPA like experience
See how we can use Stimulus and RxJS along with server rendered templates to create a single-page-app like experience by just adding some sprinkles of Javascript. https://www.mikewilson.dev/posts/stimulus-and-rxjs-for-a-spa-like-experience/
Normalization, Consistency, and Clowne
This post discusses what could go wrong if you do not care of normal forms in your database design and demonstrates a particular example on how to fix something already broken with the help of the Clowne gem.
New in ruby-2.7.0 filter_map
https://blog.mavenhive.in/ruby-2-7-adds-enumerable-filter-map-d84aad03b6d4
Install ruby-2.7.0-preview using rbenv
https://blog.mavenhive.in/installing-ruby-2-7-0-preview1-using-rbenv-cab6f6a27757 Setting up Ruby-2.7.0-preview using rbenv