Developing in Rails via Docker
A guide to setting up a Ruby on Rails development environment using Docker, allowing commands to be run without installing tools locally.
A guide to setting up a Ruby on Rails development environment using Docker, allowing commands to be run without installing tools locally.
A developer explains how fixing the Content-Type header from application/atom+xml to text/xml enabled XSLT styling for RSS/Atom feeds.
A comprehensive 2021 chart categorizing backend web frameworks by language and architectural style (minimalist vs. robust).
Explores new experimental performance features in Puma 5, including a 'sleep sort' latency reduction technique for Ruby web servers.
DEV upgraded its frontend infrastructure from Webpacker 3/Babel 6 to Webpacker 4/Babel 7, enabling faster builds and new tooling.
Explains why premature optimization in programming is inefficient, using the Pareto Principle and power laws to argue for data-driven performance improvements.
An overview of dev.to's frontend architecture, covering its vanilla JS codebase and modern Preact components managed with webpacker.
Identifies three common ActiveRecord usage mistakes in Rails that cause unnecessary SQL queries and slow down application performance.
Tips for improving Rails development performance in Vagrant by addressing logging and filesystem bottlenecks.
A 2014 review of 'Advanced Rails' by Brad Ediger, concluding the book is outdated and not recommended for modern development.
Explores using Policy objects and Extractors in Rails to handle multi-provider OAuth authentication cleanly, moving beyond CanCan/Pundit for authorization.
A developer shares progress on an iOS app using CoreData and a Rails Twitter app, discussing tools and testing practices.
A response to DHH's blog on opinionated software, discussing the value of maintainer decisions in open-source frameworks like Rails and Requests.
A developer shares a cleaner method for defining user authorization roles using the CanCan gem in Ruby on Rails.
A beginner's guide to installing and using RVM (Ruby Version Manager) for managing Ruby versions and gemsets in Rails development.
Explains a common Ruby on Rails syntax error (missing comma) and discusses Ruby's optional parentheses for method arguments.
A beginner's guide to understanding and fixing the NoMethodError in Ruby on Rails 3, explaining its common causes.