rails

Written On ·

State Design Pattern

100 Days to Offload Challenge This is post 6 as part of the #100DaysToOffload challenge. The point is to write 100 posts on a personal blog in a year. Quality isn't as important as quantity so some posts may be a little messy. Read other posts in this challenge. M…

Written On ·

Double Polymorphic Associations in Rails

100 Days to Offload Challenge This is post 5 as part of the #100DaysToOffload challenge. The point is to write 100 posts on a personal blog in a year. Quality isn't as important as quantity so some posts may be a little messy. Read other posts in this challenge. P…

Written On ·

Resolving client side routes in Rails

There's a quick and easy way to satisfy client side routing in a Rails application. Rails will automatically try to resolve it's routing on the server side and throw an immediate 404 if no valid pages exist. Since my main application at work is a React SPA I needed a way to resol…