This talk will tell how to use gems and self crafted modules to assemble a rails application suitable for frontend/backend separated development. It also can apply to traditional rails application. This talk focus on backend development and 9 kinds of application objects will be discussed.