How to implement Query Object pattern in Ruby on Rails?

In simple terms, Query Object allows you to encapsulate complex database queries. Why do we need it...

#Ruby#Ruby on Rails
Added: 29 Nov 2022
Newer Things to Know About Good Ol’ HTML Lists | CSS-Tricks

HTML lists are boring. They don’t do much, so we don’t really think about them despite how widely used they are. And we’re still able to do the same things

#CSS
Added: 29 Nov 2022
Testing Thor Ruby Required Options

There are lots of tutorials for building a CLI with Thor from scratch, but there aren't a lot of them on how to test Thor, especially covering scenarios such as required options. Learn how to test Thor Ruby options.

#Ruby#testing
Added: 29 Nov 2022
Elements can be visible even though their parent has set "visibility: hidden"

Nested HTML elements with different `visibility` properties (`visible` / `hidden`) can be visible even though their parent is hidden.

#CSS
Added: 28 Nov 2022
Ruby memoization - Code with Jason

What is memoization? Memoization is a performance optimization technique. The idea with memoization is: “When a method invokes an expensive operation, don’t perform that operation each time the method is called. Instead, just invoke the expensive operation once, remember the answer, and use that answer from now on each time the method is called.” Below […]

#Ruby
Added: 24 Nov 2022
You can add biometric authentication to your webpage. Here's how.

Prompting for a username and password is so 2005. Today, you can just prompt for a fingerprint.

#Javascript
Added: 24 Nov 2022
Best Practices for Estimating Work - Story Points

This path gives an overview of how the Shortcut team estimates work and how the Shortcut tool effectively supports that process. Let’s breakdown how we think about point scoring. Your team may do things a little bit differently but it’s a good best practice to have this outlined in a Doc so your team is on the same page. Feel free to use this as a jumping off place for that.

#Consulting
Added: 23 Nov 2022
Day 38: vh, svh, lvh, and dvh

It’s time to get me up to speed with modern CSS. There’s so much new in CSS that I know too little about. To change that I’ve started #100DaysOfMoreOrLessModernCSS. Why more or less modern CSS? Because some topics will be about cutting-edge features, while other stuff has been around for quite a while already, but I just have little to no experience with it.

#CSS
Added: 22 Nov 2022
Learning good habits by watching a staff software consultant

What is good software consulting? Watching a staff level engineer is a great way to learn good habits.

#Consulting
Added: 21 Nov 2022
Handling third-party webhooks with Rails Event Store

Handling third-party webhooks with Rails Event Store Lately, one of our clients asked us to review his Rails Event Store-based application. We helped him, as RES mentoring is one of the key fields of our professional activity. What caught our attention was the way of handling incoming webhooks from third-party services.

#Ruby
Added: 21 Nov 2022
Solo: Building Successful Web Apps By Your Lonesome

Whether by choice or by circumstance, you may find yourself developing a web application alone. Congratulations! You've got the house to yourself and no one telling you what to do. But at the same time, there's no one to share the burden or make up for your shortcomings. How do you build well and ensure project success? We'll look at the pros and cons of working alone, what kinds of projects are well-suited to solo development, strategies for professional growth, and development and operational processes that will save you time and help you sleep better at night.

#Consulting
Added: 19 Nov 2022
Site-wide configuration with Administrate

Adding site-wide configuration with a Rails model can be quite easy to do with Administrate.

#Ruby on Rails
Added: 19 Nov 2022
Building an Alexa Skill in Arabic with Ruby

More detail on how the thoughtbot team built one of the first Alexa skills in Arabic, and what we learned about using Ruby on Rails to support the development of Alexa Skills in the process.

#Consulting#Ruby
Added: 18 Nov 2022
Web Components Can Now Be Native Form Elements

Here’s the complete guide to customised form controls

#Javascript
Added: 17 Nov 2022
Turbo Streams meets Action Cable

This post was extracted and adapted from The Rails and Hotwire Codex. Turbo Streams are a great...

#HOTWire#Ruby on Rails
Added: 16 Nov 2022
Railsware Guide Into Types of MVPs | Railsware Blog

We break down 13 different types of MVPs with examples, discuss the pros and cons of each type, and suggest how to pick the right one for your business.

#Consulting
Added: 16 Nov 2022
How we got struck by 5–year–old implementation

How we got struck by 5–year–old implementation Recently we discovered that we were wrong on computing lock key for acquiring advisory locks. It was already covered as an update to article about building read models, but we thought that telling the whole story behind the issue could be interesting for you.

#Ruby#Ruby on Rails
Added: 16 Nov 2022
For each loops with LATERAL Joins - Database Tip

A join can normally only link two static result sets together, but with LATERAL joins an efficient for-each loop with dependent subqueries can be used.

#database
Added: 16 Nov 2022
How To Create Advanced Animations With CSS — Smashing Magazine

In this article, Yosra Emad explains how to create a rollercoaster path that a ball follows using cubic beziers and CSS transitions. You’ll also learn how the cubic-bezier function in CSS works in detail and how to stack multiple simple animations to create one complex one.

#CSS
Added: 16 Nov 2022

Making a DNS query in Ruby from scratch

#Ruby
Added: 16 Nov 2022
Automate manual deployments with Git and binstubs

Your team’s manual deployment process doesn’t have to be so manual. Here’s how we automated our team’s deployment process with a few lines of bash and basic Git knowledge.

#DevOps#Ruby on Rails
Added: 15 Nov 2022
How to deploy Rails and Sidekiq to Fly.io

A Ruby on Rails SaaS starter kit with two-factor authentication, teams spaces, and administration.

#DevOps#Ruby on Rails
Added: 14 Nov 2022
Ryan Bigg - A replacement for strong parameters

A replacement for strong parameters

#Ruby on Rails
Added: 13 Nov 2022
How to Extend Rails Associations - FastRuby.io | Rails Upgrade Service

You might have extended classes or instances in Rails, but do you know you can also extend Rails associations? class Account < ActiveRecord::Base has_many :people, -> { extending FindOrCreateByNameExtension }end

#Ruby on Rails
Added: 12 Nov 2022
How to Split Rails Routes? - FastRuby.io | Rails Upgrade Service

In this article I’ll discuss a strategy for different readability: a simple way to split your routes file on a Ruby on Rails project.

#Ruby on Rails
Added: 11 Nov 2022
First Previous Next Last