# Rails as a piece of birthday cake

> Ruby on Rails as a framework follows the Model-View-Controller design pattern. Three core elements, like the number of layers in a traditional birthday cake, are enough to “cook” web applications. However, on the long haul, the Rails cake often resembles a crumble cake with the layers smeared and crumb-bugs all around the kitchen-codebase.

- URL: https://evilmartians.com/events/rails-as-a-piece-of-birthday-cake
- Date: 2023-04-24T00:00:00.000Z
- Conference: RailsConf
- City: Atlanta, Georgia, United States
- Speakers: Vladimir Dementyev
- Event website: https://railsconf.org/
- Video: https://www.youtube.com/watch?v=fANjY7Hn_ig
- Slides: https://speakerdeck.com/player/7f70dd95980b465e9f880122fa626073

---

How to extract from, or add new layers to a Rails application? What considerations should be taken into account? Why is rainbow cake the king of layered cakes? Join my talk to learn about the layering Rails approach to keep applications healthy and maintainable.

Ruby on Rails, as a framework, follows the _Model-View-Controller_ design pattern. Three core elements, like the number of layers in a traditional birthday cake, are enough to “cook” web applications. However, in the long haul, the Rails "cake" more often resembles a crumble cake with layers smeared and crumbs (bugs) scattered all around the kitchen (codebase).

Similarly to birthday cakes, as the application grows, adding new layers is easier to do than increasing the existing layers in size.

How to extract from, or add new layers to a Rails application? What considerations should be taken into account? Why is rainbow cake the king of layered cakes? Join my talk to learn about the _Layering Rails_ approach to keep applications healthy and maintainable.

*Image: Vladimir speaking at RailsConf 2023*

*Image: A special guest*

*Image: The Cake*
