Rails Diagram How the rails stack works: models hang out with the db, controllers blast haml, js, css to user who initiates ajax. Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading... Related Author: Daniel X Heretic priest of the Machine God. I enjoy crawling around in Jeff Bezo's spaceship, bringing technology to the people, and long walks outside of time and space. View all posts by Daniel X