Posts tagged with rails

on ActiveRecord callbacks, setters and derived data
Safely migrating has_and_belongs_to_many associations to Rails 4
Make your JSON API tests clean with linter
Two ways for testing preloading/eager-loading of ActiveRecord associations in Rails
How to overwrite to_json (as_json) in Active Record models in Rails
Composable RSpec matchers
All the ways to generate routing paths in Rails
Custom application configuration variables in Rails 4 and 5
How to setup development work with RailsEventStore and mutant
How to find records where column is not null or empty in Rails 4 or 5
DATABASE_URL examples for Rails DB connection strings
Why we follow the Rails repo structure in Rails Event Store
How to connect to and use ActiveRecord outside of Rails?
My fruitless, previous attempts at not losing history of changes in Rails apps
How to add a default value to an existing column in a Rails migration
Can you use Rails for complex apps?
How to safely store API keys in Rails apps
Test critical paths in your app with ease thanks to Dependency Injection
Testing cookies in Rails
Prototypes in Ruby and the strange story of dup
respond_to |format| is useful even without multiple formats
Always present association
See how we create books. Live
One more step to DDD in a legacy rails app
The story behind our Rails TDD & DDD video class
Domain Events over Active Record Callbacks
Custom type-casting with ActiveRecord, Virtus and dry-types
2 years after the first event - The Saga Pattern
Creating new content types in Rails 4.2
The smart way to check health of a Rails app
How and why should you use JSON API in your Rails API?
How RSpec helped me with resolving random spec failures
Stable Circle CI builds with PhantomJS for larger Rails-backed frontend apps
In-Memory Fake Adapters
Monitoring services and adapters in your Rails app with Honeybadger, NewRelic and #prepend
A Simple feature toggle for a Rails app
Run it in a background job, after a commit, from a service object
Advantages of working on a legacy application
Sanitizing html input: youtube iframes, css inline styles and customization
Testing race conditions in your Rails app
Three most telling files in legacy Rails apps
Thanks to repositories...
How to store emoji in a Rails app with a MySQL database
On my radar: RethinkDB + React.js + Rails
Bring CommonJS to your asset pipeline
Rails meets React.js is out: What you can find inside?
Use your gettext translations in your React components
How to split routes.rb into smaller parts?
My favorite ActiveSupport features
upgrade capybara-webkit to 1.4 and save your time
Don't forget about eager_load when extending autoload paths
Instantiating Service Objects
Adapters 101
4 ways to early return from a rails controller
Service objects as a way of testing Rails apps (without factory_girl)
Mastering Rails Validations - Objectify
Mastering Rails Validations: Contexts
The biggest obstacle to start with Continuous Deployment - database migrations
Zero uptime deploy
Don't call controller from background job, please. Do it differently!
Sitemaps with a bit of Metal
Rails Refactoring: the aha! moments
Pretty, short urls for every route in your Rails app
Rails and SOA: Do I really need to have this big app?
3 ways to do eager loading (preloading) in Rails 3 & 4 & 5
Services - what are they and why we need them?
Single Table Inheritance - Problems and solutions
How to track ActiveRecord model statistics
Rails API - my simple approach
Sending async data from Rails into the world (II)
Sending async data from Rails into the world
Filepicker and Aviary - Image uploading on steroids
Refactoring controllers and introducing Service Objects