Articles
Topics
All Articles
Domain-Driven Design
Testing
Ruby on Rails
React JS
Async Remote
rails
The difference between Turbo Streams and Turbo Frames
Tomasz Stolarczyk
November 13, 2024
hotwire
turbo
rails
Smooth Ruby and Rails upgrades
Piotr Jurewicz
July 1, 2024
rails
ruby
ruby upgrade
rails upgrade
How to add index to a big table of your Rails app
Szymon Fiedler
June 13, 2024
rails
mysql
postgresql
How to use Hotwire Turbo Streams effectively?
Łukasz Reszke
May 29, 2024
hotwire
turbo
rails
Replace aasm with Rails Enum today
Szymon Fiedler
March 29, 2024
rails
rails upgrade
active record
Do you tune out Ruby deprecation warnings?
Piotr Jurewicz
March 26, 2024
rails
ruby
ruby upgrade
rails upgrade
How to add a loading animation to your turbo frame with TailwindCSS
Maciek Korsan
March 14, 2024
hotwire
rails
css
Upcasting events in RailsEventStore
Łukasz Reszke
February 12, 2024
rails
domain-driven design
Completely custom Zeitwerk inflector
Piotr Jurewicz
February 6, 2024
rails
zeitwerk
autoload
The mysterious litany of require_dependecy calls
Piotr Jurewicz
February 5, 2024
rails
rails upgrade
zeitwerk
autoload
Repository implementation on ActiveRecord
Paweł Pacana
December 28, 2023
rails
Few static analysis tricks to bulletproof your application
Piotr Jurewicz
April 28, 2023
rails
ruby
static analysis
The most important boundary in your app
Piotr Jurewicz
April 17, 2023
rails
rails upgrade
framework
Tracking down not resolving constants in Ruby with parser
Piotr Jurewicz
March 2, 2023
rails
ruby
ruby upgrade
parser
ast
static analysis
Sometimes it's worth to test your framework features
Szymon Fiedler
November 21, 2022
rails
mysql
postgresql
Take advantage of Turbo Streams in event handlers
Piotr Jurewicz
November 18, 2022
hotwire
turbo
rails
architecture
How we got struck by 5–year–old implementation
Szymon Fiedler
November 15, 2022
rails
ruby
postgresql
Be careful with turbo and view components
Tomasz Patrzek
November 14, 2022
hotwire
rails
Keep your team up to date on production data changes
Piotr Jurewicz
May 18, 2022
rails
slack
team
communication
Don't waste your time on assets compilation on Heroku
Szymon Fiedler
February 23, 2022
rails
heroku
assets
sprockets
A lesser known capability of Ruby's JSON.parse
Szymon Fiedler
October 23, 2021
rails
ruby
json
Decorate your runner session like a pro
Jakub Kosiński
April 28, 2021
rails
Rails console trick I had no idea about
Paweł Pacana
April 28, 2021
rails
Zeitwerk-based autoload and workarounds for single-file-many-classes problem
Paweł Pacana
April 22, 2021
rails
zeitwerk
autoload
Explaining Rack — desugaring Rack::Builder DSL
Paweł Pacana
April 22, 2021
rails
ruby
rack
5days5blogposts
Rack apps mounted in Rails — how to protect access to them?
Paweł Pacana
April 21, 2021
rails
rack
5days5blogposts
'render' is not your final word in your Rails controller's action
Jakub Kosiński
April 16, 2021
rails
Use ActiveAdmin like a boss
Szymon Fiedler
March 19, 2021
rails
domain-driven design
read model
legacy
Painless Rails upgrades
Szymon Fiedler
July 3, 2020
rails
rails upgrade
Rails multiple databases support in Rails Event Store
Mirosław Pragłowski
June 17, 2020
rails
rails event store
Rails connections, pools and handlers
Tomasz Wróbel
April 10, 2020
rails
A scary side of ActiveRecord's find
Jakub Kosiński
March 19, 2019
rails
active record
I was a CRUDoholic
Andrzej Krzywda
November 20, 2018
rails
domain-driven design
Image Placeholder for your development environment
Szymon Fiedler
November 13, 2018
rails
rack
middleware
Doing more on reads vs writes
Robert Pankowecki
July 13, 2018
rails
ruby
Using singleton objects as default arguments in Ruby
Robert Pankowecki
April 23, 2018
rails
ruby
Ruby Event Store - use without Rails
Robert Pankowecki
March 27, 2018
rails
ruby
domain-driven design
rails event store
How to use Algolia without coupling to ActiveRecord::Base
Robert Pankowecki
February 28, 2018
rails
react
search
algolia
Your search index is a read model (and API 😉) in the Searching bounded context
Robert Pankowecki
February 23, 2018
rails
react
search
algolia
How Algolia built their frontend search widgets with React.js by following redux principles
Robert Pankowecki
February 21, 2018
rails
react
search
algolia
The anatomy of search pages
Robert Pankowecki
February 19, 2018
rails
react
search
algolia
Building custom search is hard and boring
Robert Pankowecki
February 14, 2018
rails
react
search
algolia
Testing React.js components with Jest in Rails+Webpacker+Webpack environment
Robert Pankowecki
February 11, 2018
rails
webpack
react
Using ruby parser and AST tree to find deprecated syntax
Robert Pankowecki
December 22, 2017
rails
ruby
rails upgrade
parser
ast
On ActiveRecord callbacks, setters and derived data
Robert Pankowecki
December 13, 2017
rails
ruby
active record
domain-driven design
Safely migrating hasandbelongstomany associations to Rails 4
Robert Pankowecki
November 17, 2017
rails
active record
Make your JSON API tests clean with linter
Szymon Fiedler
October 30, 2017
rails
testing
json
api
Two ways for testing preloading/eager-loading of ActiveRecord associations in Rails
Robert Pankowecki
October 16, 2017
rails
active record
testing
How to overwrite tojson (asjson) in Active Record models in Rails
Robert Pankowecki
September 26, 2017
rails
active record
Composable RSpec matchers
Szymon Fiedler
September 18, 2017
rails
rails event store
rspec
All the ways to generate routing paths in Rails
Robert Pankowecki
September 18, 2017
rails
routing
Custom application configuration variables in Rails 4 and 5
Robert Pankowecki
September 16, 2017
rails
How to setup development work with RailsEventStore and mutant
Szymon Fiedler
September 6, 2017
rails
domain-driven design
rails event store
mutation testing
How to find records where column is not null or empty in Rails 4 or 5
Robert Pankowecki
September 4, 2017
rails
active record
DATABASE_URL examples for Rails DB connection strings
Robert Pankowecki
August 31, 2017
rails
Why we follow the Rails repo structure in Rails Event Store
Paweł Pacana
August 30, 2017
rails
rails event store
How to connect to and use ActiveRecord outside of Rails?
Robert Pankowecki
August 19, 2017
rails
ruby
active record
What I learned from reading spreadsheet_architect code
Robert Pankowecki
August 18, 2017
rails
My fruitless, previous attempts at not losing history of changes in Rails apps
Robert Pankowecki
August 7, 2017
rails
domain-driven design
How to add a default value to an existing column in a Rails migration
Robert Pankowecki
August 3, 2017
rails
active record
migration
How to quickly add graphs and charts to Rails app
Robert Pankowecki
July 20, 2017
rails
How to safely store API keys in Rails apps
Robert Pankowecki
July 14, 2017
rails
api
security
Test critical paths in your app with ease thanks to Dependency Injection
Szymon Fiedler
June 7, 2017
rails
testing
rspec
Testing cookies in Rails
Rafał Łasocha
June 2, 2017
rails
testing
Handling SVG images with Refile and Imgix
Robert Pankowecki
June 1, 2017
rails
All Rails service objects as one Ruby class
Andrzej Krzywda
April 9, 2017
rails
domain-driven design
video
service objects
Prototypes in Ruby and the strange story of dup
Robert Pankowecki
March 7, 2017
rails
ruby
A potential problem with PStore and Rails
Andrzej Krzywda
February 6, 2017
rails
Safer Rails database migrations with Soundcloud's Large Hadron Migrator
Robert Pankowecki
December 23, 2016
rails
active record
migration
The esthetics of a Ruby service object
Andrzej Krzywda
October 23, 2016
rails
ruby
service objects
Phases of refactoring complex Rails apps
Marcin Grzywaczewski
July 25, 2016
rails
refactoring
Two dimensions of a Rails developer's growth
Andrzej Krzywda
July 22, 2016
rails
architecture
respond_to |format| is useful even without multiple formats
Robert Pankowecki
July 21, 2016
rails
The quotes from the Post Rails Book Bundle books
Andrzej Krzywda
July 20, 2016
rails
book
Always present association
Robert Pankowecki
July 12, 2016
rails
active record
API of the future
Marcin Grzywaczewski
June 24, 2016
rails
react
api
Rails Refactoring Podcast #6 - Frontend Friendly Rails
Wiktor Mociun
June 24, 2016
rails
refactoring
Use ES2015 with Rails today - what & how
Marcin Grzywaczewski
June 15, 2016
rails
react
Is Rails a good fit for writing rich frontend applications?
Marcin Grzywaczewski
June 15, 2016
rails
api
See how we create books. Live
Wiktor Mociun
June 10, 2016
rails
react
front end
One more step to DDD in a legacy rails app
Szymon Fiedler
May 21, 2016
rails
active record
domain-driven design
migration
The story behind our Rails TDD & DDD video class
Andrzej Krzywda
May 20, 2016
rails
domain-driven design
mutation testing
test-driven development
video class
Domain Events over Active Record Callbacks
Robert Pankowecki
May 13, 2016
rails
active record
domain-driven design
domain event
Custom type-casting with ActiveRecord, Virtus and dry-types
Robert Pankowecki
March 20, 2016
rails
active record
Creating new content types in Rails 4.2
Marcin Grzywaczewski
March 13, 2016
rails
jsonapi
The smart way to check health of a Rails app
Szymon Fiedler
February 26, 2016
rails
How and why should you use JSON API in your Rails API?
Marcin Grzywaczewski
February 23, 2016
rails
api
jsonapi
Rails: MVP vs prototype
Andrzej Krzywda
February 12, 2016
rails
How RSpec helped me with resolving random spec failures
Szymon Fiedler
February 12, 2016
rails
testing
rspec
Where and why I'm still using Rails
Andrzej Krzywda
February 9, 2016
rails
Drop this before validation and just use a setter method
Robert Pankowecki
January 29, 2016
rails
ruby
validations
aspect-oriented programming
Stable Circle CI builds with PhantomJS for larger Rails-backed frontend apps
Marcin Domański
December 14, 2015
rails
react
A single Rails API endpoint to accept all changes to the app state
Andrzej Krzywda
December 6, 2015
rails
commands
cqrs
In-Memory Fake Adapters
Robert Pankowecki
December 4, 2015
rails
adapters
Monitoring services and adapters in your Rails app with Honeybadger, NewRelic and #prepend
Robert Pankowecki
November 28, 2015
rails
honeybadger
prepend
web application
A Simple feature toggle for a Rails app
Szymon Fiedler
November 22, 2015
rails
Arkency React.js resources
Andrzej Krzywda
November 21, 2015
rails
react
Run it in a background job, after a commit, from a service object
Robert Pankowecki
October 24, 2015
rails
active record
background job
Advantages of working on a legacy application
Robert Pankowecki
October 20, 2015
rails
legacy
Sanitizing html input: youtube iframes, css inline styles and customization
Robert Pankowecki
September 20, 2015
rails
security
html
Testing race conditions in your Rails app
Robert Pankowecki
September 4, 2015
rails
testing
How can Rails developers benefit from reading the Arkency books?
Andrzej Krzywda
September 3, 2015
rails
book
Three most telling files in legacy Rails apps
Marcin Grzywaczewski
August 17, 2015
rails
ruby
legacy
Thanks to repositories...
Piotr Macuk
June 11, 2015
rails
ruby
active record
domain-driven design
How to store emoji in a Rails app with a MySQL database
Jakub Kosiński
May 6, 2015
rails
mysql
Extract a service object using SimpleDelegator
Andrzej Krzywda
May 4, 2015
rails
refactoring
service objects
On my radar: RethinkDB + React.js + Rails
Robert Pankowecki
April 30, 2015
rails
react
Bring CommonJS to your asset pipeline
Jakub Kosiński
April 23, 2015
rails
javascript
assets
sprockets
Rails meets React.js is out: What you can find inside?
Marcin Grzywaczewski
April 15, 2015
rails
react
book
front end
Extract a service object in any framework
Andrzej Krzywda
March 2, 2015
rails
refactoring
service objects
Use your gettext translations in your React components
Jakub Kosiński
March 1, 2015
rails
react
How to split routes.rb into smaller parts?
Tomasz Rybczyński
February 27, 2015
rails
My favorite ActiveSupport features
Robert Pankowecki
February 25, 2015
rails
active support
Upgrade capybara-webkit to 1.4 and save your time
Robert Pankowecki
February 18, 2015
rails
The categories of validations
Robert Pankowecki
January 3, 2015
rails
validations
Beyond the Rails Way
Andrzej Krzywda
December 5, 2014
rails
Don't forget about eager_load when extending autoload paths
Robert Pankowecki
November 9, 2014
rails
autoload
code
Instantiating Service Objects
Robert Pankowecki
October 12, 2014
rails
ruby
service objects
Adapters 101
Robert Pankowecki
August 24, 2014
rails
ruby
adapters
4 ways to early return from a rails controller
Robert Pankowecki
July 15, 2014
rails
Service objects as a way of testing Rails apps (without factory_girl)
Robert Pankowecki
July 1, 2014
rails
testing
service objects
Mastering Rails Validations: Objectify
Robert Pankowecki
May 8, 2014
rails
active record
validations
context
active model
Mastering Rails Validations: Contexts
Robert Pankowecki
April 30, 2014
rails
active record
validations
context
active model
The biggest obstacle to start with Continuous Deployment - database migrations
Robert Pankowecki
April 13, 2014
rails
deployment
database
migration
Zero uptime deploy
Robert Pankowecki
April 1, 2014
rails
ruby
unicorn
Don't call controller from background job, please. Do it differently!
Robert Pankowecki
March 20, 2014
rails
background job
pdf
Sitemaps with a bit of Metal
Szymon Fiedler
February 13, 2014
rails
sitemap
Rails Refactoring: the aha! moments
Andrzej Krzywda
February 10, 2014
rails
refactoring
Pretty, short urls for every route in your Rails app
Robert Pankowecki
January 18, 2014
rails
routing
Rails and SOA: Do I really need to have this big app?
Marcin Grzywaczewski
December 26, 2013
rails
architecture
soa
service objects
3 ways to do eager loading (preloading) in Rails 3, 4, 5 and 6
Robert Pankowecki
December 8, 2013
rails
active record
Services - what are they and why we need them?
Marcin Grzywaczewski
September 26, 2013
rails
object-oriented programming
Testing client-side views in Rails apps
Jan Filipowski
September 2, 2013
rails
testing
test-driven development
coffeescript
Single Table Inheritance - Problems and solutions
Robert Pankowecki
July 27, 2013
rails
testing
inheritance
CoffeeScript tests for Rails apps
Jan Filipowski
July 26, 2013
rails
testing
test-driven development
coffeescript
How to track ActiveRecord model statistics
Jan Filipowski
June 5, 2013
rails
active record
Web is no longer request-reply
Robert Pankowecki
February 15, 2013
rails
Rails API - my simple approach
Robert Pankowecki
January 10, 2013
rails
api
Sending async data from Rails into the world (II)
Robert Pankowecki
November 11, 2012
rails
exceptions
threads
business metrics
Sending async data from Rails into the world
Robert Pankowecki
October 17, 2012
rails
exceptions
business metrics
Filepicker and Aviary - Image uploading on steroids
Robert Pankowecki
September 21, 2012
rails
coffeescript