Extract Sample Rate of an Audio File with Audio Analyzer in Rails 7.1

Ruby on Rails and ReactJS consulting company. We also build mobile applications using React Native

#Backend#Ruby on Rails
Added: 12 Jun 2023
Learn Hotwire by building the simplest possible Hotwire and Ruby on Rails app — a beginners guide. | MONN blog

Hotwire is a (relatively) new part of Ruby on Rails that allows your Rails frontend to update live and in realtime — in many cases, totally replacing a frontend framework like React or Vue.

#Backend#Frontend#HOTWire#Ruby on Rails
Added: 12 Jun 2023
Really, Really, Really Don’t Interpolate Strings into Active Record Methods

It’s risky to expose your database to SQL Injections

#Backend#Ruby on Rails
Added: 12 Jun 2023
Let's Standardize Rails!

At RailsConf 2023, we conducted an experiment: could attendees do the hard work for us by voting on RuboCop rules so we could publish Standard Rails plugin?

#Backend#Ruby on Rails
Added: 12 Jun 2023

If you want to add images to a record but you don’t want to use a JavaScript plugin or write any custom JavaScript, you can use a regular file field, Active Storage, and vanilla Rails.

#Backend#Frontend#Ruby on Rails
Added: 12 Jun 2023
How to Use Enums in Rails

Ruby on Rails and ReactJS consulting company. We also build mobile applications using React Native

#Backend#Ruby on Rails
Added: 11 Jun 2023
7 Key Best Practices for Rails Internationalization

Get to know seven key best practices for Rails internationalization to organize your translation workflow better.

#Backend#Frontend#Ruby on Rails
Added: 7 Jun 2023
Standardize Not Caring About Standards

Is there anything more more long in the tooth than people arguing about standards? Yes - it’s people writing about people arguing about standards.

#Consulting
Added: 7 Jun 2023
5 tips for new Rails developers

5 tips for new Rails developers to be more productive and confident.

#Ruby#Ruby on Rails
Added: 7 Jun 2023
Are you absolutely sure your `has_one` association really has one association?

Learn about an unexpected limitation with this API and how to combat it universally.

#Backend#Ruby on Rails
Added: 5 Jun 2023
How To Criticize Coworkers

I originally wrote this as a doc, and did a talk w/ slides in Fall 2020 at Convoy. This is very focused on how to work in a software engineering team (surprise! that’s most of what I know about!) but I’ve had friends say they’ve shown this to their partners,...

#Soft Skills
Added: 3 Jun 2023
How Notion builds product

Chief Product and Technology Officer Michael Manapat on Notion’s evolving internal processes, product reviews, planning cadences, and increasing shift to synchronous communication

#Consulting
Added: 2 Jun 2023
How I manage my git history | Binary Solo

I'm generally a rather pedantic person and this is supercharged when it comes to managing the git history on my projects. I used GitHub's squash and merge for a while before Chris Moore taught me a few tricks. I'm not a fan of squash and merge because it squashes an entire Pull Request into a single commit, no matter how large it is. This means that rather large changes could live under a single commit. I believe the commit history should tell a linear story, as pretentious as that might...

#Tools
Added: 2 Jun 2023
Rails 7.1 AR adds normalizes API for attribute values

Rails 7.1 adds ActiveRecord::Base::normalizes API to normalize attribute values to a common format before saving them to the database.

#Backend#Ruby on Rails
Added: 2 Jun 2023
The Gateway Pattern

Use gateway classes to organize external API integrations and establish a clearer separation of concerns.

#Backend#Ruby on Rails
Added: 2 Jun 2023
Advanced Form Control Styling With Selectmenu And Anchoring API — Smashing Magazine

Thanks to the Open UI working community group, there’s a new element on the horizon, <selectmenu>, that will make styling this type of form control a whole lot better. You’re going to walk through an early implementation of this new experimental element by creating a pattern that you would never have thought possible with CSS alone — a radial selection menu.

#CSS#Frontend
Added: 1 Jun 2023
Sophisticated, Simple, and Affordable Background Workers

How to design a queueing system to manage complex background jobs

#Backend#Ruby#Ruby on Rails
Added: 31 May 2023
Introduction to Rails Engines - FastRuby.io | Rails Upgrade Service

An intro to Rails Engines are an architectural pattern that can be used to modularize or pack a Rails application. An article about this powerful feature in Rails.

#Ruby on Rails
Added: 30 May 2023

If you want to add many attachments to a record using just a file field, but you don’t want to remove the previous images from the record on every update, like in the following code:

#Backend#Frontend#Ruby on Rails
Added: 30 May 2023
Infer name with link_to - Rails Tricks Issue 8

Hi, this week I want to tell you about an improvement coming in Rails 7.1. When you are using the link_to helper, it can infer the URL from the object you are passing to it as the second parameter:

#Frontend#Ruby on Rails
Added: 30 May 2023
A comprehensive guide to the anonymous functions

This article is a deep dive into blocks, procs, and lambdas that will help you to understand how these functions differ from each other.

#Ruby
Added: 30 May 2023
How-To Add Recommendations to a Rails App with pgvector and OpenAI

Creating recommendations with pgvector, ruby-openai, and the neighbor gem.

#Backend#Ruby#Ruby on Rails
Added: 30 May 2023
Manage Your Ruby Logs Like a Pro | AppSignal Blog

Discover the ins and outs of logging in Ruby, including how to customize your logs and use logging libraries like Lograge.

#Ruby#Ruby on Rails#Tools
Added: 30 May 2023
Why an Engineering Manager Should Not Review Code

When discussing team organization, I am often asked: “Why don’t you have the tech lead manage the team?” My response is to hiss like a…

#Consulting#Soft Skills
Added: 30 May 2023
Avoid Putting Logic in Map Blocks

The contents of a <code>map</code> block should probably be an instance method on each item.

#Backend#Ruby
Added: 29 May 2023
First Previous Next Last