Bring Focus to the First Form Field with an Error  ::  Aaron Gustafson

While filling out a long form the other day, I couldn’t figure out why it wasn’t submitting. Turns out I’d forgotten to fill in a field, but I didn’t know that because it had scrolled out of the viewport. This is a common problem on the web, but easily remedied with a little bit of JavaScript.

#Javascript
Added: 5 Sept 2022
13 tips to write better Rails code | Guillaume Briday

Writing clean code is the key for maintainable and sustainable code. Here's some of my favorite tips I could give you after many years working on Rails and Ruby.

#Ruby on Rails
Added: 4 Sept 2022
Data migrations with Rails

Data migration is a common part of working with databases, and Ruby on Rails developers have many...

#Ruby on Rails
Added: 3 Sept 2022
Ditching Active Record Callbacks

If you've done development on a Ruby on Rails application before you're probably familiar with Active Record callbacks. For those unfamiliar, they are ORM object life-cycle hooks. They allow the developer to run custom code when an object is created,...

#Ruby#Ruby on Rails
Added: 1 Sept 2022
Rails is Fast: Optimize Your View Performance | AppSignal Blog

You'll learn some effective performance and optimization techniques that you can use to speed up your Rails app.

#HOTWire#Ruby on Rails
Added: 30 Aug 2022
Stateless Forms with the Rails Attributes API

Building a form in Rails that ISN'T driven by an ActiveRecord model? Here's how to use the Attributes API to get all the convenience with none of the complexity.

#Ruby on Rails
Added: 30 Aug 2022
Using Rails Service Objects to Keep Code Clean

In this article, we’ll find out what are Rails Service Objects and how you can use them to make your app cleaner and keep it maintainable.

#Ruby on Rails
Added: 29 Aug 2022
Style Queries

Thoughts about front-end development and design. And probably other ramblings by Una Kravets.

#CSS
Added: 29 Aug 2022
Using Grid Named Areas to Visualize (and Reference) Your Layout | CSS-Tricks

Whenever we build simple or complex layouts using CSS Grid, we're usually positioning items with line numbers. Grid layouts contain grid lines that are

#CSS
Added: 27 Aug 2022
GitHub - derrickreimer/sequenced: Generate scoped sequential IDs for ActiveRecord models

Generate scoped sequential IDs for ActiveRecord models - GitHub - derrickreimer/sequenced: Generate scoped sequential IDs for ActiveRecord models

#Gem#Ruby
Added: 26 Aug 2022
Rails adds beginless range support to clusivity

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

#Ruby on Rails
Added: 26 Aug 2022
Effective Queries with Rails and PostgreSQL

Getting data *into* your database is easy, but querying large datasets is challenging—especially without the right indexes. Pavel Tkachenko teaches how to write performant SQL queries with EXPLAIN and ANALYZE.

#Ruby on Rails
Added: 25 Aug 2022
Debugging Ruby on Rails with Visual Studio Code

Rails 7 ships with the new debug gem, here's how to put it to work in VS Code for a delightfully native debugging experience

#Ruby#Ruby on Rails
Added: 25 Aug 2022
How to interrogate unfamiliar code

Readable code is great, but not all code will be immediately readable. That's when you get your interrogation tools.

#Consulting
Added: 25 Aug 2022
Terms and Concepts by Technically - Airtable

Explore the "Terms and Concepts by Technically" view on Airtable.

#Consulting
Added: 23 Aug 2022
addEventListener accepts functions and (!) objects

addEventListener accepts callback functions but also elements that implement the EventListener interface

#Javascript
Added: 23 Aug 2022
React vs. Ruby on Rails Components | Mix & Go

What is a Ruby on Rails Component, and how is it different than a Reac one?

#Ruby on Rails
Added: 19 Aug 2022
Introduction to Pattern Matching in Ruby

This article will introduce you to the basics of pattern matching in Ruby, a powerful new feature added in Ruby 2.7.

#Ruby
Added: 16 Aug 2022
Thinking in Hotwire: Progressive Enhancement

Your mental model for Hotwire should be progressive enhancement: start with the basics and layer on Turbo Frames, Streams, and Stimulus as you build more.

#HOTWire#Ruby on Rails
Added: 16 Aug 2022
Reduce ViewComponents complexity using helpers

Yesterday I figured out how to avoid a pattern that we’ve been doing in a project for some time which is sending the current_user in components through parameters to validate things based on who is watching. Example: # index.html.erb render ProductsComponent.new(current_user: current_user, products: @products) # products_component.rb c...

#Ruby on Rails
Added: 16 Aug 2022
Michelle Barker | Creative CSS Layout | CSS Day 2022

CSS layout has moved along in leaps and bounds in the past few years. Beyond flexbox and Grid, there is aspect-ratio, min, max and clamp functions, custom pr...

#CSS
Added: 14 Aug 2022
So You’re a (Junior) Developer – Here's How to Learn

The web is littered with advice for Junior, Mid, and up-and-coming Developers, and I’ve found a lot of it to be really helpful. The challenges for new develo...

#Ruby on Rails
Added: 14 Aug 2022
RailsConf 2022 - Leveling Up from Planning to Production by Thomas Countz

The biggest difference between a mid-level engineer and a senior engineer is the scale and scope of the work they're responsible for. How do you dive into co...

#Ruby on Rails#Soft Skills
Added: 14 Aug 2022
Bearer | The ultimate guide to securing data for Rails developers

Everything you need to know to secure your Ruby on Rails applications. From database connections to encryption. From a team of seasoned Rails devs.

#Ruby on Rails
Added: 14 Aug 2022
Rails 7.1 returns the Active Storage attachment(s) after saving the attachment

Rails 7 series | Rails 7.1 returns the Active Storage attachment(s) after saving the attachment

#Ruby on Rails
Added: 14 Aug 2022
First Previous Next Last