Few static analysis tricks to bulletproof your application

Hi, we're Arkency and it's our blog with meaty content.

#DevOps#Ruby on Rails
Added: 30 Apr 2023
Hacking Rails Implicit Rendering for View Components & Fun

Build interesting Rails plugin renderers that tap into ActionController::ImplicitRender#method_for_action like implicit renders, bulk resources, and more.

#Backend#DevOps#Ruby on Rails
Added: 28 Apr 2023
Running Rails Development with a Fake Domain and SSL

This is a quick guide on a workaround to get your rails development running in SSL and under your production URL.

#DevOps#Ruby on Rails#testing
Added: 27 Apr 2023
Containerize a Rails 7 App and Run it on Vultr with Cloud 66

We show you how to containerize a Rails 7 application and how to deploy and manage it on Vultr with Cloud 66. Celebrating a 3-year integration partnership with Vultr.

#DevOps#Ruby on Rails
Added: 27 Apr 2023
Why duplication is more acceptable in tests - Code with Jason

It’s often taught in programming that duplication is to be avoided. But for some reason it’s often stated that duplication is more acceptable in test code than in application code. Why is this? We’ll explore this, but first, let’s examine the wrong answers. Incorrect reasons why duplication is more acceptable in tests “Duplication isn’t actually […]

#Ruby on Rails#testing
Added: 27 Apr 2023
MRSK: hot deployment tool to watch—or a total game changer?—Martian Chronicles, Evil Martians’ team blog

The SRE pros at Evil Martians attempt an objective analysis of the promises, applications, and potential of MRSK, plus things to watch out for.

#DevOps#Ruby on Rails
Added: 27 Apr 2023
How to add custom methods to Rails console

You can add custom methods automatically available in the Rails console.

#DevOps#Ruby on Rails
Added: 26 Apr 2023
Advanced Active Record

Optimizing Performance and Robustness with Locking, UUIDs, Fulltext Search, Database Views, and Geospatial Data

#Backend#Ruby on Rails
Added: 25 Apr 2023
Working with PDFs in Ruby

Working with invoices, contracts, or just reading your favorite mystery thriller—whatever the case, PDF files are everywhere. Learn how to work with PDFs in Ruby.

#Packages#Ruby#Ruby on Rails
Added: 24 Apr 2023
How Postgres Triggers Can Simplify Your Backend Development

Blog about Software Engineering

#Backend#database
Added: 24 Apr 2023
Don’t wait, let’s use the browser Contact Picker API now—Martian Chronicles, Evil Martians’ team blog

We’ll explain and demo the browser Contact Picker API. Contact Picker features have been ubiquitous in native mobile apps for a long time. Browser adoption has finally picked up enough and it’s time to implement these features there, too.

#Frontend#Javascript
Added: 23 Apr 2023
Node.js with Docker | RubyMine

You can find some examples at Quick Tour of WebStorm and Docker.

#DevOps#Tools
Added: 22 Apr 2023
Top 8 Tools for Ruby on Rails Code Optimization and Cleanup

Keeping your code clean and organized while developing a large Rails application can be quite a challenge, even for an experienced developer.

#Consulting#Ruby on Rails
Added: 22 Apr 2023
A hybrid development Docker Compose setup for Rails

Lots of developers choose between dockerizing their development setup or leaving it as is. There is also a viable hybrid approach in combining Docker Compose with native processes.

#Design#DevOps#Ruby on Rails
Added: 22 Apr 2023
identity-idp/backend.md at main · 18F/identity-idp

Login.gov Core App: Identity Provider (IdP). Contribute to 18F/identity-idp development by creating an account on GitHub.

#Backend#Consulting#Design#Ruby on Rails
Added: 22 Apr 2023
Rails development environment with Docker

Step-by-step instructions on setting up the ideal Ruby on Rails developer environment using Docker, optimized for new devs onboarding onto the project.

#Ruby on Rails
Added: 21 Apr 2023
How to Access Hash Values with Methods Using OrderedOptions

Have you ever wanted to create a hash where you could access the values like methods on an object? The OrderedOptions class in Rails lets you do just that. This post shows you how. We'll also explore how Rails implements this feature using Ruby's metaprogramming features.

#Backend#Ruby on Rails
Added: 20 Apr 2023
The In-depth Guide to Caching ActiveRecord SQL Queries in Rails

Caching might seem a perfect solution to speed up slow database queries. However, caching in Rails apps can be easily misused, leading to poor maintainability or even slower performance than without it. In this blog post, I'll discuss the common pitfalls of caching SQL queries in Rails apps. I'll also describe my toolkit for assessing the cacheability of database queries and techniques for reducing the cost of caching infrastructure.

#Ruby on Rails
Added: 20 Apr 2023
GitHub - exoego/rspec-openapi: Generate OpenAPI schema from RSpec request specs

Generate OpenAPI schema from RSpec request specs. Contribute to exoego/rspec-openapi development by creating an account on GitHub.

#Gem#Ruby on Rails#testing
Added: 20 Apr 2023
Tools to help you detect n+1 queries

This is a little reference of tools to help you detect n+1 queries on a rails app. Bullet Prosopite n plus one control strict loading Rack mini profiler

#Backend#Ruby on Rails
Added: 20 Apr 2023
Elegant Memoization with Ruby’s .tap Method

There are a few different ways to memoize complicated chunks of code in Ruby. Here's why .tap is my personal favorite.

#Backend#Ruby
Added: 18 Apr 2023
una.im | Using color-mix() to create opacity variants

Build an alpha color system without splitting out channels using this one neat trick.

#CSS#Frontend
Added: 17 Apr 2023
Stripe Connect onboarding with Ruby on Rails

Stripe Connect provides a suite of tools and APIs that allow you to create, manage, and scale your...

#Backend#Frontend#Ruby on Rails
Added: 16 Apr 2023
Implicit Layout rendering in Rails

Learn how to use Rails' Action View Layouts by implicitly choosing them based on your controller's inheritance chain.

#Frontend#Ruby on Rails
Added: 16 Apr 2023
Efficient algorithm to check dates overlap

Do you need an efficient algorithm that checks a date range overlapping with some denoted set of date ranges? This article explains how to solve this problem with a subtle approach.

#Backend#Ruby on Rails
Added: 16 Apr 2023
First Previous Next Last