✕ Clear all filters
29 articles
▶ Videos →

📰 Dev.to · Augusts Bautra

29 articles · Updated every 3 hours · View all reads

All Articles 130,816Blog Posts 135,899Tech Tutorials 33,887Research Papers 25,445News 18,593 ⚡ AI Lessons
TIL: Template Strict Locals (TSL)
Dev.to · Augusts Bautra 5mo ago
TIL: Template Strict Locals (TSL)
Specify what local variables a partial needs
TIL: Blazing-fast correlated exists queries
Dev.to · Augusts Bautra 6mo ago
TIL: Blazing-fast correlated exists queries
Find records with at least one of some association quickly
The Secret of Minimum Coverage
Dev.to · Augusts Bautra 7mo ago
The Secret of Minimum Coverage
It has to be high
TIL: Inspect Rails app routes from info panel
Dev.to · Augusts Bautra 7mo ago
TIL: Inspect Rails app routes from info panel
I usually run $ rails routes | grep ... from console, but today I had to find a pesky excess route...
TIL: define custom flash types in Rails
Dev.to · Augusts Bautra 9mo ago
TIL: define custom flash types in Rails
Add :warning flash type for Rails
TIL: DB constraints for column values in Rails
Dev.to · Augusts Bautra 9mo ago
TIL: DB constraints for column values in Rails
#add_check_constraint for data integrity
TIL Deferred Unique Constraint VS Unique Index
Dev.to · Augusts Bautra ⚡ AI Lesson 11mo ago
TIL Deferred Unique Constraint VS Unique Index
Sole the musical chair problem with a deferred constraint
Custom `RoutingError` handling in Rails
Dev.to · Augusts Bautra 🔧 Backend Engineering ⚡ AI Lesson 1y ago
Custom `RoutingError` handling in Rails
Custom handling of `ActionController::RoutingError` in Rails
What happens when OOP meets Real World™
Dev.to · Augusts Bautra 1y ago
What happens when OOP meets Real World™
Thoughts on OOP software design
Recognizing Actor Boundaries Through Domain-Driven Design: Lessons from a Shared WorkLog
Dev.to · Augusts Bautra 🏗️ Systems Design & Architecture ⚡ AI Lesson 1y ago
Recognizing Actor Boundaries Through Domain-Driven Design: Lessons from a Shared WorkLog
When designing business-critical systems in Rails, we often begin with clear and concrete concepts. A...
RESTful CRUD Everything
Dev.to · Augusts Bautra 1y ago
RESTful CRUD Everything
"Cruddy by Design" by Adam Wathan https://www.youtube.com/watch?v=MF0jFKvS4SI "In Relentless Pursuit...
Simple way to deal with race conditions in Rails
Dev.to · Augusts Bautra 1y ago
Simple way to deal with race conditions in Rails
Make first_or_create! safe by default
Querying Rails Active Storage Data
Dev.to · Augusts Bautra 1y ago
Querying Rails Active Storage Data
Find records based on attachment data
Ad-hoc fields in AR queries
Dev.to · Augusts Bautra 1y ago
Ad-hoc fields in AR queries
Adding custom fields to Rails models
TIL .order_values
Dev.to · Augusts Bautra 1y ago
TIL .order_values
Inspec ordering applied to a collection
Buffer all the things
Dev.to · Augusts Bautra 1y ago
Buffer all the things
Save on overhead by grouping small operations
The 3 kinds of Enum in Rails
Dev.to · Augusts Bautra ⚡ AI Lesson 1y ago
The 3 kinds of Enum in Rails
Enums are a very useful concept. It's like a locked list of choices where only a few specific values...
TIL: joining with LIKE
Dev.to · Augusts Bautra 1y ago
TIL: joining with LIKE
Get qualifying records in a fuzzy way.
TIL `bundle outdated`
Dev.to · Augusts Bautra 📣 Digital Marketing & Growth ⚡ AI Lesson 1y ago
TIL `bundle outdated`
Use bundle outdated to get a list of outdated gems in your Gemfile. There will be some noise from...
Use `gem "oj"` for free JSON performance
Dev.to · Augusts Bautra 📣 Digital Marketing & Growth ⚡ AI Lesson 1y ago
Use `gem "oj"` for free JSON performance
You're probably generating JSON strings, or parsing them in your Rails app. Using gem "oj" can speed...