Good talk by Matt Wynne on building rails apps with a ports-and-adapters or hexagonal architecture introducing a separation between your application’s domain logic and the Rails framework.